Person Note template buttons: 2x2 grid, much larger #59

Open
opened 2026-07-26 16:32:55 +02:00 by cloudbot · 0 comments
Collaborator

Goal

Change the entry-template buttons on the Log tab (rendered by
TemplateGrid.kt, including the "Person Note" template) from the current
small, variable-row 2-column layout into a fixed 2x2 grid of much larger
buttons.

Motivation

Current buttons (TemplateGridCard) are small and content-sized (44dp icon
tile, 16dp padding, no explicit card height), making them harder to tap
accurately and less visually prominent than they should be. A reference
image with target sizing will be attached to this issue.

Acceptance criteria

  • Template buttons render as a fixed 2x2 grid (not chunked(2) over an
    arbitrary-length list)
  • Button size matches the attached reference image (larger tap targets,
    larger icon, larger label)
  • Layout still reads correctly if there are fewer than 4 templates, or
    more than 4 (decide overflow behavior — e.g. scroll, pagination, or cap)

Non-goals / constraints

  • Not changing which templates exist or how they're synced from Outline
  • Not redesigning the rest of the Log tab layout

app/src/main/java/family/marquezkeenan/logbook/ui/log/TemplateGrid.kt,
LogViewModel.kt, LogScreen.kt

## Goal Change the entry-template buttons on the Log tab (rendered by `TemplateGrid.kt`, including the "Person Note" template) from the current small, variable-row 2-column layout into a fixed 2x2 grid of much larger buttons. ## Motivation Current buttons (`TemplateGridCard`) are small and content-sized (44dp icon tile, 16dp padding, no explicit card height), making them harder to tap accurately and less visually prominent than they should be. A reference image with target sizing will be attached to this issue. ## Acceptance criteria - [ ] Template buttons render as a fixed 2x2 grid (not `chunked(2)` over an arbitrary-length list) - [ ] Button size matches the attached reference image (larger tap targets, larger icon, larger label) - [ ] Layout still reads correctly if there are fewer than 4 templates, or more than 4 (decide overflow behavior — e.g. scroll, pagination, or cap) ## Non-goals / constraints - Not changing which templates exist or how they're synced from Outline - Not redesigning the rest of the Log tab layout ## Related `app/src/main/java/family/marquezkeenan/logbook/ui/log/TemplateGrid.kt`, `LogViewModel.kt`, `LogScreen.kt`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
utilities/Logbook#59
No description provided.