Commit graph

21 commits

Author SHA1 Message Date
5be645f4e5
style admin texts page with card list and form
apply the page shell to the admin texts page and present each
existing text as a card-link plus the new-text form as a card with
a primary submit button. ids (#texts-list, #newTextName, #submit,
#back) and the name attribute on the input are preserved so the
existing cypress flows continue to work.
2026-05-01 11:32:21 +03:00
2349e69c4f
style today page with shell and card list
wrap the today page in the shared header + container/stack shell,
render scheduled nodes as cards via list-cards, and add a muted
empty-state message that toggles when no nodes are scheduled.
existing #scheduled-nodes-list and li selectors used by cypress
tests are preserved (the empty message lives in its own element).
2026-05-01 11:31:55 +03:00
807458ebe8
style home page with shell and card list
apply the new design system to the home page: wrap content in a
container/stack shell with a site-header for the logout and today
links, render the texts list as a vertical stack of cards via the
list-cards primitive, and dress the create plan modal with the new
modal/btn classes. js renders each text as an li.card with the
create-plan button preserved so existing cypress hooks (li,
.create-plan, .plan-name, .save-plan, .cancel-plan, ids) keep
matching.
2026-05-01 11:25:45 +03:00
bfacb5b62c
add today view route and template 2026-04-26 21:24:35 +03:00
c649dbbcc2
include credentials on fetch calls 2026-04-24 13:30:54 +03:00
8c52294b10
remove hardcoded user id from home 2026-04-24 13:29:49 +03:00
cb697daa03
add auth javascript 2026-04-24 13:29:38 +03:00
f836a09d02
submit create plan via fetch 2026-04-24 10:28:04 +03:00
e7d30d364a
add cancel handler for modal 2026-04-24 10:23:37 +03:00
389e125cef
open modal on create plan click 2026-04-24 10:21:53 +03:00
39539313c9
add create plan buttons to texts list 2026-04-24 10:20:48 +03:00
1c2ca21f44
add home javascript 2026-04-23 10:01:56 +03:00
12fd5a88b6
add toggle children button to nodes 2026-04-20 09:35:53 +03:00
9ed42654a3
add js for bulk creating nodes 2026-04-18 23:06:04 +03:00
3ce6a91e6e
add and save button functionality 2026-04-18 22:07:38 +03:00
f277ae7983
move fetch nodes by text id into its own function
re renders if theres a root list of nodes existing
2026-04-18 22:06:25 +03:00
f5a8b8447f
rename route for nodes and adjust calls to route 2026-04-18 21:01:02 +03:00
49140195f1
add parsing functions for nodes of text to create indented tree 2026-04-17 17:52:32 +03:00
68da48aedd
add view for single text 2026-04-17 09:23:38 +03:00
3689945cfe
make texts into a tags 2026-04-15 21:48:32 +03:00
4c919d2205
Add texts.js for AJAX load and form submission 2026-04-15 20:47:07 +03:00