From 02b9af0e51f4bb784c8e2fd51eb1b2da5318f637 Mon Sep 17 00:00:00 2001 From: Wally Hackenslacker Date: Mon, 16 Mar 2026 03:26:57 -0400 Subject: [PATCH] fix: add dark-mode variants for board detail action icons --- AGENTS.md | 3 +-- app/src/main/res/drawable-night/ic_delete_24.xml | 12 ++++++++++++ .../drawable-night/ic_move_cards_horizontal_24.xml | 12 ++++++++++++ .../res/drawable-night/ic_select_all_grid_24.xml | 12 ++++++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_delete_24.xml create mode 100644 app/src/main/res/drawable-night/ic_move_cards_horizontal_24.xml create mode 100644 app/src/main/res/drawable-night/ic_select_all_grid_24.xml diff --git a/AGENTS.md b/AGENTS.md index 260dd03..bd3eecb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -75,7 +75,6 @@ Kanbn4Droid is an unofficial app to connect to and manipulate data stored in sel - Current status: implemented in `BoardsActivity` using XML Views, `RecyclerView`, `SwipeRefreshLayout`, and a `BoardsViewModel`/`BoardsRepository` flow. The screen includes auto-refresh on entry, pull-to-refresh, create board dialog with optional template selector, and two-step board delete confirmation. Board taps navigate to `BoardDetailActivity`. API calls are workspace-scoped; when no workspace is stored the app resolves workspaces through the API, stores the first workspace id as default, and uses it for board listing, template listing (`type=template`), and board creation. **Board detail view** - - The board detail view shows the lists in the board as vertical lists. - Each list has it's title at the top. - Clicking on the title of a list allows editing the title. @@ -98,7 +97,7 @@ Kanbn4Droid is an unofficial app to connect to and manipulate data stored in sel - Pressing "Delete" in the modal dialog MUST show a second confirmation modal asking if the user is sure, with buttons for "Cancel" and "I'm sure". - Only on pressing "I'm sure" in the second confirmation modal dialog should a board delete request be sent to the API. - Long-pressing any of the buttons must show a tooltip with the button name. -- Current status: implemented in `BoardDetailActivity` with `ViewPager2` (one list per page), inline list-title edit, card rendering (title/tags/due date locale formatting and expiry color), cross-page card selection, page-scoped select-all, move dialog with list selector, two-step delete confirmation, mutation guards while in progress, and API-backed reload/reconciliation behavior through `BoardDetailViewModel` and `BoardDetailRepository`. Selection action icons use local vector drawables (`ic_select_all_grid_24`, `ic_move_cards_horizontal_24`, `ic_delete_24`). Startup blocking dialogs are shown for missing board id and missing session. +- Current status: implemented in `BoardDetailActivity` with `ViewPager2` (one list per page), inline list-title edit, card rendering (title/tags/due date locale formatting and expiry color), cross-page card selection, page-scoped select-all, move dialog with list selector, two-step delete confirmation, mutation guards while in progress, and API-backed reload/reconciliation behavior through `BoardDetailViewModel` and `BoardDetailRepository`. Selection action icons use local vector drawables (`ic_select_all_grid_24`, `ic_move_cards_horizontal_24`, `ic_delete_24`) with day/night resource variants so dark mode uses light icon fills automatically. Startup blocking dialogs are shown for missing board id and missing session. **Card detail view** - The view shows the card's title in bold letters. Tapping on the card's title allows editing it. diff --git a/app/src/main/res/drawable-night/ic_delete_24.xml b/app/src/main/res/drawable-night/ic_delete_24.xml new file mode 100644 index 0000000..d4f35bc --- /dev/null +++ b/app/src/main/res/drawable-night/ic_delete_24.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/app/src/main/res/drawable-night/ic_move_cards_horizontal_24.xml b/app/src/main/res/drawable-night/ic_move_cards_horizontal_24.xml new file mode 100644 index 0000000..123a96b --- /dev/null +++ b/app/src/main/res/drawable-night/ic_move_cards_horizontal_24.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/app/src/main/res/drawable-night/ic_select_all_grid_24.xml b/app/src/main/res/drawable-night/ic_select_all_grid_24.xml new file mode 100644 index 0000000..6ba7cc3 --- /dev/null +++ b/app/src/main/res/drawable-night/ic_select_all_grid_24.xml @@ -0,0 +1,12 @@ + + + + + +