-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add Swagger button for devs #2128
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
Conversation
📝 WalkthroughWalkthroughA new "Swagger" button is added to the developer actions section in the AppBar header, positioned alongside the existing Sandbox button. The Swagger button uses the i-mdi-api icon and opens in a new tab, with both buttons now including title attributes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@frontend/viewer/src/home/HomeView.svelte`:
- Around line 158-159: Update the two Button usages in HomeView.svelte so their
title attributes use the localization function ($t) instead of hardcoded strings
(e.g., replace title="Sandbox" and title="Swagger" with title={$t('...')} using
appropriate i18n keys), and add rel="noopener noreferrer" to the Button that
opens in a new tab (the Button with target="_blank" / icon="i-mdi-api") to
harden the external link.
Adds link to the Swagger UI in the AppBar, visible only when developer mode is enabled. Fits standard icon-only button patterns by using the IconButton component.