feat: v0.2 - polish, favourites, search, colours, checklists, signing
v0.2 bundles all four phases from the planning session into a single
shippable release. versionCode 2 -> 3, versionName 0.1.1 -> 0.2.
DOMAIN
- Add NoteColor enum (NONE / BLUE / GREEN / AMBER / RED / PURPLE).
- Note: isFavorite + color fields; checklistCounts / checklistSummary
helpers parsing '- [ ]' / '- [x]' lines.
- NoteRepository: new search(query) + setFavorite(id, value) methods.
DATA
- NoteEntity: additive @Index isFavorite + colorKey (Short).
- NoteRepositoryImpl: search uses ObjectBox 'contains' case-insensitive;
observeAll + search sort favourites-first then updatedAt DESC.
UI
- NoteListViewModel: debounced(150ms) query -> repository.search;
openSearch / closeSearch helpers; toggleFavorite.
- NoteListScreen: search bar in top app bar; star icon + 4dp colour
stripe per card; checklist summary line ('N open - M done').
- NoteEditorViewModel: toggleFavorite + setColor; initial-snapshot
fields captured on first non-null observeById for dirty detection.
- NoteEditorScreen: BackHandler + AlertDialog 'Discard changes?' on
unsaved edits; star toggle in top bar; LazyRow of colour swatches.
POLISH
- Discard-confirm dialog implements Development Plan §5.2.
- Real release signing config (signingConfigs.release pointing at the
dev keystore in keystore/); keystore/release.jks gitignored;
keystore/README.md documents generation & rotation.
- KMP migration deferred to v0.5 (tracked in plan §10).
COMMUNITY / GITEA
- .gitea/workflows/build.yml: assembleDebug on push & PR, APK as
artefact.
- CONTRIBUTING.md, CODE_OF_CONDUCT.md (Contributor Covenant v2.1),
.gitea/ISSUE_TEMPLATE/{bug_report,feature_request}.yml,
.gitea/PULL_REQUEST_TEMPLATE.md.
- README: v0.2 changelog + Gitea remote-setup instructions.
VERIFIED
- ./gradlew assembleDebug assembleRelease both green.
- Debug APK 25.6 MB, release 19.8 MB, both v0.2 / versionCode 3.
- apksigner verify: 'Verifies' / v2 scheme true.
- No INTERNET permission in either APK (privacy posture unchanged).
This commit is contained in:
1 parent
2215c3447b
commit
5e1b77bedf
21 files changed
+1242
-118
No files matched your search
@@ -0,0 +1,58 @@
|
||||
<!--
|
||||
Thanks for the PR! Please keep this template filled in so reviewers can
|
||||
move quickly. Delete any section that doesn't apply.
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
<!-- One or two sentences describing what this PR changes. -->
|
||||
|
||||
## Linked issues
|
||||
|
||||
<!-- "Fixes #123" / "Closes #456" / "Refs #789". Use "Fixes" only if this fully closes the issue. -->
|
||||
|
||||
## Type of change
|
||||
|
||||
- [ ] Bug fix (non-breaking change that fixes an issue)
|
||||
- [ ] New feature (non-breaking change that adds functionality)
|
||||
- [ ] Breaking change (fix or feature that changes existing behaviour)
|
||||
- [ ] Documentation / repo-meta (README, CONTRIBUTING, CI, templates — no app code change)
|
||||
- [ ] Refactor (no functional change)
|
||||
|
||||
## How tested
|
||||
|
||||
<!-- Be specific. "Tested on my phone" is not enough. -->
|
||||
|
||||
- [ ] `./gradlew assembleDebug` is green locally
|
||||
- [ ] Manual smoke test on a real device (Android 8.0+, ideally 12+ for dynamic colour)
|
||||
- [ ] Unit tests added / updated (only required for `core/domain` and `core/data` in v0.2)
|
||||
- [ ] Gitea Actions build on this PR is green
|
||||
|
||||
If you added new UI, attach a screenshot or short screen recording.
|
||||
|
||||
## Privacy / permissions checklist
|
||||
|
||||
- [ ] No `INTERNET` permission added
|
||||
- [ ] No analytics, telemetry, or third-party trackers introduced
|
||||
- [ ] `data_extraction_rules.xml` still excludes all domains
|
||||
- [ ] If a new permission is genuinely required, the PR description explains why
|
||||
|
||||
## Documentation
|
||||
|
||||
- [ ] `README.md` updated (Features section + any new build steps)
|
||||
- [ ] `Incido Development Plan.txt` §10 history table updated with this version
|
||||
- [ ] `CONTRIBUTING.md` still accurate (branch naming, commit format, etc.)
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] I've read the [Contributing guide](./CONTRIBUTING.md) and the [Code of Conduct](./CODE_OF_CONDUCT.md)
|
||||
- [ ] My commit messages follow Conventional Commits
|
||||
- [ ] My changes don't add new dependencies that aren't justified
|
||||
- [ ] I've tested on at least one real Android device
|
||||
|
||||
<!--
|
||||
Maintainer notes — delete before merging:
|
||||
- Confirm the Gitea Actions build is green before merging
|
||||
- Confirm the Development Plan §10 row is in place
|
||||
- If user-visible, ensure the README's Features section is updated
|
||||
-->
|
||||
Reference in new issue
Block a user