Skip to content
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

Add ToC filter #241

Merged
merged 8 commits into from
May 31, 2024
Merged

Add ToC filter #241

merged 8 commits into from
May 31, 2024

Conversation

iansk
Copy link
Collaborator

@iansk iansk commented May 29, 2024

Resurrect the ToC filter control in the sidenav (with fixes and tweaks).

Test URLs:

Ian added 8 commits May 21, 2024 02:50
- Show the TOC filter in the left nav.
- Fix the logic that filters topics.
Update the sidenav search-toc CSS to:

- Show the filter icon as a background image in the input box.
- Hide the background image when you start typing in the input box.
- Indent the placeholder text with padding so it doesn't overlap
  with the filter icon.
At this point, I've got two options:

- Implement a more complex filter control
- Implement a very simple filter control.

I want to implement both, test both, and then determine the best path forward.
Simple might be better for the mobile experience.
With the new filter control now taking up vertical space in the sidenav, tweak the value for max-height for .toc-books (the container that holds all the nav book/article links).
Copy link

aem-code-sync bot commented May 29, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@iansk iansk requested a review from maxakuru May 29, 2024 18:54
Copy link

aem-code-sync bot commented May 29, 2024

Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@iansk
Copy link
Collaborator Author

iansk commented May 29, 2024

@maxakuru Can you please review my PR? Thanks!

Copy link
Contributor

@maxakuru maxakuru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 lgtm

@iansk
Copy link
Collaborator Author

iansk commented May 31, 2024

@maxakuru Thanks for your review. Merging this now.

@iansk iansk merged commit 014ac9d into main May 31, 2024
2 checks passed
@iansk iansk deleted the ian/filter-nav branch May 31, 2024 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants