Skip to content

fix(ui): resolve unclickable watch path removal button#76

Open
AminDhouib wants to merge 3 commits into
canaryfrom
port/upr-4782
Open

fix(ui): resolve unclickable watch path removal button#76
AminDhouib wants to merge 3 commits into
canaryfrom
port/upr-4782

Conversation

@AminDhouib

Copy link
Copy Markdown
Member

Ports Dokploy#4782 by @imrja8

Addresses Dokploy#4780

What

Fix the unclickable watch-path removal button. The <X> lucide icon carried the onClick directly, so clicks on the SVG did not reliably remove the watch path. Wrap the icon in a real <button type="button"> with aria-label="Remove watch path", and correct the "Enable Submodules" toggle's FormItem vertical alignment. Applied consistently across all 10 git-provider forms (application + compose: bitbucket / git / gitea / github / gitlab).

Files

10 × apps/dokploy/components/dashboard/{application,compose}/general/generic/save-*-provider*.tsx

Adaptations

Clean cherry-pick of all 3 upstream commits (git cherry-pick -x of ae95485, a94f8b9, 92c5879), no conflicts. Co-authorship by @fredhii on commits 2-3 is preserved in the trailers.

Sibling merge-order

No file overlap with fork PRs #73 / #74 — those touch webhook backend (apps/dokploy/pages/api/deploy/*, packages/server/src/utils/watch-paths/*), whereas this PR touches only UI provider forms. No merge-order constraint in either direction.

Verification

Clean cherry-pick onto origin/canary; pure JSX/className change verified by inspection. Typecheck/build run in CI (worktree has no installed node_modules for local runs). No drizzle migrations touched.

imrja8 and others added 3 commits July 12, 2026 11:53
…ton a11y

- Properly negate FormItem spacing for the 'Enable Submodules' toggle inline layout
- Drop redundant focus outline hide and add aria-label for watchpath delete buttons

Co-authored-by: Fredy Acuña <fredhiixd@gmail.com>
(cherry picked from commit a94f8b9)
Co-Authored-By: Fredy Acuna <57413945+fredhii@users.noreply.github.com>
(cherry picked from commit 92c5879)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants