ab96364a24move code into newly created ./src/ dir
Disco DeDisco
2026-01-03 23:36:38 -05:00
011fca41efupdated NewVisitorTest() FT to instantiate StaticLiveServerTestCase instead, for containerization compatibility
Disco DeDisco
2026-01-03 23:31:22 -05:00
85f1db1bc3set STATIC_ROOT in core.settings; disabled admin in same & .urls
Disco DeDisco
2026-01-03 22:04:39 -05:00
e3e753369fadded lxml & cssselect to req'ments; this allowed more precise targeting of html attrs in apps.dashboard.tests'
Disco DeDisco
2026-01-03 21:12:28 -05:00
08305532c2bootstrap libraries added via cdn js & css script & link tags; some bootstrap styling added to base.html & list.html; unit tests updated to accomodate html parsing in assertContains() library fns (but n.b., not all unit tests have been updated to accomodate bootstrap attrs, so some still fail); all FTs currently passing from last commit
Disco DeDisco
2026-01-03 20:05:41 -05:00
8955d51474other files inadvertently skipped in prev commit
Disco DeDisco
2026-01-03 19:21:40 -05:00
a393628ca2refactor templates to use core/base.html, newly created; small accomodations to functional_tests for title and header block rendering
Disco DeDisco
2026-01-03 19:20:41 -05:00
779f46c5bacommenced FTs for layout & styling
Disco DeDisco
2026-01-03 18:35:58 -05:00
a3ca56d606created apps.dashboard.urls & offloaded many of the app-specific paths from core.urls here instead
Disco DeDisco
2026-01-03 01:47:27 -05:00
7425b14363simplified vars & args in view_list() FBV in apps.dashboard.views; extended dynamic list handling to django templating in list.html
Disco DeDisco
2026-01-03 01:36:37 -05:00
ada383c81aredefined & 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
Disco DeDisco
2026-01-03 01:30:51 -05:00
b09bec02dcapps.dashboard.models, .tests & .views all handle new list creation when a new task item is added (but for now, undesirably, always a new list for each task item; made migrations accordingly
Disco DeDisco
2026-01-02 22:19:08 -05:00
b4b2b43475in 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
Disco DeDisco
2026-01-02 21:50:37 -05:00
87e40d977cdeleted 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
Disco DeDisco
2026-01-02 20:01:23 -05:00
61c2c1bcb3created 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
Disco DeDisco
2026-01-02 19:50:27 -05:00
47bf26ce49plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass
Disco DeDisco
2026-01-02 00:00:56 -05:00
3081cd85b1added new FT (not yet passing); changed list string syntax slightly
Disco DeDisco
2026-01-01 21:42:52 -05:00
4af36ca49crefactored tests for less clunky explicit wait times
Disco DeDisco
2026-01-01 17:52:19 -05:00
8b3d82fff5functional_tests.py -> functional_tests/tests.py; also initiated as django folder w. __init__.py, __pycache__/
Disco DeDisco
2026-01-01 15:50:40 -05:00
2615445b97added 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)
Disco DeDisco
2025-12-31 14:54:23 -05:00
c318a526fcnew and refined tests for dashboard app; home iterates list w. django templating; views refined for redirect after post request
Disco DeDisco
2025-12-31 14:39:26 -05:00
1950eaa12emore robust home_page() FBV in apps.dashboard.views feat. individual item handling; .tests return OK given this new view
Disco DeDisco
2025-12-31 00:47:17 -05:00
e3fdc54ad4+2 new migrations in apps.dashboard; added new Item() model to dashboard.models; added ItemModelTest() to .tests; cleaned up deadspace in functional_tests
Disco DeDisco
2025-12-31 00:26:39 -05:00
822dcd3a96refactor to NewVisitorTest() model in functional_tests, incl. new helper method for DRY table & row assertion
Disco DeDisco
2025-12-30 23:54:44 -05:00
f6b73a17eaNewVisitorTest() 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
Disco DeDisco
2025-12-30 23:47:25 -05:00
1ddabe4448changed _ 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
Disco DeDisco
2025-12-30 22:19:42 -05:00
b3dba69708actual commit from last attempt, now incl. all new files
Disco DeDisco
2025-12-30 22:06:06 -05:00
394d46c718refactored homepage to incl. template structure in root dir; renamed lists app to dashboard & renamed paths in linked py files accordingly (e.g., apps.dashboard.apps, .views; core.settings)
Disco DeDisco
2025-12-30 22:05:33 -05:00
f267dd98aeexpanded NewVisitorTest() model in functional_tests to check if user can input a to-do item, which fails
Disco DeDisco
2025-12-30 17:44:48 -05:00
70392f3103streamlined HomePageTest() test model; linked default index path to urlpatterns in core.urls
Disco DeDisco
2025-12-30 17:22:22 -05:00
d4c00424f5added home_page() FBV to apps.lists.views; added HomePageTest() model to .tests; installed django-stubs & related dependencies
Disco DeDisco
2025-12-30 16:15:55 -05:00
b7d3535402created apps.lists, w. deliberately failing unit test
Disco DeDisco
2025-12-30 15:49:50 -05:00
696814eb19Expanded browser control in .functional_tests
Disco DeDisco
2025-12-29 22:23:00 -05:00
7285e1d229init commit
Disco DeDisco
2025-12-29 21:52:45 -05:00