Matthias Nott
2026-03-15 32ede5388bb6c66c5d5679c2d73fd6ec6b2342bf
refs
author Matthias Nott <mnott@mnsoft.org>
Sunday, March 15, 2026 13:43 +0100
committer Matthias Nott <mnott@mnsoft.org>
Sunday, March 15, 2026 13:43 +0100
commit32ede5388bb6c66c5d5679c2d73fd6ec6b2342bf
tree 63bc756084ea0eb81d9d33b06e5548e2a7bf0e70 tree | zip | gz
parent e25bdba29f49b1b55a8a8cccdc4583aea3c101ed view | diff
Update splash screen config and add session unread indicator

High-level changes:
- Configure expo-splash-screen plugin with unified icon asset
- Add visual unread indicator for sessions with new activity
- Improve session rename UX by auto-scrolling to edited item

app.json:
- Replace splash-icon.png reference with icon.png for
consistency
- Add expo-splash-screen plugin configuration with 200px
image width and dark background color

components/SessionDrawer.tsx:
- Add `isUnread` prop to `SessionRow` to show server-pushed
unread state
- Display blue dot next to session name when `isUnread` is
true but `unreadCount` is 0 (indicates new activity not
yet reflected in count)
- Add `listRef` to DraggableFlatList for programmatic
scrolling
- Auto-scroll to session being renamed after keyboard
appears (400ms delay) so input remains visible
- Update `renderItem` dependencies to include
`unreadSessions` and `orderedSessions`

components/SessionPicker.tsx:
- Add `sessionScrollRef` to ScrollView for programmatic
scrolling
- Auto-scroll to session being renamed after keyboard
appears to keep rename input visible during editing

These changes improve session management UX by providing
better visual feedback for unread sessions and ensuring
rename inputs remain visible when the keyboard appears.
3 files modified
changed files
app.json diff | view | blame | history
components/SessionDrawer.tsx diff | view | blame | history
components/SessionPicker.tsx diff | view | blame | history