Commit graph

28 commits

Author SHA1 Message Date
6e78497cbb feat: add conditions editor UI to form builder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 20:40:51 +01:00
bfe4dc6d5e feat: add reactive conditional visibility to form modal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 20:37:12 +01:00
c494a75242 feat: add condition evaluation engine with operator logic and visibility computation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 20:35:17 +01:00
e334ad7aab feat: add conditional logic types (ConditionOperator, ConditionRule, FieldConditions)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 20:33:54 +01:00
33be56dcb1 feat: add side-by-side live preview to form builder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:47:49 +01:00
8b9140ae6c feat: add drag & drop field reordering to form builder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:43:19 +01:00
03c471a60b feat: add snapshot-based undo/redo to form builder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:39:12 +01:00
bad48e5f5e feat: add form import/export buttons to settings tab
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:01:48 +01:00
b0d66c9660 feat: add form-io module for JSON export/import
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:01:44 +01:00
ca3fd5c9b7 feat: add slider, color, time to form builder with slider settings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:56:19 +01:00
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
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
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