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,76 @@
|
||||
name: Bug Report
|
||||
description: Report something that isn't working as expected.
|
||||
labels:
|
||||
- kind/bug
|
||||
body:
|
||||
- type: input
|
||||
id: summary
|
||||
attributes:
|
||||
label: Summary
|
||||
description: One-line description of the bug.
|
||||
placeholder: e.g. "Tapping the FAB doesn't open the editor"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: What did you do, and what happened?
|
||||
placeholder: |
|
||||
1. Open the app
|
||||
2. Tap ...
|
||||
3. See error ...
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected behaviour
|
||||
description: What did you expect to happen?
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: severity
|
||||
attributes:
|
||||
label: Severity
|
||||
description: How broken is it?
|
||||
options:
|
||||
- Low (cosmetic / minor inconvenience)
|
||||
- Medium (feature broken but app still usable)
|
||||
- High (core functionality broken)
|
||||
- Critical (app crashes, data loss)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: app_version
|
||||
attributes:
|
||||
label: App version
|
||||
description: Found in Settings → Apps → Incido → App info, or via `adb shell dumpsys package org.incido.app | grep versionName`.
|
||||
placeholder: 0.2.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: device
|
||||
attributes:
|
||||
label: Device & Android version
|
||||
description: e.g. Pixel 7, Android 15; or `adb shell getprop ro.product.model` / `ro.build.version.release`.
|
||||
placeholder: Pixel 7, Android 15
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs (optional)
|
||||
description: |
|
||||
If you can, attach a `logcat` snippet from the moment the bug occurred.
|
||||
`adb logcat -d -v time | grep -i incido` after reproducing the bug.
|
||||
render: shell
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: Screenshots / recordings
|
||||
description: Drag-and-drop or paste links.
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,61 @@
|
||||
name: Feature Request
|
||||
description: Suggest a new feature for Incido.
|
||||
labels:
|
||||
- kind/feature
|
||||
body:
|
||||
- type: input
|
||||
id: summary
|
||||
attributes:
|
||||
label: Summary
|
||||
description: One-line description of the feature.
|
||||
placeholder: e.g. "Add Markdown export for individual notes"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem / motivation
|
||||
description: What problem does this solve? What can the user do today that they can't, or what do they do today that's harder than it should be?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposal
|
||||
attributes:
|
||||
label: Proposed solution
|
||||
description: Describe how you imagine the feature working. Screenshots, mockups, or links welcome.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives considered
|
||||
description: What other approaches did you consider, and why is your proposal better?
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: roadmap
|
||||
attributes:
|
||||
label: Roadmap relevance
|
||||
description: |
|
||||
Is this already in the Development Plan §6 backlog? If so, which item?
|
||||
If not, do you think it should be added there before implementing?
|
||||
validations:
|
||||
required: false
|
||||
- type: dropdown
|
||||
id: privacy
|
||||
attributes:
|
||||
label: Privacy impact
|
||||
description: Does this feature touch anything that leaves the device, scans user data, or requires a new permission?
|
||||
options:
|
||||
- None — fully on-device
|
||||
- Adds new on-device processing only
|
||||
- Requires a new optional permission
|
||||
- Requires network access (almost certainly out of scope for now)
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: extra
|
||||
attributes:
|
||||
label: Anything else?
|
||||
validations:
|
||||
required: false
|
||||
@@ -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
|
||||
-->
|
||||
@@ -0,0 +1,46 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
assemble-debug:
|
||||
name: Assemble debug APK
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Cache Gradle packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Build debug APK
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
- name: Upload APK as artefact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: incido-debug-apk
|
||||
path: app/build/outputs/apk/debug/app-debug.apk
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
Reference in new issue
Block a user