website icon indicating copy to clipboard operation
website copied to clipboard

feat: implemented "Jump to Section" menu for Tooling page

Open AnujAga2005 opened this issue 9 months ago • 25 comments

What kind of change does this PR introduce?

Feature (UX Improvement)

Issue Number:

  • Closes #2104

Screenshots/videos: image image

If relevant, did you update the documentation?

N/A (UI enhancement)

Technical Changes

  • Implemented Native Jump Menu: Added a native HTML <select> element in GroupByMenu.tsx.
  • Added scrollToSection Logic:
    • Implemented smooth-scrolling with a -100px offset to prevent headers from being covered by the sticky navbar.
  • Responsive Layout Refactor:
    • Updated GroupByMenu.tsx to use flex-col and gap-y-4 so the buttons and dropdown stack correctly on mobile.
  • Updated index.page.tsx: Passed a filtered activeSections prop to ensure the jump menu only lists categories that currently contain tools.

Summary

This PR adds a "Jump to Section" navigation menu to the Tooling page to improve usability when the "Group By" feature is enabled.

Does this PR introduce a breaking change?

No

Checklist

  • [x] Read, understood, and followed the contributing guidelines.
  • [x] Verified that the implementation works correctly on both desktop and mobile views.
  • [x] Confirmed that the "Jump to Section" IDs match the section headers in the Tooling Table.

AnujAga2005 avatar Feb 22 '26 09:02 AnujAga2005

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview be897f3d969ae6ba6505f3cc88b9dc950a92bfe7

github-actions[bot] avatar Feb 22 '26 09:02 github-actions[bot]

Codecov Report

:x: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review. :white_check_mark: Project coverage is 99.85%. Comparing base (2ee67ff) to head (be897f3). :warning: Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
components/ui/button.tsx 75.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##              main    #2266      +/-   ##
===========================================
- Coverage   100.00%   99.85%   -0.15%     
===========================================
  Files           30       30              
  Lines          663      675      +12     
  Branches       205      213       +8     
===========================================
+ Hits           663      674      +11     
- Misses           0        1       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Feb 22 '26 09:02 codecov[bot]

hi @AgniveshChaubey , i have updated the code and implemented