pf_app
Perspective's auto-pause is on by default, and pausing deletes the view: AutoPauseState::apply() fires on the viewer's own IntersectionObserver and on the document's visibilitychange, and set_pause(true) does view_sub.take().delete(). Coming back is therefore not a redraw but restore_and_render() -- a fresh view and a fresh traversal of the whole grain -- which is the multi-second chug on every tab switch, and takes any per-node expansion with it. Nothing updates the table while the tab is hidden; every operation is driven from this page. So the pause bought nothing and cost a rebuild. Also drops a comment that still described the old set_depth re-apply on refocus, whose machinery is long gone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| lib | ||
| public | ||
| routes | ||
| setup_sql | ||
| ui | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| install.sh | ||
| package-lock.json | ||
| package.json | ||
| PERSPECTIVE.md | ||
| pf_perspective_options.md | ||
| pf_spec.md | ||
| pf.sh | ||
| server.js | ||