Commit graph

24 commits

Author SHA1 Message Date
36c87e4ad6 feat: add slider range validation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:56:14 +01:00
0305f0be15 feat: add Ctrl+Enter and Enter keyboard navigation to form modal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:54:53 +01:00
ff6fecd39b feat: add keyboard accessibility to toggle and rating fields
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:54:49 +01:00
e2f5654277 feat: add slider, color, and time field renderers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:50:40 +01:00
3f42fa38e2 feat: add slider, color, time to FieldType and slider props to FormField
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:46:49 +01:00
de5ea170e1 docs: add Phase 1 implementation plan
12 tasks covering new field types, keyboard navigation, and form import/export.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:42:16 +01:00
d48bb1b052 docs: add Phase 1 quick wins design document
Covers new field types (slider, color, time), keyboard navigation,
and form import/export.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:40:24 +01:00
01802792f3 fix: set author to tolvitty
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:34:07 +01:00
b28fc38849 fix: add missing open-settings command
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:29:33 +01:00
d7bc99e0a8 feat: wire up main plugin with commands, sidebar, settings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:25:46 +01:00
c4cd228e87 feat: add Formfire styles with refined utilitarian design
Production-grade CSS covering all UI components: form fields with focus
states, tag chips with enter/exit animations, suggest list dropdowns,
gold star rating with hover preview, form modal layout, form builder
card-based field editor, and sidebar with mode badges. All colors via
Obsidian CSS variables for light/dark theme support. Smooth transitions
(0.15-0.25s ease) throughout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:22:26 +01:00
7ba7048b3e feat: add settings tab with visual form builder
FormBuilderModal for editing form definitions with general settings,
mode-specific options, and a field editor supporting add/reorder/delete
with per-field type, label, property key, required toggle, and
conditional options. FormfireSettingTab lists forms with Edit/Duplicate/
Delete actions and a New Form button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:22:18 +01:00
5eb79fbf08 feat: add sidebar view with form list
ItemView that displays all forms with mode badges (C/U), click to open,
settings gear button, and empty state. Uses SidebarPluginRef interface
to avoid circular dependency with main.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:22:11 +01:00
092c960a9c feat: add FormPickerModal for quick form selection
FuzzySuggestModal that lets users pick a form by name with fuzzy search.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:22:06 +01:00
f3207a8b64 feat: add FormModal for rendering and submitting forms
Modal that renders all form fields, validates on submit with error
display and shake animation, and processes via FormProcessor. Supports
create and update modes with file picker for prompted target files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:22:00 +01:00
404b33edac feat: add field renderers for all 10 field types
Implements renderField() with per-type renderers for text, textarea,
number, toggle, date, dropdown, tags, note-link, folder-picker, and
rating. Each renderer returns getValue/setValue/setError accessors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:21:54 +01:00
ec3f1bc404 feat: add FormProcessor for note creation and frontmatter updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:14:48 +01:00
1a5a7232bb feat: add FormStore for CRUD on form definitions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:12:52 +01:00
f7d1b01531 feat: add form field validators
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:12:47 +01:00
d87b60d98e feat: add template engine with {{variable}} substitution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:12:43 +01:00
b6f7d0db64 feat: add type definitions (FormDefinition, FormField, settings)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:12:39 +01:00
e9e87d52b1 feat: scaffold Formfire plugin project
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:10:42 +01:00
5945a93ef3 Add Formfire implementation plan
14-task plan covering scaffolding, types, core logic, UI components,
and integration testing. Uses A+B hybrid architecture with FormStore,
FieldRenderers, and FormProcessor layers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:07:08 +01:00
4f02ba3d37 Add Formfire design document
Design for structured data input plugin completing the Fire-Suite
(Input -> Observe -> Output). Covers data model, architecture,
UI concept, and scope for V1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 12:58:52 +01:00