Skip to content

feat: add persistent visited story history - #995

Closed
Livinglist wants to merge 2 commits into
masterfrom
codex/story-history
Closed

Livinglist wants to merge 2 commits into
masterfrom
codex/story-history

Conversation

@Livinglist

@Livinglist Livinglist commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Adds a History pill immediately after Favorite. HistoryView shows the latest 50 distinct visited stories using the same compact rows as Favorite’s Story tab, with a matching centered message when empty. Revisiting a story moves its updated snapshot to the front.

HistoryCubit maintains visit order and serializes restoration and persistence through HistoryRepository. Story visits are recorded when a story screen opens; job stories that open their link directly are also recorded. The former submissions HistoryCubit is renamed SubmittedCubit to preserve the Submitted tab and logout behavior. History uses the existing refresh controller’s no-more-items state.

Validation:

  • All 17 targeted cubit, repository, and widget tests passed.
  • Static analysis of lib and all new tests found no issues.
  • git diff --check passed.

@Livinglist Livinglist closed this Nov 28, 2026
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.

2 participants