feat(reader): add local link wander - #28
Open
oldwinter wants to merge 1 commit into
Open
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
❌ Deploy Preview for aquamarine-salamander-b041fe failed. Why did it fail? →
|
Owner
Author
|
Blocking standards finding at exact head Unblock action: reject computed-hidden links including hidden ancestors and add executable visibility/lifecycle/keyboard tests before merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Built a localized "follow a link from this note" reader action that randomly selects only visible, published internal links authored in the current article. It feels worth merging because it turns the garden's link graph into a one-click contextual walk: readers keep following the thread they are already on instead of jumping randomly across the whole collection, while broken links and unsafe destinations never become dead ends.
Verification
npx tsx --test quartz/components/scripts/localLinkWander.test.ts quartz/plugins/emitters/componentResources.test.ts(15/15 passed)npx tsc --noEmitgit diff --checknpx quartz build(314 inputs, 1912 outputs)npm test(238/239 passed; the only failure is the existing undeclaredjsdomimport inlocal-plugins/theme-switcher/test/themeSwitcherScript.test.ts)renderevents, focus-visible, dark mode, reduced motion, and viewport containment with zero browser errorsImpact
Rollback
Revert commit
8ca225f4to remove the action, its resource registration, labels, tests, styles, and design contract without data migration or persistent-state cleanup.