Skip to content

feat: add persistent visited story history - #996

Merged
Livinglist merged 4 commits into
masterfrom
codex/story-history-livinglist
Nov 28, 2026
Merged

Livinglist merged 4 commits into
masterfrom
codex/story-history-livinglist

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.
  • Restored job-link history tracking exactly matches the tested implementation.

@Livinglist
Livinglist merged commit 629fe3d into master Nov 28, 2026
2 checks passed
@Livinglist
Livinglist deleted the codex/story-history-livinglist branch November 28, 2026 00:50
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.

1 participant