Skip to content

fix(ui): select exact confirmation text on double click - #1544

Open
thedancingdeveloper wants to merge 203 commits into
moghtech:mainfrom
thedancingdeveloper:fix/1383-confirm-selection
Open

fix(ui): select exact confirmation text on double click#1544
thedancingdeveloper wants to merge 203 commits into
moghtech:mainfrom
thedancingdeveloper:fix/1383-confirm-selection

Conversation

@thedancingdeveloper

Copy link
Copy Markdown

Summary

  • make double-click selection of bold confirmation values select only the exact confirmText
  • prevent the adjacent whitespace before below from entering a subsequent manual copy
  • keep the existing click-to-copy behavior and shared mogh_ui modal intact

Fixes the manual-selection case described in #1383.

Root cause

mogh_ui renders the bold confirmation value adjacent to a text node beginning with a space. Native browser word selection can include that boundary whitespace. Komodo already wraps the shared modal, so this handles double-click at the wrapper boundary without duplicating the dependency component.

Testing

  • cd client/core/ts && corepack yarn install --frozen-lockfile && corepack yarn build && corepack yarn link
  • cd ui && corepack yarn link komodo_client && corepack yarn install --frozen-lockfile && corepack yarn build
  • git diff --check

The UI production build succeeds. Existing dependency peer warnings and Vite chunk-size warnings are unchanged.

mbecker20 and others added 28 commits July 17, 2026 14:44
…tech#1528)

Git providers send push webhooks for every branch and Komodo filters
them server side (docs: Automate > Webhooks > Branch Filtering), so a
push to a non-matching branch is routine operation, not a failure. It
was surfaced through the generic 'Failed at running webhook' warn,
indistinguishable from genuine failures, and a repo with active bot
branches (e.g. Renovate) produces hundreds of these warns per day.

Rename ExtractBranch::verify_branch to branch_matches, returning
Ok(false) on a mismatch (logged at debug) so handlers skip quietly,
matching the existing silent webhook_enabled=false skip. Branch
EXTRACTION failures (e.g. a ref-less payload on a named-branch
listener) still return Err and reach the warn, preserving the
misconfiguration signal.
…t corrupt service detection (moghtech#1529)

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Maxwell Becker <49575486+mbecker20@users.noreply.github.com>
@mbecker20
mbecker20 changed the base branch from 2.3.0 to main July 28, 2026 23:43
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.

7 participants