Repository navigation
⚡ LightNotes v1.3.0
Note: Use v1.3A for a smoother version without the scroll bars.
Architecture, Database & Reliability
- Room v5 Schema Hardening (
MIGRATION_4_5): Removes dormant Room entities and redundant legacy columns (uuid,previewText,isDeleted,tagsCsv, etc.) plus the duplicateindex_note_metadata_noteIdindex while preserving legacy SQLite tables non-destructively, cutting home-list PSS to 63.7 MiB (192.2 MiB peak RSS) and SQLite memory to 0.62 MiB across 2,396 notes. - Search, Export & Backup Fixes: Escapes FTS4 special characters (
_,%,#, etc.) viaLIKE ... ESCAPE '\', filters archived notes from favorites/folder/search queries, preservesCREATEoutbox entries and folder unlink tombstones insidedb.withTransaction, improvesHeyTapImporterHTML/date parsing & deterministic IDs, and prevents duplicate-entry collisions in batch ZIP export. - Security & Biometrics: Uses API-aware
BiometricHelperauthenticators (BIOMETRIC_WEAK | DEVICE_CREDENTIALon API 28–29,BIOMETRIC_STRONGon API 30+), locksNoteEditorActivity(exported="false"), disables cloud auto-backup (allowBackup="false"), configures HTTPS-defaultnetwork_security_config.xmlwith local LLM exceptions, and moves Settings SAF backup I/O off the Main thread.
UI, Editor & Material 3 Upgrades
- Static Home Header & 4-Tab Bar: Fixed non-collapsing header/search/folder bar above
homeContentContainerwith 4 equal-width tabs (All Notes, Favorites, Archive, Trash) plus a top-right Folders button (showAllFoldersDialog) for browsing, creating, renaming, and deleting custom folders. - Clamped Non-Blocking Fast Scroller (
RecyclerFastScrollView): Spans cleanly from right below the static folder bar to the bottom navigation inset and clamps scrubbing to the last note without blank overscroll (0.00%list-scroll jank at 120 Hz). - Material 3 AI Output Modal (
dialog_ai_result.xml): Upgraded to an outlined28dpM3MaterialCardView, inset surface container body,48dpclose target, and responsiveFlowpill buttons (Copy, Append, Replace Selection / Replace Note). - Resolved Known Editor Issues: Supports Title + Body + Preview Find-in-Note with
offsetDescendantRectToMyCoordsscrolling, Archive/Trash pin guards & Trash Restore / Delete permanently actions,EditHistoryManagersnapshots on all formatting actions, sequential numbered-list continuation, blank-line-spaced fenced code blocks, and unified Light / OLED Dark XML theme tokens + API 27+ navigation bar contrast.
Verification & Footprint
- Release APK (
app-release.apk): 2.54 MiB (2,658,741bytes) —versionCode = 7,versionName = "1.3.0". - Unit Tests:
43/43tests passing across all 7 Robolectric + Espresso JVM suites (BugFixVerificationTest.ktadded).