summaryrefslogtreecommitdiff
path: root/all_tasks.json
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-29 18:17:07 -0500
committerBen Sima <ben@bensima.com>2025-11-29 18:17:07 -0500
commit7f3b9cb7bfce8b55e515f6be1bf0cb917d570c4a (patch)
tree2f9ddc97ea8a8306b0669410602b6b74e08c4d01 /all_tasks.json
parent4ef0658b1eb2943ac14dfa3c447f538289e6f50d (diff)
Fix Recent Activity pagination and refresh bugs
Build and tests pass. The implementation is complete: **Summary of changes to [Omni/Jr/Web.hs](file:///home/ben/omni/Omni/Jr/W 1. Added `Data.Time.Clock.POSIX` import for `posixSecondsToUTCTime` and 2. Replaced `RecentActivityPartial` with two new types: - `RecentActivityNewPartial` - for auto-refresh (prepends new items) - `RecentActivityMorePartial` - for "Load More" pagination 3. Updated API routes: - `/partials/recent-activity-new?since=<unix-ts>` - returns new items - `/partials/recent-activity-more?offset=<n>` - returns paginated old 4. Updated `HomePage` render with proper HTMX attributes: - Added `#recent-activity` ID and `data-newest-ts` attribute - Added `#activity-list` ID for the list container - Added `#activity-load-more` ID for the button - Updated hx-targets and hx-swap attributes 5. Added `taskToUnixTs` helper function 6. Created two new ToHtml instances with OOB updates for button replacem Task-Id: t-169
Diffstat (limited to 'all_tasks.json')
0 files changed, 0 insertions, 0 deletions