Skip to content

[Feature branch] Recommended reading list #5567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

cooltey
Copy link
Collaborator

@cooltey cooltey commented May 16, 2025

@cooltey cooltey added the HOLD Will review as soon as other more pressing PRs are merged/released. label May 16, 2025
cooltey and others added 10 commits May 16, 2025 15:07
* Add preferences and enum classes for Recommended Reading list

* Naming

* - prefs name rename

---------

Co-authored-by: williamrai <[email protected]>
* Only create table if Cateogry table does not exist

* Create database table for Recommended Reading list

* Lint

* Remove "read" and change "expire" to "status" for flexibility

* Migrate DB to version 30

* Dont update db 29 json

* Change namespace type from text to integer

---------

Co-authored-by: William Rai <[email protected]>
@cooltey cooltey force-pushed the recommended-reading-list-design branch from 681da2f to 4c211ae Compare May 21, 2025 00:19
cooltey and others added 7 commits May 21, 2025 15:24
* Create onboarding message card for Recommended Reading list

* Revert change

* Set null for message label

* Set container click to true
* Create recurring task for Recommended Reading list

* Update viewModel

* initial logic to get the recommendations

* Recommended source with title, language and offset

* Add recurring task

* Fininsh the first draft of the algorithm

* Bind recommendedPageDao into the recurring task

* Additional condition

* Uppercase
@dbrant dbrant changed the title [Feature breanch] Recommended Reading list [Feature branch] Recommended reading list May 23, 2025
cooltey and others added 6 commits May 27, 2025 15:48
…st (#5582)

* Build layout

* Fix lint

* Compose screen

* Update compose

* Update dao and viewmodel

* Remove xml

* more logic of handling viewModel

* manifest

* Add clickable modifier

* Finalize and add parameter for settings screen

* Code review comments

* Proper onclick sources

* Use select state

* Put logic back

* Unused imports

* Code review comments

* Format a bit

* Refine loading indicator
…ist (#5595)

* Update the logic of showing onboarding card for Recommended reading list

* connect with activity and set the preference to true if complete the onboarding
Williamrai and others added 6 commits May 29, 2025 15:01
* - adds ab test for rrl
- adds rrl event
- adds ab test prefs for rrl

* - adds active_interface
- adds ab test condition to show rrl onboarding card

* - code updates
* - adds discover to general settings
- adds Discover activity and compose screen with DiscoverReadingListSwitch functionality

* - adds icons
- adds articles number option
- adds update frequency option
- adds a radio list dialog
- adds noRippleClickable extension

* - removes individual state management to viewmodel state management
- also updates the enum RecommendedReadingListUpdateFrequency

* - adds discover source, interests and notifications options
- adds image resource for notification
- adds SettingsSection and new string

* - adds a max article number and initial placeholder behavior for ArticlesNumberView

* - adds confirmation dialog for discover and notification

* - structure change (moves view model to activity and hoist events to activity)
- adds snackbar and undo action when discover source is selected
- adds updateDiscoverSource function
- code and ui fixes

* - code fixes
- adds a general WikipediaAlertDialog.kt

* - fixes format

* - ui fixes

* - adds consistent naming

* - package, files, class rename

* - updates no ripple code

* - adds preview
* Follow-up: Recommended reading list settings screen

* Add settings preference visibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HOLD Will review as soon as other more pressing PRs are merged/released.
Development

Successfully merging this pull request may close these issues.

3 participants