fix(browser): repair live wiki sorting and graph alignment #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/live-browser-alignment-and-date-sorts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root cause
gray-matterparses bare YAML dates asDateobjects; the wiki sorter expected strings and crashed onlocaleComparewhen the live wiki used realcreated:datesfactStore.facts[0], first slug key), while the list panes render filtered/sorted records; the graph and detail panes could therefore point at hidden records like_meta/README.md, making the mobile graph appear empty even when the visible list item had relationshipsmatchMedia()during the initial client render, which differed from the server-rendered desktop defaults and could trigger mobile hydration mismatchesTesting
Self-review:
_meta/README.md.lint,typecheck,test,build) plus live Playwright smoke on the updated production build.