summaryrefslogtreecommitdiff
path: root/Omni/Fact.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-28 02:02:45 -0500
committerBen Sima <ben@bensima.com>2025-11-28 02:02:45 -0500
commitdb102cb5206acb6008ea80a6c920dd6f320abe2d (patch)
tree9e3eda77bbaaaef93153b1ef22282acc8ca15b82 /Omni/Fact.hs
parent340d92f19d8839709f4f2d6ce7b96cbb22f73932 (diff)
Add fact detail/edit view in web UI
All tests pass with no warnings. The implementation is complete: 1. **Added new routes** (`/kb/:id`, `/kb/:id/edit`, `/kb/:id/delete`) to 2. **Created `FactDetailPage` data type** with `FactDetailFound` and `Fa 3. **Created `FactEditForm`** data type for handling form submissions 4. **Added handlers** (`factDetailHandler`, `factEditHandler`, `factDele 5. **Added `ToHtml` instance for `FactDetailPage`** with: - Detail view showing project, confidence, created date - Editable content textarea - Related files input - Confidence slider - Source task link - Danger zone with delete button 6. **Updated KB listing** to make facts clickable links to their detail 7. **Added CSS styles** for form elements, buttons, danger zone, and err Task-Id: t-158.5
Diffstat (limited to 'Omni/Fact.hs')
0 files changed, 0 insertions, 0 deletions