####User story
As a logged-out reader, I want to keep access to my reading history so I can see what I’m reading. Secondly, I want to learn that there are more insights available if I’m logged in, so that I can make a decision on whether or not to create an account.
####Background
The team is testing an activity tab that would add reading insights to existing history tab with the goal of deepening engagement and increasing retention of readers.
####Requirements
- Show logged-out users and temp-account users a modified version of the activity tab that has only the Timeline available
- Timeline should only show only reading history
- Users can swipe to delete items from their timeline (no other swipe actions required)
- Show log-in prompt to "See more reading and editing insights"
- Users can close this
- All modules except timeline are hidden
- Timeline should only show reading history
- Show the overflow menu
- Logged-out users who turn of "Timeline" should also hide their timeline in the logged-out state
- Allow clearing reading history to clear the timeline
- [[ https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/App---%3E-Activity-Tab?node-id=368-1571&t=oLmEycZgBYD4WSQE-4 | Empty state ]] "No history to show" when there are no locally stored articles, and for users with Timeline turned off
Nice to have
- If a user edits becomes a temporary account, show another impression of thisthe log-in prompt
####Designs
https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/App---%3E-Activity-Tab?node-id=355-3287&t=oLmEycZgBYD4WSQE-4
####Reference
Android implementation: T399625
####Engineering notes
- If non-permanent, add “See more reading and editing insights” view
- Needs pill button, login button, X button, title, subtitle.
- X button should make it disappear for ip user forever, persist this as new user defaults flag? It should also make it disappear for temporary account user forever, persist this as a different user defaults flag. Be sure if a user switches from ip to temporary account user, this prompt pops back up until the 2nd X is pressed.
- Create account / login takes you to appropriate flow
- Upon successful login or create account, entire activity tap should refresh so login-walled data now appears. Login prompt should disappear.
- If non-permanent, ensure editing and saved article rows are not shown in timeline. Upon login / account creation (from either prompt or Profile menu), ensure editing and saved article rows are back in timeline.