Skip to content

v0.3.0 "Pill & Polish"

Choose a tag to compare

@shubh72010 shubh72010 released this 05 Sep 09:15
· 9 commits to main since this release

v0.3.0 — "Pill & Polish" — 2026-09-05

⚡ Performance

  • Fixed homescreen jank with many notes: NoteListScreen no longer runs BlurText per item. Previously each word spawned 3 Animatables + RenderEffect.createBlurEffect per frame → 500-800 concurrent blur animations on 50 notes. Now homescreen uses static Text (0 animatables). BlurText itself stripped to alpha + 12dp slide (no RenderEffect) for editor-only pop. app/src/main/java/com/folius/dotnotes/ui/NoteListScreen.kt:435 + BlurText.kt:70

✨ Added

  • Grid view — LazyVerticalStaggeredGrid (2 cols) with GridNoteItem, toggle via pill menu (List ↔ Grid), persisted in DataStore (SettingsManager.VIEW_MODE, NoteViewModel.viewMode). Survives restart.
  • Visual tutorial — TutorialOverlay + TutorialScreen with spotlight (pill/notes), interactive steps (must tap/expand pill), fixed 92dp+72dp bubble height to prevent jump. Auto-shown once (hasShownGestureHints), re-open from Settings → Help → View tutorial. MainActivity adds tutorial route and onTutorialClick.
  • Pinned always on top — NoteViewModel now partitions sortedWith(compareByDescending isPinned) after sort, so pinned notes stay above regardless of tab (NOTES/CHECKLISTS/MAPS) instead of being filtered out.

💄 Changed

  • Pill polish — corner radius now animates 28dp ↔ 32dp via animateDpAsState on all screens (list/editor/map/trash/secret) instead of snap 50 ↔ 32. Feels springy (damping 0.85, stiffness 300).
  • Settings redesign — segmented groups (Vault, Appearance, Intelligence, Storage & Backup, Help), inline expandable AI fields & storage detail, theme squircle picker inside single card, surfaceContainerLow grouping. Fixes prior broken duplicate pill overlay.
  • Note cards — color tint 0.22f + compositeOver(surfaceContainerLow) + 0.35f border keeps hue visible without killing readability; grid cards 0.24f/0.38f border.
  • Edge-to-edge — Theme.kt now sets windowBackground + transparent bars, themes.xml windowBackground @android:color/black + transparent status/nav to prevent white flash.
  • NoteEditor — removed redundant Map pill action (maps already via SEARCH tab).

Fixed

  • Settings hasInitialized sync replaced with LaunchedEffect per-field (no stale state on rotation).
  • MainActivity Scaffold padding now fillMaxSize().padding(padding) + NavHost background to avoid gap.
  • SecretNotes/Trash pill corner parity.

Diff

14 files +737/-514 vs main@0f834fa → 69c7ad4 — 2 new files (TutorialScreen.kt, TutorialOverlay.kt), 12 modified.