Skip to content

feat(home): expose key-usage page entry in header nav#1537

Open
wangle201210 wants to merge 1 commit intoWei-Shaw:mainfrom
wangle201210:feat/usage-fe
Open

feat(home): expose key-usage page entry in header nav#1537
wangle201210 wants to merge 1 commit intoWei-Shaw:mainfrom
wangle201210:feat/usage-fe

Conversation

@wangle201210
Copy link
Copy Markdown

Summary

  • Add a chart-icon router-link to /key-usage in the HomeView header so unauthenticated visitors can discover the API key usage query page without having to know the URL.
  • The existing /key-usage route is already public (requiresAuth: false) but had no UI entry point — this is a pure wiring fix, no behavior change elsewhere.

Test plan

  • Visit / while logged out — new chart icon appears in the header between the language switcher and the doc link
  • Click the chart icon — navigates to /key-usage
  • Hover shows the keyUsage.title tooltip in both zh and en locales
  • Dark-mode styling matches the sibling header icons

🤖 Generated with Claude Code

Add a chart-icon router-link to /key-usage in the HomeView header so
unauthenticated visitors can discover the API key usage query page
without having to know the URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wangle201210
Copy link
Copy Markdown
Author

image

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.

1 participant