-
Notifications
You must be signed in to change notification settings - Fork 65
[GSoC] Quick navigation algorithm #372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GSoC] Quick navigation algorithm #372
Conversation
…tion * Introduced a new component "QuickNavigationModal" that serves as UI for the new searching functionality. * New regex pattern to match symbol titles by fuzzy and string match. * Data store to control the Quick navigation modal from anywhere on the app without having to pass the data through multiple child compoents. This change is under the quickNavigation feature flag.
…rance of a character
…fiaromorales/swift-docc-render into sr/quick-navigation/algorithm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Sofía!
Great work on your first PR for Quick Navigation 👏
I reviewed your PR and added refactor suggestions to it.
Have a nice weekend!
* Refactor of match highlighter for Safari support using `QuickNavigationHighlighter` component * Code quality improvements suggested on pr review
Thanks for the review Marina! I addressed all the requested changes :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added new comments, thanks Sofía!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the feedback, @sofiaromorales .
It looks very very good! Congrats on the great work 👏
@marinaaisa there's anything else needed to merge this pr? |
@swift-ci test |
Requesting @franklinsch final look at 😄 but it looks great to me! |
@sofiaromorales the demo you showed me looked great! If we're happy with the code, this is good to merge (with the feature flag off by default) |
@swift-ci test |
Bug/issue #, if applicable: NA
Summary
Algorithm and basic Vue components for the new Quick navigation feature. Changes introduced under the
quickNavigation
flag.QuickNavigationModal
componentThis pr intends to have the algorithm and base components structure for the Quick navigation feature, any other change related to the UI is for testing purposes and will be refactored in upcoming pull requests :)
First pr as part of my GSoC project mentored by @marinaaisa @franklinsch and @ bea
Dependencies
NA
Testing
Steps:
quickNavigation.enable
flag to true insidetheme-settings.json
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
npm test
, and it succeeded