-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
feat(platform): Improved UI of secret listing #655
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
LGTM 🚀
## [2.10.0-stage.3](v2.10.0-stage.2...v2.10.0-stage.3) (2025-01-25) ### 🚀 Features * **platform:** Improved UI of [secure] listing ([#655](#655)) ([b19de47](b19de47)) ### 🔧 Miscellaneous Chores * **ci:** Fixed misplaced sentry sourcemaps commands ([fbd6f3b](fbd6f3b)) ### 🔨 Code Refactoring * **api:** Update getSelf function ([fe752ce](fe752ce))
🎉 This PR is included in version 2.10.0-stage.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [2.10.0](v2.9.1...v2.10.0) (2025-01-28) ### 🚀 Features * **api:** Secret rotation ([#652](#652)) ([ad9a808](ad9a808)) * **platform:** Implement delete project ([#671](#671)) ([d243c89](d243c89)) * **platform:** Improved UI of [secure] listing ([#655](#655)) ([b19de47](b19de47)) * **platform:** Operate on environments ([#670](#670)) ([f45c5fa](f45c5fa)) ### 🐛 Bug Fixes * Added lockfile ([856eb3c](856eb3c)) * **api:** Only user's default workspace returns isDefault: true ([#647](#647)) ([870b4dc](870b4dc)) * **cli:** Workspace membership API client payload fixed ([#614](#614)) ([#648](#648)) ([e23057b](e23057b)) * **platform:** Refactor layout structure to improve Navbar positioning & child component ([#661](#661)) ([31067f3](31067f3)) * **Platfrom:** Replace manual date calculation with dayjs to improve better calculation ([#668](#668)) ([990eb86](990eb86)) ### 🔧 Miscellaneous Chores * **ci:** Add manual trigger ([cfbf4b9](cfbf4b9)) * **ci:** Add missing LATEST_TAG variable ([a2ea2ed](a2ea2ed)) * **ci:** Fixed misplaced sentry sourcemaps commands ([fbd6f3b](fbd6f3b)) * **ci:** Fixed scripts ([374f7ed](374f7ed)) * **ci:** Update API sentry dist folder ([2bc9afb](2bc9afb)) * **CI:** Update pipeline ([fd63b70](fd63b70)) * **ci:** Update sourcemap upload commands ([c7e8e45](c7e8e45)) * **cli:** Bumped CLI version to 2.5.0 ([7b772f8](7b772f8)) * Fix prerelease branch config ([7e84021](7e84021)) * **release:** 2.10.0-stage.1 [skip ci] ([a4f8414](a4f8414)), closes [#652](#652) * **release:** 2.10.0-stage.2 [skip ci] ([00ee123](00ee123)), closes [#647](#647) * **release:** 2.10.0-stage.3 [skip ci] ([941a815](941a815)), closes [#655](#655) * **release:** 2.10.0-stage.4 [skip ci] ([ae7c44f](ae7c44f)), closes [#614](#614) [#648](#648) * **release:** 2.10.0-stage.5 [skip ci] ([d718483](d718483)), closes [#661](#661) * **release:** 2.10.0-stage.6 [skip ci] ([4e63f47](4e63f47)), closes [#668](#668) * **release:** 2.10.0-stage.7 [skip ci] ([4a35fe7](4a35fe7)), closes [#671](#671) * **release:** 2.10.0-stage.8 [skip ci] ([36ef21d](36ef21d)), closes [#670](#670) * **release:** 2.9.2-stage.1 [skip ci] ([443f8d4](443f8d4)) ### 🔨 Code Refactoring * **api:** Update getSelf function ([fe752ce](fe752ce))
🎉 This PR is included in version 2.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
User description
Description
Fixes #622
PR Type
Enhancement
Description
Updated secret listing to display "Hidden" for non-decrypted values.
Enhanced environment display format to include name and slug.
Changed "Secret" tab header to "Value".
Displayed user name instead of ID in "last edited by".
Changes walkthrough 📝
page.tsx
Enhance secret listing logic and API integration
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
isDecrypted
logic to determine secret visibility.decryptValue
parameter.useEffect
for reactivity.isDecrypted
and updated props.index.tsx
Update secret card display and formatting
apps/platform/src/components/dashboard/secret/secretCard/index.tsx
isDecrypted
prop to control secret visibility.