Commit Graph

11 Commits

Author SHA1 Message Date
Disco DeDisco
ada383c81a redefined & added arguments to existing FBVs in apps.dashboard.views; added new FBV to add to-do items to existing lists; added capture groups to some paths in .urls (tho these are now due for DRY refactor); django templating added to form action in templates/apps/dashboard/list.html; DashViewTest(), NewListTest() & NewItemTest() refactored for dynamic ids in .tests 2026-01-03 01:30:51 -05:00
Disco DeDisco
b4b2b43475 in apps.dashboard.tests & .urls, adding a new to-do item to the input field in either home.html or a blank-tabled list.html points to /apps/dashboard/newlist; in .views, home_page() FBV simplified to a mere html page render & new_list() FBV added that currently points to the global list 2026-01-02 21:50:37 -05:00
Disco DeDisco
87e40d977c deleted redundant assertions from apps.dashboard.tests; removed redundant table code from home.html now that list.html includes it; updated FTs to accomodate the title change to "Dashboard" in home.html 2026-01-02 20:01:23 -05:00
Disco DeDisco
61c2c1bcb3 created apps/dashboard/list.html template (for now, mirrors home.html); changes ListViewTest() to DashViewTest() in apps.dashboard.tests; added new list template test to same; updated view_list() FBV in .views to accomodate this new template 2026-01-02 19:50:27 -05:00
Disco DeDisco
47bf26ce49 plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass 2026-01-02 00:00:56 -05:00
Disco DeDisco
3081cd85b1 added new FT (not yet passing); changed list string syntax slightly 2026-01-01 21:42:52 -05:00
Disco DeDisco
2615445b97 added forloop.counter to list table rows & fixed name attr to use underscore instead of hyphen in home.html (this latter inconsistency caused functional_tests to fail) 2025-12-31 14:54:23 -05:00
Disco DeDisco
c318a526fc new and refined tests for dashboard app; home iterates list w. django templating; views refined for redirect after post request 2025-12-31 14:39:26 -05:00
Disco DeDisco
f6b73a17ea NewVisitorTest() in functional_tests almost passes, but needs DRY refactor; pair of functions added to HomePageTest() in apps.dashboard.tests; home_page() FBV in .views streamlined using django templating; templating also applied & form w. csrf functionality added to to-do list in home.html 2025-12-30 23:47:25 -05:00
Disco DeDisco
1ddabe4448 changed _ naming convention in el ids to -; expanded home.html to include head w. title, body w. h1, input & table for testing purposes; functional_tests updated to accomodate above changes & for more specific error handling during tests 2025-12-30 22:19:42 -05:00
Disco DeDisco
b3dba69708 actual commit from last attempt, now incl. all new files 2025-12-30 22:06:06 -05:00