Right-click a file in the Changes view to discard its uncommitted changes.
Shows a confirmation dialog before executing. Handles modified (git checkout),
untracked (delete), and deleted (git restore) files. Includes path traversal
safety checks in the Rust backend.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses the existing check_claude_cli Tauri command to detect the claude
binary at app startup and shows a status badge — green/neutral when
found, orange warning when missing with a click-to-install link.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds 'body' as a built-in filter field that searches note snippet text
(case-insensitive). Visually separated from property fields in the
FilterBuilder dropdown with a separator. Combines with other filters via AND.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Properties panel shows Status/Date/URL slots as muted clickable rows when
not already present. Relationships panel shows Belongs to/Related to/Has
slots. Clicking a slot adds the property and auto-focuses the value field.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reorders Inspector sections to: Properties → Relationships → Backlinks → Info → History.
Extracts NoteInfoPanel into its own component with Info icon matching other section headers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Aligns relationship button label with the "Add property" pattern used
elsewhere in the Inspector panel.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Patches @blocknote/core SuggestionMenu plugin to fix multi-character
trigger detection. The original code used textBetween(from - len, from)
which included text before the trigger, causing [[ to only match at
line starts. Fixed to textBetween(from - (len - 1), from).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Shows "Create a new vault" (empty + git init), "Open existing vault"
(folder picker), and "Get started with a template" (Getting Started
vault). Adds create_empty_vault Rust command for the new-vault flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
extractVaultTypes now also reads entries where isA === 'Type' and adds
their title, so "New <Type>" commands appear as soon as a Type is
defined — not only after an instance of that type exists.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Minimalist vault separate from demo-vault-v2, designed to introduce
new users to Laputa's key features: types, relationships, views,
wiki-links, and git sync.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Parse _list_properties_display from type file frontmatter and render
property/relationship values as chips below note snippets. Add a
SlidersHorizontal config popover in the note list header (sectionGroup
views only) with checkboxes and drag-to-reorder via dnd-kit. Changes
are saved back to the type file's frontmatter immediately.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update channel (Stable/Canary) was redundant since builds are flat.
Removed the UI dropdown, canary update logic in useUpdater, and
update_channel field from Settings type (TS + Rust). Release channel
(Alpha/Beta/Stable) remains as the sole selector.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
After saving a view, the .yml file wasn't appearing in the FOLDERS note
list until a full vault reload. Now we call reload_vault_entry to get a
fresh VaultEntry, add/update it in the entries state, and reload the
folder tree — making the file visible immediately in FOLDERS.
Same for delete: removeEntry + reloadFolders ensures the file disappears
from FOLDERS without requiring a vault reload.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The demo vault path was resolved at build time via Vite's `define` config,
baking the CI runner's absolute path (/Users/runner/work/...) into the
JavaScript bundle. Fresh installs showed "Vault not found" with that path.
Now __DEMO_VAULT_PATH__ is only injected in dev mode. Production Tauri builds
resolve the Getting Started vault path at runtime via get_default_vault_path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Verifies typing [[ in a view filter value field triggers the wikilink
autocomplete dropdown and that selecting a note inserts [[note-title]].
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Typing [[ in a filter value input now shows a note autocomplete dropdown,
matching the same visual style used in the editor and Properties panel.
Selecting a note inserts [[note-title]] as the filter value.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Emoji buttons inside the EmojiPicker defaulted to type="submit", causing
premature form submission when selecting an emoji inside the Create/Edit
View dialog. The form submitted with the stale (empty) icon state before
the emoji selection could update it, resulting in views always saving
with icon: null regardless of the user's emoji choice.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Date properties are stored as YAML strings (e.g. "2024-03-15"), not
Unix timestamps. Parse string values via Date.parse so before/after
operators work correctly. Also handles numeric Unix timestamps.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace native HTML elements with design system components:
- Operator <select> → shadcn Select dropdown
- Field <input>+<datalist> → shadcn Select with all available fields
- Value input → shadcn Select (when suggestions available) or Input
- Date input (type="date") for before/after operators
- Remove button → shadcn Button variant="ghost"
- AND/OR toggle → shadcn Button variant="outline" with rounded-full
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Views are vault content, not app config — they should be visible in
FOLDERS, git-tracked, and portable. Adds one-time migration that moves
existing .yml files from .laputa/views/ to views/ on first scan.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Opens the Create View dialog in edit mode with pre-populated fields
(name, icon, filters). Saving updates the existing .yml file.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Added optional `emoji` prop to NavItem. When a view has an icon (emoji)
set in its definition, it renders that emoji instead of the default
Funnel icon. Views with no icon still fall back to the funnel.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Plain text values now use substring matching on wikilink stems so
"Monday" matches [[Monday Ideas]], [[Monday Recap]], etc. Wikilink
syntax values ([[...]]) still use exact stem matching. any_of/none_of
remain exact match only.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Set min-width to 600px, max-height to 80vh. The filters section now
scrolls when it grows past the available space while the header (icon +
name) and footer (Cancel / Create) stay pinned.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removed the `compact` prop from view NavItems so they render with the
same icon size (16px), font size (13px), and vertical padding (6px) as
SectionHeader items. Views and sections now align visually.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The border-b was on the SECTIONS header div only, creating a visible
separator between the header and its type entries. Wrapped both header
and sortable entries in a single border-b container so the divider
appears between SECTIONS and FOLDERS instead.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remote analysis reports hotspot 9.56 and average 9.33, which is below
the ratcheted thresholds of 9.72/9.34. Reset to baseline minimums so
pushes aren't blocked by score drift on the remote.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Wrapper div used padding '8px 0' instead of '4px 6px 0' — now matches
the other three group headers for consistent left indent.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1. Filename hint now only shows when title is focused (was always visible when
slug ≠ filename, causing "path always shown" bug).
2. Vault-relative path computation handles trailing slashes and symlink-resolved
paths via lastIndexOf fallback on vault directory name.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The textarea auto-resize was not reliably expanding for wrapped titles because
scrollHeight could be stale on the first read (e.g. during tab switches).
Added CSS field-sizing: content as the primary solution, plus requestAnimationFrame
and ResizeObserver fallbacks for older WebKit versions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
VIEWS and SECTIONS headers now match FAVORITES/FOLDERS style: all caps text,
left chevron toggle, and collapsable groups. Adds border separators between
all groups and persists collapsed state in localStorage.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add `release_channel` to Settings (Rust + TypeScript)
- Add channel selector in Settings panel (alpha/beta/stable)
- Pass `release_channel` as PostHog person property on identify
- Add `isFeatureEnabled()` helper: alpha always true, beta/stable
use PostHog flags with hardcoded fallback defaults
- Update `useFeatureFlag` to delegate to PostHog-backed evaluation
(localStorage overrides still work for dev/QA)
- Create ADR-0042 (supersedes ADR-0017)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>