feat(lists): task and shopping-list note types with running total
dev / Build debug APK (push) Canceled after 15m52s

NoteType (TEXT / TASK_LIST / SHOPPING_LIST) persists in an additive
NoteEntity.typeKey column (ObjectBox auto-migrates; old rows = TEXT).
List bodies stay GitHub-flavoured '- [ ]' lines so search, field
encryption, backups (defaulted noteType) and Trash keep working.

Editor: checklist + basket buttons convert any note; rows are uniform
underlined line fields (13sp) - product, 'Quan.' quantity (defaults to
1 on blur), and POS-style price showing raw cents while focused and
$1.23 on focus loss. Sticky total bar sums qty x price of checked
rows in integer cents via an explicit {q.. p..} end-of-line marker so
product text is never scanned for numbers.

Fixes found in device testing: cards rendered raw markdown for list
notes stranded as TEXT by partial builds - read-time Note.inferListType
now heals them; quantity field was clipped invisible (64dp vs the 48dp
icon target) - replaced by the free-text line; the serializer emitted
a bare 'q' slot (broken '{q p1.23}' markers, stray ' x' folds) - now
null-when-default. Add-tag suggestions rebuilt on flatMapLatest so the
autocomplete re-queries per keystroke.

versionCode 32->33, versionName 0.3.8.0, APP_VERSION in lockstep.
This commit is contained in:
Incido Developer committed 2026-09-17 15:43:43 +12:00
1 parent 7b6187f99a
commit 32166a3100
14 files changed
+1044 -109

No files matched your search

+13 -13
View File
@@ -28,19 +28,19 @@ android {
applicationId = "org.incido.app"
minSdk = 26
targetSdk = 35
// v0.3.7.1: maintenance release — UI polish + one bug fix.
// - Editor top bar decluttered: camera / attach-file / add-tag
// moved into a bottom action row so the title + remaining
// buttons always fit (matches the §5.2 spec).
// - Image viewer: fixed the false "couldn't decode" toast that
// fired on every persisted image open (premature null check).
// - Search auto-focus + clear button; drawer tag list now
// scrolls within the sheet; add-tag sheet auto-focus.
// - New flat app icon (incido_flat_icon.png) replaces the
// v0.3.3.8 artwork; adaptive background re-tinted to match.
// - versionCode monotonic +1 from v0.3.7.0 (31).
versionCode = 32
versionName = "0.3.7.1"
// v0.3.8.0: feature release — task lists, shopping lists, hashtag fix.
// - Task-list note type: bottom-bar toggle converts the body into
// an editable checklist (checkbox + text rows, add / remove).
// - Shopping-list note type: like the task list plus a number-pad
// Cost field per item and a sticky running total of the checked
// (= in-basket) items (Development Plan §6.1).
// - Hashtag sheet now shows live-filtered suggestions again (the
// nested-collect autocomplete pipeline was stuck; flatMapLatest).
// - NoteEntity gains `typeKey` (additive, auto-migrated); backups
// round-trip `noteType` with a "TEXT" default for old files.
// - versionCode monotonic +1 from v0.3.7.1 (32).
versionCode = 33
versionName = "0.3.8.0"
}
// --- Signing ---