Skip to content

feat: category filters, back-to-top, module detail breadcrumbs, search shortcut - #228

Merged
0xsamuel1 merged 2 commits into
soroban-testkit:mainfrom
jescinta:feat/module-directory-ux
Oct 20, 2026
Merged

0xsamuel1 merged 2 commits into
soroban-testkit:mainfrom
jescinta:feat/module-directory-ux

Conversation

@jescinta

Copy link
Copy Markdown
Contributor

Closes #124
Closes #125
Closes #126
Closes #127

What changed

Why

  • The module directory had no way to narrow by topic once it grew past a handful of entries.
  • Long pages had no quick way back to the top.
  • Module cards were dead ends — no detail context or way to orient within the page.
  • Search existed but wasn't discoverable from the keyboard.

How to test

  • npm test — 66 tests pass, including new coverage for category filters, breadcrumbs, back-to-top visibility/activation, and the / shortcut.
  • npm run build — clean TypeScript + Vite build.
  • Click a category chip: only matching modules remain; click again to clear.
  • Click any module card: detail view with breadcrumbs appears; "Modules" breadcrumb returns to the list.
  • Scroll down: the back-to-top button fades in; click it to scroll to the header.
  • Press / on the page: the module search field receives focus.

…h shortcut

Closes soroban-testkit#124
Closes soroban-testkit#125
Closes soroban-testkit#126
Closes soroban-testkit#127

- Add category filter chips (Environment, Economics, Assertions, Security,
  Storage) that combine with the text search, keyboard-accessible with
  aria-pressed state
- Add a back-to-top button that appears after scrolling past 480px and
  smoothly returns to the header
- Add module detail pages with breadcrumb navigation (Home / Modules /
  module); module cards are keyboard-activatable buttons
- Add a '/' keyboard shortcut to jump to the module search field; search
  covers names and descriptions with real-time filtering
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@jescinta Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@0xsamuel1
0xsamuel1 merged commit 74cbe13 into soroban-testkit:main Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants