feat(ui): add per-service Move action to environment page#3558
Open
masonjames wants to merge 1 commit intoDokploy:canaryfrom
Open
feat(ui): add per-service Move action to environment page#3558masonjames wants to merge 1 commit intoDokploy:canaryfrom
masonjames wants to merge 1 commit intoDokploy:canaryfrom
Conversation
Add a three-dot menu (MoreHorizontalIcon) to each service card that exposes a per-service Move action. Reuses the existing bulk move dialog — selecting Move on a single card pre-selects that service and opens the shared move dialog with singular grammar. Also repositions the service-type icon to the left of the service name, consistent with the project card layout in the Projects page. Changes: - Add MoreHorizontalIcon and DropdownMenuItem imports - Restructure CardHeader: icon left of name, action menu on right - Per-card dropdown triggers the existing move dialog for one service - Fix Move dialog title/description grammar for single vs multiple Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this PR about?
Adds a per-service Move action to each service card on the environment page, reusing the existing bulk move infrastructure with zero new components or files.
Changes (1 file, ~76 additions):
MoreHorizontalIcondropdown menu to each service card (matching the Projects page pattern)What stays the same:
handleBulkMovefunction handles both single and bulk movesChecklist
canarybranch.Screenshots (if applicable)
Service card with action menu and icon repositioned to left of name:
⋯menu on hover with "Move" action🤖 Generated with Claude Code