My work: move In progress above Next 7 days and make all sections collapsible #145

Merged
CrowderSoup merged 1 commit from my-work-collapsible-sections into main 2026-12-01 21:52:19 +00:00
Owner

Summary

  • Move the In progress section on My work between Today and Next 7 days on both web and Android.
  • Make every section on My work collapsible the same way Later is (starting expanded for Overdue / Today / In progress / Next 7 days, and collapsed for Later).

Details

Web

  • Reordered group_my_work in apps/boards/views_my_work.py (overdue, today, doing, upcoming, later).
  • Converted non-Later My work groups in templates/my_work/_list.html to <details class="list-group ..." open> with the same <summary class="list-group-toggle"> and chevron caret as partials/_lazy_group.html.
  • Generalized details.my-work-later styles in static/app.css to details.list-group and reset details.list-group + details { margin-top: 0; } against oat.css.
  • Updated static/app.js to keep collapsed My work sections closed (and open lazy groups open) across HTMX swaps, including when ticking off a row detaches the main swap target.
  • Updated unit tests (apps/boards/tests/test_my_work.py) and added Playwright browser tests (tests/browser/test_my_work_browser.py).

Android

  • Reordered MyWorkGroup in android/.../today/MyWork.kt (Overdue, Today, Doing, Upcoming, Later) and updated MyWorkTest.kt.
  • Added an optional expanded chevron indicator to SectionLabel in Components.kt and made all My work sections collapsible in TodayScreen.kt (with Later starting collapsed).
## Summary - Move the **In progress** section on **My work** between **Today** and **Next 7 days** on both web and Android. - Make every section on **My work** collapsible the same way **Later** is (starting expanded for Overdue / Today / In progress / Next 7 days, and collapsed for Later). ## Details ### Web - Reordered `group_my_work` in `apps/boards/views_my_work.py` (`overdue`, `today`, `doing`, `upcoming`, `later`). - Converted non-Later My work groups in `templates/my_work/_list.html` to `<details class="list-group ..." open>` with the same `<summary class="list-group-toggle">` and chevron caret as `partials/_lazy_group.html`. - Generalized `details.my-work-later` styles in `static/app.css` to `details.list-group` and reset `details.list-group + details { margin-top: 0; }` against `oat.css`. - Updated `static/app.js` to keep collapsed My work sections closed (and open lazy groups open) across HTMX swaps, including when ticking off a row detaches the main swap target. - Updated unit tests (`apps/boards/tests/test_my_work.py`) and added Playwright browser tests (`tests/browser/test_my_work_browser.py`). ### Android - Reordered `MyWorkGroup` in `android/.../today/MyWork.kt` (`Overdue`, `Today`, `Doing`, `Upcoming`, `Later`) and updated `MyWorkTest.kt`. - Added an optional `expanded` chevron indicator to `SectionLabel` in `Components.kt` and made all My work sections collapsible in `TodayScreen.kt` (with `Later` starting collapsed).
My work: move In progress above Next 7 days and make all sections collapsible
All checks were successful
tests / pytest (push) Successful in 1m15s
android / apk (push) Successful in 9m30s
7873c415a6
CrowderSoup deleted branch my-work-collapsible-sections 2026-12-01 21:52:19 +00:00
Sign in to join this conversation.
No description provided.