Skip to content

chore: website improve docs sidebar usability by expanding clickable area#2426

Merged
jonaslagoni merged 3 commits intoasyncapi:masterfrom
Ishita-190:Ishita
Feb 8, 2026
Merged

chore: website improve docs sidebar usability by expanding clickable area#2426
jonaslagoni merged 3 commits intoasyncapi:masterfrom
Ishita-190:Ishita

Conversation

@Ishita-190
Copy link
Contributor

Fixes: #2423

Description

This PR improves the docs sidebar navigation by making the full width of each navigation item clickable. Earlier, only the text inside each item was clickable, which made navigation harder to use and inconsistent with common UI patterns.

Changes Made

  • Updated sidebar navigation in src/components/docs/Docs.tsx

  • Wrapped Link components with <li className="p-2"> to expand the clickable area

  • Added className="block w-full" to Link components for full-width interaction

Checklist

  • The code follows the project's coding standards and is properly linted (npm run lint).
  • Tests have been added or updated to cover the changes.
  • Documentation has been updated to reflect the changes.
  • All tests pass successfully locally.(npm run test).

Additional Notes

This change is UI only and does not affect routing logic or application behavior beyond improving navigation usability.

@Ishita-190 Ishita-190 requested a review from ashmitjsg as a code owner January 30, 2026 20:26
@netlify
Copy link

netlify bot commented Jan 30, 2026

Deploy Preview for modelina canceled.

Name Link
🔨 Latest commit aa892ae
🔍 Latest deploy log https://app.netlify.com/projects/modelina/deploys/6988a1679c960f0008506515

@jonaslagoni jonaslagoni changed the title fix: improve docs sidebar usability by expanding clickable area chore: website improve docs sidebar usability by expanding clickable area Feb 1, 2026
@coveralls
Copy link

coveralls commented Feb 1, 2026

Pull Request Test Coverage Report for Build 21798120172

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.997%

Totals Coverage Status
Change from base Build 21775753379: 0.0%
Covered Lines: 6942
Relevant Lines: 7421

💛 - Coveralls

@jonaslagoni jonaslagoni merged commit e47afd0 into asyncapi:master Feb 8, 2026
9 checks passed
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 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

Development

Successfully merging this pull request may close these issues.

[BUG] Documentation navigation menu items have small clickable areas causing poor UX

3 participants