diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 18:44:47 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 18:44:47 -0500 |
| commit | dbbad7cff74411b39db6d619a2a1ad6512aad634 (patch) | |
| tree | e205780cbe8ff065872f14f6095054084dc90c0e /Omni/Keys/Dre.pub | |
| parent | 838350a9afc27618abf9a78e721eb8902e99b6ab (diff) | |
Refactor Web.hs into smaller modules
Split 3231-line Web.hs into focused submodules:
- Types.hs (346 lines): Data types, forms, API definition
- Components.hs (1464 lines): Reusable UI components
- Pages.hs (866 lines): Full page ToHtml instances
- Partials.hs (247 lines): HTMX partial ToHtml instances
- Handlers.hs (642 lines): Servant handler implementations
- Web.hs (39 lines): Main module with run function
Reduces main file by 99%, preventing agent token bloat.
Task-Id: t-226
Amp-Thread-ID: https://ampcode.com/threads/T-355fae3a-03e9-4bdb-a1c7-6132576bf601
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Keys/Dre.pub')
0 files changed, 0 insertions, 0 deletions
