Thanks for your feedback! Quick Navigation has landed in the main branch
apple:main
← sofiaromorales:sr/quick-navigation/ui
opened 04:15AM - 20 Jul 22 UTC
Bug/issue #, if applicable: NA
## Summary
UI for Quick Navigation feature … with keyboard navigation support
## Dependencies
NA
## Testing
Steps:
1. Set the `quickNavigation.enable` flag to true inside `theme-settings.json` in the swift project theming settings (https://www.swift.org/documentation/docc/customizing-the-appearance-of-your-documentation-pages)
2. Preview the documentation
3. Open the quick navigation modal component by clicking on the button inside the filter input, `/` key or `⌘ + shift + o`
4. Type something inside the input bar to trigger the fuzzy search
5. Assert that the symbols listed correspond to your input
6. Use arrow keys to move through the results list
7. Press `Enter` to access the symbol
Demo: https://sofiaromorales.github.io/SwiftDocC/documentation/swiftdocc
## Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
- [x] Added tests
- [x] Ran `npm test`, and it succeeded
- [ ] Updated documentation if necessary
Currently is under a feature flag, please try it out and let me know what you think of it - this is how you can enable it in your documentation Documentation
3 Likes