User command trust prompt: show the full file and what it can do #250

closed cmc opened this on 2026-11-27 09:07 UTC · milestone 8 Automation and extension

Discussion

cmc 2026-11-27 09:07 UTC

The trust prompt for user commands (MR 527) reuses the generic choice prompt. On iPhone the title and the file name are truncated ("Run commands from…", "commands/headings…"), and the sheet shows an empty text field and a Done button that do nothing useful. On the Mac the minibuffer cut the longer sentence, so the explanation moved to the manual.

Show it as a proper confirmation on both platforms: the full path under commands/ (and the imported modules), one sentence on what a command can do (read and change the open file, no network or other files), and Run Once / Always / Don't Run as buttons. iOS: an alert or a short sheet without the text field. Mac: an alert or a minibuffer prompt with room for the path.

Ref #245

closed by cmc in commit bd275bd1a8: User command trust prompt: full path, imports and what it can do

2026-11-27 16:05 UTC
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form