{"id":18950039,"url":"https://github.com/salesforce/refocus-lens-tree","last_synced_at":"2025-04-15T23:31:39.542Z","repository":{"id":66001715,"uuid":"75877913","full_name":"salesforce/refocus-lens-tree","owner":"salesforce","description":"This is a tree lens for Refocus","archived":false,"fork":false,"pushed_at":"2021-10-12T18:49:38.000Z","size":499,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-04-08T00:13:16.336Z","etag":null,"topics":["refocus"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salesforce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null}},"created_at":"2016-12-07T21:38:58.000Z","updated_at":"2021-10-19T19:15:51.000Z","dependencies_parsed_at":"2023-02-23T03:15:31.690Z","dependency_job_id":null,"html_url":"https://github.com/salesforce/refocus-lens-tree","commit_stats":{"total_commits":7,"total_committers":4,"mean_commits":1.75,"dds":0.5714285714285714,"last_synced_commit":"caaad99df9f65a5f1e33d1bc29211d24e8ad9b92"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Frefocus-lens-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Frefocus-lens-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Frefocus-lens-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforce%2Frefocus-lens-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salesforce","download_url":"https://codeload.github.com/salesforce/refocus-lens-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223689737,"owners_count":17186488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["refocus"],"created_at":"2024-11-08T13:20:23.803Z","updated_at":"2024-11-08T13:20:24.550Z","avatar_url":"https://github.com/salesforce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# refocus-lens-tree\n\nNote: This repository is infrequently maintained.\n\n## CollapsibleTree\n\nA collapsible and searchable tree. NOT REALTIME--refresh the page for current status. Useful for browsing the hierarchy.\n\n![Sample](/sample.png)\n\n### Setup\n\n1. Git clone this repo.\n\n        git clone https://github.com/salesforce/refocus-lens-tree\n\n1. Install the Refocus Lens Developer Kit.\n\n        git clone https://github.com/salesforce/refocus-ldk\n        cd refocus-ldk\n        npm install\n\n1. Copy this lens into your `refocus-ldk/Lenses` directory.\n\n        cp -r ../refocus-lens-tree/CollapsibleTree Lenses\n\n1. Configure the Refocus LDK.\n\n        npm config set refocus-ldk:lens CollapsibleTree\n\n### Test\n\nRun the Refocus LDK's `test` script to run all the tests under `refocus-ldk/Lenses/CollapsibleTree/test`.\n\n```\nnpm run test\n```\n\n### Build\n\nRun the Refocus LDK's `build` script to generate the lens library (`refocus-ldk/dist/CollapsibleTree.zip`).\n\n```\nnpm run build\n```\n\n### Deploy\n\nUse the Refocus UI or API (`/v1/lenses`) to deploy the lens.\n\n# TODO\n1. handle refocus.lens.realtime.* events\n1. search enhancement to boost exact name match\n1. misc\n  1. add legend\n  1. swap in a stronger \"OK\" color\n  1. flesh out the content in the \"details\" panel\n  1. add \"loaded on ...\" message\n  1. if a node has only one child, auto-expand the child when you expand the node\n  1. if a node has only one descendent in a non-good state, auto-expand to that descendent when you expand the node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforce%2Frefocus-lens-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalesforce%2Frefocus-lens-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforce%2Frefocus-lens-tree/lists"}