Skip to content

feat: Enter to submit, Shift+Enter for newline in comment editor - #61

Merged
AmethystLiang merged 1 commit into
mainfrom
AmethystLiang/editComment
Mar 23, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
AmethystLiang/editComment

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

  • Add keyboard shortcut: Enter submits the comment, Shift+Enter inserts a new line
  • Add hint text below the textarea explaining the keyboard shortcuts
  • Fix pre-existing oxlint curly violations in the file

Closes #48

Test plan

  • Open "Edit Comment" dialog on a worktree
  • Type text and press Enter — should save and close the dialog
  • Type text and press Shift+Enter — should insert a new line
  • Verify the hint text "Press Enter to save, Shift+Enter for a new line." appears below the textarea

🤖 Generated with Claude Code

@AmethystLiang
AmethystLiang merged commit 67aa2af into main Mar 23, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 29, 2026
Restricted workers now start as
`clauz3 start claude --policy .clauz3/cz3tools/orca/worker-approval-policy.json …`,
so routine mail to the worker's own coordinator (worker_done, status,
questions) is auto-approved and everything else still goes to a person. A
new optional `clauz3Command` setting pins the clauz3 build that workers run
(here clauz3 PR stablyai#61's branch, until it merges) without touching the global
install.

Drop the spike's own cz3tools/orca copy in favour of stdlib:orca
(normalform-ai/clauz3#61). Update FINDINGS with the re-run: one approval, 68 s,
one worker_done, ORCA_TERMINAL_HANDLE kept through to the runner, and
ORCA_AGENT_SESSION_ID unset for terminal-mode workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 29, 2026
Restricted workers now start as
`clauz3 start claude --policy .clauz3/cz3tools/orca/worker-approval-policy.json …`,
so routine mail to the worker's own coordinator (worker_done, status,
questions) is auto-approved and everything else still goes to a person. A
new optional `clauz3Command` setting pins the clauz3 build that workers run
(here clauz3 PR stablyai#61's branch, until it merges) without touching the global
install.

Drop the spike's own cz3tools/orca copy in favour of stdlib:orca
(normalform-ai/clauz3#61). Update FINDINGS with the re-run: one approval, 68 s,
one worker_done, ORCA_TERMINAL_HANDLE kept through to the runner, and
ORCA_AGENT_SESSION_ID unset for terminal-mode workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 29, 2026
Restricted workers now start as
`clauz3 start claude --policy .clauz3/cz3tools/orca/worker-approval-policy.json …`,
so routine mail to the worker's own coordinator (worker_done, status,
questions) is auto-approved and everything else still goes to a person. A
new optional `clauz3Command` setting pins the clauz3 build that workers run
(here clauz3 PR stablyai#61's branch, until it merges) without touching the global
install.

Drop the spike's own cz3tools/orca copy in favour of stdlib:orca
(normalform-ai/clauz3#61). Update FINDINGS with the re-run: one approval, 68 s,
one worker_done, ORCA_TERMINAL_HANDLE kept through to the runner, and
ORCA_AGENT_SESSION_ID unset for terminal-mode workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 29, 2026
stdlib:orca moved out of clauz3 into normalform-ai/clauz3-tools-agents
(PR #1, cmungall/orca-library) as cz3tools.agents.orca, with shared
delegation contracts in cz3tools.agents.core. Restricted workers now start
with --policy .clauz3/cz3tools/agents/orca/worker-approval-policy.json.
clauz3 core is pinned to stablyai#61's (now core-only) branch through clauz3Command.

FINDINGS: new setup (gh: install, then stdlib git/filesystem), item 2, and
the 2026-11-29 dev-build re-run (85 s, one approval, worker_done
auto-approved, default chat surface).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 30, 2026
Restricted workers now start as
`clauz3 start claude --policy .clauz3/cz3tools/orca/worker-approval-policy.json …`,
so routine mail to the worker's own coordinator (worker_done, status,
questions) is auto-approved and everything else still goes to a person. A
new optional `clauz3Command` setting pins the clauz3 build that workers run
(here clauz3 PR stablyai#61's branch, until it merges) without touching the global
install.

Drop the spike's own cz3tools/orca copy in favour of stdlib:orca
(normalform-ai/clauz3#61). Update FINDINGS with the re-run: one approval, 68 s,
one worker_done, ORCA_TERMINAL_HANDLE kept through to the runner, and
ORCA_AGENT_SESSION_ID unset for terminal-mode workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 30, 2026
stdlib:orca moved out of clauz3 into normalform-ai/clauz3-tools-agents
(PR #1, cmungall/orca-library) as cz3tools.agents.orca, with shared
delegation contracts in cz3tools.agents.core. Restricted workers now start
with --policy .clauz3/cz3tools/agents/orca/worker-approval-policy.json.
clauz3 core is pinned to stablyai#61's (now core-only) branch through clauz3Command.

FINDINGS: new setup (gh: install, then stdlib git/filesystem), item 2, and
the 2026-11-29 dev-build re-run (85 s, one approval, worker_done
auto-approved, default chat surface).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cmungall added a commit to normalform-ai/orca that referenced this pull request Nov 30, 2026
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.

Edit Comment should use shift+enter to do line break and use "Enter" for submit

1 participant