Skip to content

Use app-styled confirmations for PR actions - #2324

Merged
Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/close-pr-ui
May 19, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/close-pr-ui

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a shared shadcn-style confirmation dialog provider
  • replace native renderer confirmations for PR merge/close, Settings discard, and remote permanent delete
  • guard Settings page Escape handling so nested dialogs own Escape first

Verification

  • pnpm exec oxlint src/renderer/src/components/confirmation-dialog.tsx src/renderer/src/App.tsx src/renderer/src/components/TaskPage.tsx src/renderer/src/components/GitHubItemDialog.tsx src/renderer/src/components/settings/Settings.tsx src/renderer/src/components/right-sidebar/useFileDeletion.ts
  • pnpm run typecheck:web
  • git diff --check
  • rg "window.confirm|window.alert" src/renderer/src -S
  • $auto-review-fix completed; follow-up review returned no findings

Screenshot Proof

  • tmp/screenshots/task-pr-merge-confirm.png
  • tmp/screenshots/pr-detail-close-confirm.png
  • tmp/screenshots/settings-discard-confirm.png

Made with Orca 🐋

@Jinwoo-H
Jinwoo-H force-pushed the Jinwoo-H/close-pr-ui branch from d5234a2 to 380923d Compare May 19, 2026 17:55
@Jinwoo-H
Jinwoo-H merged commit 4b86fe8 into main May 19, 2026
1 check passed
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/close-pr-ui branch May 19, 2026 18:01
AmethystLiang pushed a commit that referenced this pull request May 19, 2026
AmethystLiang added a commit that referenced this pull request May 19, 2026
* Squashed commits

- WIP: uncommitted changes before rebase

- ci

- Show inline PR check details in task drawer

- Add a Checks tab that opens from the PR checks cell and expands runs inline
- Fetch check output, annotations, and workflow job steps through IPC/RPC
- Improve markdown/comment wrapping so long PR content stays within the drawer

* Use app-styled confirmations for PR actions (#2324)

Co-authored-by: Orca <[email protected]>

* fix: pr-bug-scan validated finding from #2274 (#2296)

Co-authored-by: orca-bug-scan-bot <[email protected]>

---------

Co-authored-by: Jinwoo Hong <[email protected]>
Co-authored-by: Orca <[email protected]>
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
Co-authored-by: orca-bug-scan-bot <[email protected]>
AmethystLiang added a commit that referenced this pull request May 19, 2026
* Squashed commits

- WIP: uncommitted changes before rebase

- ci

- Show inline PR check details in task drawer

- Add a Checks tab that opens from the PR checks cell and expands runs inline
- Fetch check output, annotations, and workflow job steps through IPC/RPC
- Improve markdown/comment wrapping so long PR content stays within the drawer

* Use app-styled confirmations for PR actions (#2324)

Co-authored-by: Orca <[email protected]>

* fix: pr-bug-scan validated finding from #2274 (#2296)

Co-authored-by: orca-bug-scan-bot <[email protected]>

* fix: avoid optional git locks during status checks

---------

Co-authored-by: Jinwoo Hong <[email protected]>
Co-authored-by: Orca <[email protected]>
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
Co-authored-by: orca-bug-scan-bot <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Squashed commits

- WIP: uncommitted changes before rebase

- ci

- Show inline PR check details in task drawer

- Add a Checks tab that opens from the PR checks cell and expands runs inline
- Fetch check output, annotations, and workflow job steps through IPC/RPC
- Improve markdown/comment wrapping so long PR content stays within the drawer

* Use app-styled confirmations for PR actions (stablyai#2324)

Co-authored-by: Orca <[email protected]>

* fix: pr-bug-scan validated finding from stablyai#2274 (stablyai#2296)

Co-authored-by: orca-bug-scan-bot <[email protected]>

---------

Co-authored-by: Jinwoo Hong <[email protected]>
Co-authored-by: Orca <[email protected]>
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
Co-authored-by: orca-bug-scan-bot <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Squashed commits

- WIP: uncommitted changes before rebase

- ci

- Show inline PR check details in task drawer

- Add a Checks tab that opens from the PR checks cell and expands runs inline
- Fetch check output, annotations, and workflow job steps through IPC/RPC
- Improve markdown/comment wrapping so long PR content stays within the drawer

* Use app-styled confirmations for PR actions (stablyai#2324)

Co-authored-by: Orca <[email protected]>

* fix: pr-bug-scan validated finding from stablyai#2274 (stablyai#2296)

Co-authored-by: orca-bug-scan-bot <[email protected]>

* fix: avoid optional git locks during status checks

---------

Co-authored-by: Jinwoo Hong <[email protected]>
Co-authored-by: Orca <[email protected]>
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
Co-authored-by: orca-bug-scan-bot <[email protected]>
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.

1 participant