Commit graph

33 commits

Author SHA1 Message Date
igor
2211238269 sync editor folder select on folder create/delete/rename
Some checks are pending
Build and push Joplock image / build-and-push (push) Waiting to run
2026-04-27 23:23:10 +12:00
igor
b57f79c59e fix session expiry: delete from both sessions tables 2026-04-27 23:03:52 +12:00
igor
65b0c9c463 improve auto logoff 2026-04-27 22:51:54 +12:00
igor
3e30ad1b68 offline detection 2026-04-27 22:05:42 +12:00
igor
22a40f5393 fix trash
Some checks are pending
Build and push Joplock image / build-and-push (push) Waiting to run
2026-04-27 20:35:02 +12:00
igor
082eea707b fix trash 2026-04-27 17:50:48 +12:00
igor
b735224377 Refactor route rendering and harden editor session handling
Some checks are pending
Build and push Joplock image / build-and-push (push) Waiting to run
2026-04-27 00:24:23 +12:00
igor
bd291548b9 Update AGENT_GUIDE with recent work, conventions, and CI info 2026-04-26 17:44:51 +12:00
igor
7f62ed2a34 Add plans/ to .gitignore 2026-04-26 17:44:05 +12:00
igor
e8d0d6bdd5 Keep checked text at normal color, only accent the icon
Some checks are pending
Build and push Joplock image / build-and-push (push) Waiting to run
2026-04-26 17:40:32 +12:00
igor
840612fb3b Remove strikethrough from checked checkboxes 2026-04-26 17:39:26 +12:00
igor
d7d1815ac7 Match checkbox spacing to bullet lists, tighten icon line-height 2026-04-26 17:36:32 +12:00
igor
8db457a903 Reduce checkbox list item spacing 2026-04-26 17:33:28 +12:00
igor
1be60d47d5 Fix checkbox alignment: use flexbox instead of hanging indent 2026-04-26 17:32:01 +12:00
igor
b51048db8d Make checkbox icon bigger/bold with accent color, independent from text styling 2026-04-26 17:30:07 +12:00
igor
46bfc5f4f3 Make checked checkbox items bigger and bold 2026-04-26 17:27:54 +12:00
igor
63758db294 Style checked checkboxes with accent color 2026-04-26 17:26:25 +12:00
igor
9d6531cbf8 Revert checkbox icon span — broke click-to-toggle; no CSS-only solution without JS changes 2026-04-26 17:24:28 +12:00
igor
7a96e1a997 Style checked checkboxes with accent color icon in preview mode 2026-04-26 17:22:26 +12:00
igor
d3045a3165 Fix search input character loss: capture value at beforeSwap not beforeRequest 2026-04-26 17:11:31 +12:00
igor
909484b1ae Fix All Notes showing empty: normalize __all_notes__ to __all__ in folder-notes endpoint 2026-04-26 17:04:10 +12:00
igor
540ec1fd32 Bump service worker cache version to force PWA refresh 2026-04-26 16:55:56 +12:00
igor
8e83712353 Revert resource caching to no-store for maximum security 2026-04-26 16:47:40 +12:00
igor
8adc4f2ab9 Cache resources with immutable header to eliminate repeated image fetches from DB 2026-04-26 16:43:02 +12:00
igor
c4e1eac6fb Add gzip compression for HTML responses and sanitize hx-* attrs from rendered markdown 2026-04-26 16:39:40 +12:00
igor
412d4b7ef0 Fix UX issues: note flash, search input drop, spinner on search/mobile, tablet on phone 2026-04-26 16:23:09 +12:00
igor
245ceae603 Fix tablet view note list scrolling by adding min-height:0 and overflow:hidden to grid items; update plan to reflect Phase 6 completion 2026-04-26 15:01:37 +12:00
igor
01eccb973a implement phase 6: search pagination + pg_trgm trigram index
- ensureIndexes: CREATE EXTENSION pg_trgm + GIN index on extracted title+body
- searchNotes: add limit/offset params (default 50/0)
- /fragments/search: read offset param, detect hasMore, paginate
- /fragments/mobile/search: same, target #mobile-search-results
- searchResultsFragment: Load more button when hasMore (hx-swap=beforeend)
- mobileSearchFragment: Load more button when hasMore
- Tests: 137/137 passing (8 new search pagination tests)
2026-04-26 12:38:09 +12:00
igor
3af113e0da update plan: mark phases 1-5 done, add phase 6 search pagination + pg_trgm 2026-04-26 12:35:00 +12:00
igor
fd468fe3e3 implement lazy folder expansion and paginated note loading for large databases
- Add DB index on (owner_id, jop_type, jop_parent_id, jop_updated_time DESC)
- New folderNoteCountsByUserId query: GROUP BY folder, no row data fetched
- New noteHeadersByFolder query: paginated per folder (LIMIT 100)
- navData() now fetches only folders + counts (no note rows on page load)
- navigationFragment: lazy mode renders empty note lists, lazy-loaded on expand
- toggleNavFolder / initNavPanel: htmx fetch on first expand, data-loaded guard
- Add /fragments/folder-notes endpoint for lazy per-folder note pages
- Add folderNotesPageFragment with Load more button for pagination
- Mobile: folders use counts Map, notes use paginated noteHeadersByFolder
- Tests: 129/129 passing
2026-04-26 12:22:05 +12:00
igor
9a003e3bd4 add lazy pagination plan 2026-04-26 12:11:02 +12:00
igor
91fb055c75 improve mobile search and editor state
Some checks are pending
Build and push Joplock image / build-and-push (push) Waiting to run
Keep search context when opening notes and make in-note search behave consistently across desktop, mobile, markdown, and render modes.
2026-04-26 00:55:23 +12:00
igor
d606ecf60f fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00