made "Create New Key" always accessible #2414#2444
made "Create New Key" always accessible #2414#2444FaheemOnHub wants to merge 1 commit intounkeyed:mainfrom
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@FaheemOnHub is attempting to deploy a commit to the Unkey Team on Vercel. A member of the Team first needs to authorize it. |
|
Caution Review failedThe pull request is closed. 📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces several formatting and readability improvements across multiple components of the dashboard application. Key changes include restructuring JSX layouts, adjusting type definitions in TypeScript files, and enhancing the visual presentation of elements. Notably, the addition of a Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
|
This issue is assigned to someone else, please do not submit PRs for issues that aren't assigned to you |
What does this PR do?
Initial Problem: The "Create New Key" button was positioned below the entire list of API cards, which can be extensive. When trying to create a new root key with workspace-only permissions, users need to scroll to the bottom of the page. This creates an inconvenient user experience, especially when the list of APIs is long. Ideally, the button should be sticky and always visible at the bottom of the window, regardless of the length of the API list.
Solution: Made "Create New Key" button sticky , so there is no need to scroll to bottom.
Fixes # (#2414)
Fixes #2414
Type of change: added some tailwind classes and some DOM manipulation
How should this be tested?
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated
Screen.Recording.2024-10-15.at.10.35.19.PM.mov
Summary by CodeRabbit
New Features
Bug Fixes
Style
Documentation