Skip to content

Conversation

@chhoumann
Copy link
Owner

@chhoumann chhoumann commented Jan 30, 2026

Summary

  • Renamed confusing "Horizontal"/"Vertical" split direction labels to "Split down"/"Split right"
  • Labels now describe where the new pane appears, matching user expectations
  • Updated description to clarify what the setting controls

Root Cause

Obsidian's SplitDirection refers to divider orientation, not pane placement:

  • "vertical" = vertical divider = panes side by side (split right)
  • "horizontal" = horizontal divider = panes stacked (split down)

The old labels caused users to select "Horizontal" expecting stacked panes, but getting side-by-side instead.

Test plan

  • Create a Template Choice with "Split pane" location
  • Select "Split right" → verify new pane opens to the right
  • Select "Split down" → verify new pane opens below
  • Test same in Macro "Open File" command settings

Fixes #1081


Open with Devin

Summary by CodeRabbit

  • Style
    • Improved clarity in File Opening UI by updating dropdown labels and descriptions. Split direction options now use "Split right" and "Split down" terminology with enhanced descriptive guidance for better user understanding.

✏️ Tip: You can customize this high-level summary in your review settings.

The "Horizontal" and "Vertical" labels were confusing because Obsidian's
SplitDirection refers to the divider orientation, not the pane placement.
This led users to select "Horizontal" expecting a horizontal layout, but
getting side-by-side panes instead.

Changed labels to describe where the new pane appears:
- "vertical" → "Split right" (vertical divider, panes side by side)
- "horizontal" → "Split down" (horizontal divider, panes stacked)

Fixes #1081
@vercel
Copy link

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
quickadd Ready Ready Preview Jan 30, 2026 6:14pm

@coderabbitai
Copy link

coderabbitai bot commented Jan 30, 2026

📝 Walkthrough

Walkthrough

Two UI components had their "Split direction" setting labels updated. The description text and dropdown option labels were changed for improved clarity. "Vertical" and "Horizontal" options were renamed to "Split right" and "Split down" respectively. No functional or logic changes.

Changes

Cohort / File(s) Summary
UI Label Updates for Split Direction Setting
src/gui/ChoiceBuilder/choiceBuilder.ts, src/gui/MacroGUIs/OpenFileCommandSettingsModal.ts
Updated "Split direction" description from "Direction for split panes" to "How to arrange the new pane relative to the current one". Renamed dropdown options: "Vertical" → "Split right" and "Horizontal" → "Split down".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A rabbit hops with glee so bright,
The labels now say "down" and "right,"
No more confusion, crystal clear,
How panes shall split, without a fear!
Left, right, up, down—the words align,
This clarity? Simply divine! 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: clarifying split direction labels in the UI to better reflect actual behavior.
Linked Issues check ✅ Passed The pull request directly addresses issue #1081 by renaming misleading labels and updating descriptions to match actual split behavior.
Out of Scope Changes check ✅ Passed All changes are scoped to clarifying split direction labels in two UI files; no unrelated modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/split-direction-labels-1081

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional flags.

Open in Devin Review

@cloudflare-workers-and-pages
Copy link

Deploying quickadd with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2569c6d
Status: ✅  Deploy successful!
Preview URL: https://07781d6b.quickadd.pages.dev
Branch Preview URL: https://fix-split-direction-labels-1.quickadd.pages.dev

View logs

@chhoumann chhoumann merged commit ea97045 into master Jan 30, 2026
5 checks passed
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.

[BUG] Templates Choice split pane horizontally doesen't work

2 participants