Repository navigation
feat(html): remember community sidebar order - #5624
azizur100389 wants to merge 1 commit into
Conversation
Refs Graphify-Labs#568. Co-Authored-By: Codex <[email protected]>
|
Thanks for the pull request, @azizur100389. A maintainer will review it soon. Want to talk it through while it is in review? Come join us on our Discord server. For longer-form discussion there is also GitHub Discussions. A couple of things that speed up review: make sure the test suite passes on Python 3.11 and 3.13, and that the change keeps extraction deterministic. |
There was a problem hiding this comment.
Graphify review 
6 possible issues to check · High impact
6 possible issues we couldn't confirm
- Saved sidebar order is keyed by community number, so after a rebuild it can put the wrong communities at the top ·
graphify/exporters/html.py:179 - Legend ordering script is inlined into a script tag without the
<escaping used for the metadata, so a</script>in it would break the w ·graphify/exporters/html_large.py:1330 - Saved sidebar order is keyed only by community number, so it may carry over to unrelated graphs opened in the same browser ·
graphify/exporters/html_large.py:1149 - +3 more in Graphify
They don't change the score.
Code graph · 866 functions depend on this change
- 8 of 658 test files are affected by this change.
- Gate, test list and every flagged function: in the Graphify check.
Reviewed 1566153
Extractor accuracy (Swift #5641, Apex #5627, Python #5647, TypeScript #5604/#5614/#5612, Bash caller-var #5602), GitHub Actions run-step extraction (#5603), incremental correctness (#5634/#5638/#5636), symlink and semantic-cache fixes (#5617/#5618), export/report hardening and perf (#5643/#5644/#5645/#5646/#5619/#5620/#5621), and CLI/docs/skill/install work (#5629/#5628/#5626/#5624/#5623/#5625/#5642/#5583). AST cache schema 59 to 60; Swift/Apex/Python/Bash/GHA inputs re-extract on first build. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Landed in v0.9.124 (just released to PyPI), cherry-picked with your authorship preserved so it shows under your name in the history. Thanks @azizur100389 for the community legend remembering its order — verified green in the full suite and, where applicable, smoke-tested against the published package. 🙏 |
Closes #568.
Drag the handle beside a community or focus it and use the arrow keys. Both HTML renderers restore the order for the same page path. Added communities follow saved ones. Reordering moves existing rows, preserving their checked state.
Verification
Both renderer regressions failed on clean
v8. All 104 HTML, theme and export tests passed on Windows. A headless Edge run verified drag-and-drop, restoring saved order, keyboard movement and checkbox state. Ruff and pre-commit passed. Full CI runs on Python 3.11–3.14.Full upstream CI passed all seven jobs at 1566153, including the parallel and serial suites on Python 3.11 through 3.14.