Skip to content

feat(opensidian): toolbar follow-ups — onboarding, factory fix, logo#1635

Merged
braden-w merged 2 commits intomainfrom
opencode/playful-knight
Apr 7, 2026
Merged

feat(opensidian): toolbar follow-ups — onboarding, factory fix, logo#1635
braden-w merged 2 commits intomainfrom
opencode/playful-knight

Conversation

@braden-w
Copy link
Copy Markdown
Member

@braden-w braden-w commented Apr 7, 2026

Follow-up to #1632. That PR deleted the toolbar and redistributed actions. This one fixes what we got wrong and adds first-visit onboarding for the HN launch.

The terminal is the feature that makes opensidian different from every other notes app—but it was completely hidden behind ⌘`. A HN visitor would land on an empty file tree, see "No file selected", and leave. Now, first-time visitors get three things simultaneously: sample data populates the file tree, the README opens in the editor, and the terminal opens with a welcome message:

Welcome to OpenSidian — notes on CRDTs with a bash terminal.

Try these:
  echo "# Hello HN" > /hello.md    create a file
  ls /                              list files
  open /hello.md                    open in editor
  cat /hello.md                     print contents

80+ commands: awk, sed, grep, jq, find, sqlite3, curl, and more.
Press ⌘\` to toggle this terminal.

No modal, no tour, no signup wall. Just a terminal with a blinking cursor that a developer immediately understands.


The sample data loader was hitting Svelte's `state_invalid_export` because it exported a bare `$state` that gets reassigned. The first workaround (a standalone `isSeeding()` function) broke the codebase convention where every `.svelte.ts` state module uses a factory. Reverted to a proper `createSampleDataLoader()` factory with the `$state` inside a closure exposed through a getter.

The "FILES" label in the sidebar header was dead weight—icons already communicate context. Removed. The Epicenter logo now sits at the left of the sidebar header in a `bg-black` rounded container so the gray+white circles stay visible on any background.

Stacks on #1632.

braden-w added 2 commits April 7, 2026 21:59
Small logo icon in a rounded black square container, placed at the
left of the sidebar header before the action icons.
…nd terminal

When the file tree is empty on load, the app now automatically loads
sample data, opens the README, opens the terminal panel, and prints a
welcome message with example commands. The terminal is the killer
feature for developers—hiding it behind a keyboard shortcut means
most visitors would never discover it.
@braden-w braden-w changed the title fix(opensidian): toolbar follow-ups — factory pattern, logo, label cleanup feat(opensidian): toolbar follow-ups — onboarding, factory fix, logo Apr 7, 2026
@braden-w braden-w merged commit 5f8ec71 into main Apr 7, 2026
1 of 8 checks passed
@braden-w braden-w deleted the opencode/playful-knight branch April 7, 2026 14:13
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