[PR #199] [MERGED] feat: add OpenCopyValueAsync dialog helper and refactor token display #189

Closed
opened 2026-02-26 17:37:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Corsinvest/cv4pve-admin/pull/199
Author: @franklupo
Created: 2/25/2026
Status: Merged
Merged: 2/25/2026
Merged by: @franklupo

Base: mainHead: feat/copy-value-dialog


📝 Commits (1)

  • 2ccf0d5 feat: add OpenCopyValueAsync dialog helper and refactor token display

📊 Changes

3 files changed (+22 additions, -15 deletions)

View changed files

📝 src/Corsinvest.ProxmoxVE.Admin.Core/Components/AppTokenPermissionsGrid.razor (+0 -14)
📝 src/Corsinvest.ProxmoxVE.Admin.Core/Components/AppTokenPermissionsGrid.razor.cs (+4 -1)
📝 src/Corsinvest.ProxmoxVE.Admin.Core/Extensions/RadzenUIExtensions.cs (+18 -0)

📄 Description

Summary

  • Add RadzenUIExtensions.OpenCopyValueAsync() reusable helper for showing a copy-to-clipboard dialog
  • Replace inline RawTokenDialog RenderFragment in AppTokenPermissionsGrid with the new helper (token creation and regeneration flows)

Test plan

  • Create a new app token → copy dialog appears with token value
  • Regenerate an app token → copy dialog appears with new token value

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Corsinvest/cv4pve-admin/pull/199 **Author:** [@franklupo](https://github.com/franklupo) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 2/25/2026 **Merged by:** [@franklupo](https://github.com/franklupo) **Base:** `main` ← **Head:** `feat/copy-value-dialog` --- ### 📝 Commits (1) - [`2ccf0d5`](https://github.com/Corsinvest/cv4pve-admin/commit/2ccf0d5359c9fc8794ae45e56fd184ccc9f2dee9) feat: add OpenCopyValueAsync dialog helper and refactor token display ### 📊 Changes **3 files changed** (+22 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/Corsinvest.ProxmoxVE.Admin.Core/Components/AppTokenPermissionsGrid.razor` (+0 -14) 📝 `src/Corsinvest.ProxmoxVE.Admin.Core/Components/AppTokenPermissionsGrid.razor.cs` (+4 -1) 📝 `src/Corsinvest.ProxmoxVE.Admin.Core/Extensions/RadzenUIExtensions.cs` (+18 -0) </details> ### 📄 Description ## Summary - Add `RadzenUIExtensions.OpenCopyValueAsync()` reusable helper for showing a copy-to-clipboard dialog - Replace inline `RawTokenDialog` `RenderFragment` in `AppTokenPermissionsGrid` with the new helper (token creation and regeneration flows) ## Test plan - [ ] Create a new app token → copy dialog appears with token value - [ ] Regenerate an app token → copy dialog appears with new token value --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 17:37:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#189
No description provided.