Skip to content

Pool system forgot 2 pool routing data model age out settings persistence navid shad #86exnxp4t #86exnxpez #54

Merged
navidshad merged 2 commits into
devfrom
CU-86exnxp4t_Pool-system-Forgot-2-Pool-routing-data-model-age-out-settings-persistence_Navid-Shad
Jul 3, 2026
Merged

Pool system forgot 2 pool routing data model age out settings persistence navid shad #86exnxp4t #86exnxpez #54
navidshad merged 2 commits into
devfrom
CU-86exnxp4t_Pool-system-Forgot-2-Pool-routing-data-model-age-out-settings-persistence_Navid-Shad

Conversation

@navidshad

@navidshad navidshad commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

📋 Summary

This PR introduces a tabbed Study settings page with updated study navigation terminology for improved user experience. Additionally, it implements several enhancements to the Pool feature, including a Pool encode queue, Forgot×2 routing, age-out functionality, and new board/settings surfaces.

🔗 Related Tasks

#86exnxp4t - Implement Pool encode queue, Forgot×2 routing, and age-out
#86exnxpez - Add board and settings surfaces for Pool
#d5e35bc - Style tabbed Study settings page and update study nav terminology

📝 Additional Details

  • The tabbed interface on the Study settings page enhances navigation clarity and usability.
  • Pool feature improvements optimize data processing and routing logic.
  • Age-out functionality helps manage resource lifecycle effectively.
  • Board and settings surfaces provide new UI components for Pool configuration.

📜 Commit List

d5e35bc style(settings): tabbed Study settings page + study nav terminology
f6ebc1d feat(pool): Pool encode queue, Forgot×2 routing, age-out, and board/settings surfaces #86exnxp4t #86exnxpez

navidshad and others added 2 commits July 3, 2026 15:17
…ettings surfaces #86exnxp4t #86exnxpez

Introduce a per-user Pool that holds newly saved phrases for a first-encounter
(encode) step before they enter Leitner spaced repetition.

Backend (86exnxp4t):
- New pool module (collection, PoolService, get-pool / complete-pool-session RPCs).
- Route phrase saves (insert-one/insert-many) into the Pool instead of Leitner L1.
- Forgot×2 at L1 re-routes a stuck card back to the Pool (reuses consecutiveIncorrect).
- Daily 03:00 age-out job promotes items past the user's cut-off into L1 silently.
- Consolidate reviewHour/reviewInterval + new poolAgeCutoffDays/poolChunkSize on the
  profile doc, with a profile-first fallback and a one-time backfill script.
- promote() is crash-safe/idempotent via addPhraseToBox onlyIfAbsent; encountered flag
  distinguishes encoded-then-promoted from aged-out.

Frontend (86exnxpez):
- Pinia pool store; count-adaptive PoolCard on /board (Start / Do the next N).
- PoolReviewSession + PoolReviewItem encode flow reusing ClozeCard; progress dots.
- Pool settings section on /settings/preferences (age cut-off, chunk size, review time).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Split the preferences page into a segmented Smart Review / Pool switcher so
  only one settings domain (and its single save bar) shows at a time, replacing
  the two stacked blocks with dueling save controls.
- Rebuild the Pool settings as a self-contained card (icon header, divided rows,
  one save footer).
- Adopt "Study" terminology in the sidebar: PRACTICE section -> STUDY, and the
  settings link renamed to "Study Settings" and moved to the end of the section
  (nav + profile menu). The in-tab card title stays "Smart Review Settings".

Presentation/labels only — no behavior change; the update-settings flow is intact.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@navidshad

Copy link
Copy Markdown
Contributor Author

@navidshad

Copy link
Copy Markdown
Contributor Author

@navidshad navidshad changed the title Cu 86exnxp4t pool system forgot 2 pool routing data model age out settings persistence navid shad Pool system forgot 2 pool routing data model age out settings persistence navid shad #86exnxp4t #86exnxpez Jul 3, 2026
@navidshad navidshad merged commit b63ad1d into dev Jul 3, 2026
6 checks passed
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-dev.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant