Skip to content

feat: Add configurable default bookmark list view#163

Merged
jensomato merged 2 commits into
jensomato:developfrom
ajaypremshankar:develop
May 3, 2026
Merged

feat: Add configurable default bookmark list view#163
jensomato merged 2 commits into
jensomato:developfrom
ajaypremshankar:develop

Conversation

@ajaypremshankar
Copy link
Copy Markdown
Contributor

@ajaypremshankar ajaypremshankar commented Apr 25, 2026

Closes #141

Adds a user-configurable "Default view" setting that controls which bookmark filter is active when the app
starts. Previously, the app always opened to the "All" view. Users can now choose from:

  • All (default, preserves existing behaviour)
  • Unread
  • Archive
  • Favorites

The setting is available under Settings > User Interface > Default view.

Additionally, the top app bar title on the bookmark list screen now dynamically reflects the active filter
(e.g., "Unread", "Favorites") instead of always showing "Bookmarks".

Changes

  • New DefaultFilter preference persisted via EncryptedSharedPreferences, loaded on startup to set the
    initial bookmark list filter
  • "Default view" setting in the UI Settings screen with a radio-button dialog, following the existing Theme
    dialog pattern
  • Top app bar title on the bookmark list screen now dynamically reflects the active filter instead of
    always showing "Bookmarks"
  • Fixed a pre-existing bug where the initial sync check was unreachable due to placement after an infinite
    flow collector

Screenshots

Screenshot 2026-04-25 at 11 46 01 AM Screenshot 2026-04-25 at 11 47 49 AM Screenshot 2026-04-25 at 11 48 21 AM Screenshot 2026-04-25 at 11 48 51 AM

Test plan

  • Fresh install opens on "All" (backwards compatible)
  • Change default to "Unread" → restart app → lands on "Unread", drawer highlights "Unread", title shows
    "Unread"
  • Repeat for "Archive" and "Favourites"
  • Switch back to "All" → restart → original behaviour restored
  • Manually switching filters via the drawer still works regardless of the default setting
  • Shared text intent still opens the create-bookmark dialogue regardless of the default filter
  • Setting persists across app restarts

@ajaypremshankar
Copy link
Copy Markdown
Contributor Author

@jensomato thanks for maintaining this app. Has given me such a peaceful way of reading. It just fits right in.

Here's a small contribution from my side. Hope we can action this. Thank you.

Copy link
Copy Markdown
Owner

@jensomato jensomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for your contribution. Could you look into the failing unit tests in BookmarkListViewModelTest

Comment thread app/src/main/java/de/readeckapp/ui/settings/SingleChoiceDialog.kt
Comment thread app/src/main/java/de/readeckapp/ui/list/BookmarkListScreen.kt
@jensomato jensomato merged commit a293124 into jensomato:develop May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change initial tab to "Unread"

2 participants