Skip to content

feat: add New Markdown option to tab group plus icon - #678

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/markdown-option-plus-icon
Apr 15, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/markdown-option-plus-icon

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Extract untitled markdown file creation into a reusable createUntitledMarkdownFile helper with EEXIST race-condition retry logic
  • Add newFileTab command to useTabGroupWorkspaceModel so the per-group "+" menu can create markdown files targeting the correct split pane
  • Extend openFile to accept an explicit targetGroupId, preventing files from landing in the wrong group in split layouts
  • Add onFocusCapture to TabGroupPanel so keyboard/assistive-tech navigation keeps global group focus in sync
  • Add extractIpcErrorMessage utility for cleaner error toasts from IPC calls

Test plan

  • Unit tests for createUntitledMarkdownFile (EEXIST retry, name exhaustion)
  • Unit test for split group targeting (openFile with explicit targetGroupId)
  • Manual: verify "+" menu in tab bar shows New Markdown option and creates file in the correct split pane
  • Manual: verify Cmd+Shift+N still works and targets the focused group

Extract untitled markdown file creation into a reusable helper so both
the global Cmd+Shift+N shortcut and the per-group "+" menu can create
files. The openFile action now accepts an explicit targetGroupId so
files always land in the correct split pane. Also adds onFocusCapture
to TabGroupPanel so keyboard navigation keeps global group focus in
sync.
@brennanb2025
brennanb2025 merged commit 1c93270 into main Apr 15, 2026
1 check passed
@brennanb2025
brennanb2025 deleted the brennanb2025/markdown-option-plus-icon branch April 15, 2026 22:32
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 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.

1 participant