Skip to content

UX: in-page confirm (no native dialogs); tray shows real hotkey; ^+t->^!c#24

Merged
agr77one merged 1 commit into
mainfrom
fix/ux-confirm-and-hotkeys
Jun 17, 2026
Merged

UX: in-page confirm (no native dialogs); tray shows real hotkey; ^+t->^!c#24
agr77one merged 1 commit into
mainfrom
fix/ux-confirm-and-hotkeys

Conversation

@agr77one

Copy link
Copy Markdown
Owner

User-reported: (1) the dashboard used the browser's native confirm() for deletes — replaced with an in-page confirmDialog() modal across all six confirm sites; (2) the tray "Open Chat" label was hardcoded Ctrl+Shift+T while the real binding was Ctrl+Shift+1 — now shows HumanHotkey(currentHotkeys["open_chat"]); (3) the default open_chat hotkey ^+t collides with the browser reopen-tab shortcut — changed to ^!c (Ctrl+Alt+C). node --check + AHK parse-check clean.

…; ^+t→^!c

Two user-reported issues:
- NEVER use native JS confirm()/alert(): added an in-page confirmDialog() modal
  (createElement/textContent, Esc/Enter/backdrop-dismiss) and routed all six
  destructive/confirming actions through it — chat-thread delete, note delete,
  custom-mode delete, model remove, oversized-model pull, benchmark start.
- Tray "Open Chat" hardcoded "Ctrl+Shift+T" even after rebinding; now shows
  HumanHotkey(currentHotkeys["open_chat"]) and re-renders on hotkey reload.
- Changed the default open_chat hotkey ^+t → ^!c (Ctrl+Alt+C); ^+t collides with
  the browser "reopen closed tab" and other apps. Updated both config examples.

node --check + AHK parse-check clean.
@agr77one agr77one merged commit 9fd6229 into main Jun 17, 2026
5 checks passed
@agr77one agr77one deleted the fix/ux-confirm-and-hotkeys branch June 17, 2026 12:32

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 79d9986371

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/grammarFix.ahk
currentHotkeys := Map(
"grammar_fix", "^+g",
"open_chat", "^+t",
"open_chat", "^!c",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update all open_chat fallbacks to Ctrl+Alt+C

This changes the AHK runtime default to ^!c, but the dashboard/config snapshot still falls back to ^+t in scripts/grammar_fix.py:823-826, and the first-run wizard's HOTKEY_FIELDS still uses ^+t in scripts/first_run.py:61-64. For users whose config has no hotkeys block (the default config/seed path omits one), opening Config or finishing the wizard can persist ^+t as open_chat; on the next hotkey reload/restart, AHK treats that as an override and rebinds Open Chat back to Ctrl+Shift+T, undoing this change and making the tray show the old shortcut again.

Useful? React with 👍 / 👎.

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