Idea detail
performance
reqlan rq/extension/local-context/activitybar.rq:195
Summary
Sidebar webviews share the same constraints as webview_threading.
- The HTML / Svelte shell paints before index discovery begins; the post-paint `ready` handshake starts indexing.
- Require the host-matching core engine at activate; do not embed a sql. js vendor in the activation-critical host bundle.
- Default neighbourhood slices; never load the full workspace graph into a pane.
- Debounce editor selection and cursor events before rebuilding slices.
- Lazy-mount cytoscape only for visible sub-panes; destroy when collapsed or hidden.
- Reuse local_graph_analysis and graph query builders rather than ad-hoc index walks in the webview.
- Interactive actions ( `openIdea`, insert ref, add to chat, phonebook / Ideas Summary links ) are handled on a priority path: they cancel in-flight search / refresh work and briefly quiet editor-driven rebuilds so subsequent clicks stay snappy.
- Idea search scoring runs in a worker thread with a preloaded catalog; catalog load yields so it cannot monopolize the host.
- Link navigation must stay snappy once a target is already resolved: link_open_decoupled_from_git, link_open_interactive_quiet, lean_resolved_open, git_focus_cache_by_head.
Navigation
Attributes
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…