feat(ui): allow copying nightly app versions from sidebar#472
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🧰 Additional context used📓 Path-based instructions (4)frontend/src/**/*.{ts,tsx,html,scss}📄 CodeRabbit inference engine (AGENTS.md)
Files:
frontend/src/i18n/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
frontend/src/app/**/*.component.ts📄 CodeRabbit inference engine (AGENTS.md)
Files:
frontend/src/app/**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (3)📚 Learning: 2026-03-31T14:12:39.521ZApplied to files:
📚 Learning: 2026-04-05T21:16:01.715ZApplied to files:
📚 Learning: 2026-04-07T09:28:09.587ZApplied to files:
🔇 Additional comments (5)
📝 WalkthroughWalkthroughThis pull request implements clipboard copy functionality for the app menu version display by converting the static version text into an interactive button element that copies the version to the clipboard on click, with toast notifications for success and failure states. Changes
Sequence DiagramsequenceDiagram
participant User
participant AppMenu as AppMenuComponent
participant Clipboard as Clipboard API
participant MessageSvc as MessageService
User->>AppMenu: Click version button
AppMenu->>AppMenu: copyVersion(version)
alt Clipboard API unavailable
AppMenu->>MessageSvc: Show error message
MessageSvc->>User: Display failure toast
else Clipboard API available
AppMenu->>Clipboard: writeText(version)
alt Write successful
Clipboard-->>AppMenu: Promise resolved
AppMenu->>MessageSvc: Show success message
MessageSvc->>User: Display success toast
else Write failed
Clipboard-->>AppMenu: Promise rejected
AppMenu->>MessageSvc: Show error message
MessageSvc->>User: Display failure toast
end
end
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested Labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
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 |
Description
Add support for highlighting non-release version text and copying it on click (improves UX for testing specific nightlies)
Linked Issue: Fixes #470
Changes
Summary by CodeRabbit
New Features