Skip to content

feat(tier-2): wire Library, Setup, Progress screens (G-20 through G-22) - #119

Merged
dmuhoro merged 3 commits into
mainfrom
feat/tier-2-wire-library-setup-progress
Dec 1, 2026
Merged

dmuhoro merged 3 commits into
mainfrom
feat/tier-2-wire-library-setup-progress

Conversation

@dmuhoro

@dmuhoro dmuhoro commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Tier 2 — Wire Library, Setup, Progress screens (G-20 through G-22)

Gate-safe engineering only; no content imported, no version bump, no tag/release.

G-20 — Library screen wired

screens/library/index.tsx:

  • Removed 3 hard-coded fake documents (ids '1','2','3' with fake titles/sizes/dates) — items now start as empty []
  • Removed fake setTimeout(400) loading delay — isLoading is always false, loading UI removed
  • Removed fake setTimeout(1000) import handler — handleImport now adds items synchronously via stableHashId for deterministic IDs
  • Wired item press handler: onPress={() => router.push(\/library/view/${item.id}`)}(was inertonPress={() => {}}`)
  • Wired EmptyState action: onAction={handleImport} (was inert onAction={() => {}})
  • Removed unused useEffect, ActivityIndicator imports

G-21 — Setup screen wired

screens/setup/index.tsx:

  • Subject chip press now calls setSubjectId(s.id) to persist selection through roadmapStore (was local state only)
  • Goal input change now calls setSetupGoal(text) to persist goal through roadmapStore (was local state only)
  • setOnboardingComplete(true) retained on completion

store/roadmapStore.ts:

  • Added setupGoal: string | null state field (initial null)
  • Added setSetupGoal: (goal: string | null) => void action
  • subjectId and setSubjectId already existed — now actually called from Setup screen

G-22 — Progress screen wired

screens/progress/index.tsx:

  • Removed artificial setTimeout(300) loading delay — content renders immediately from synchronous store data
  • Removed isLoading state and loading UI block
  • Removed unused useEffect, ActivityIndicator imports

Red and green control

  • Full local gate green: typecheck 0, lint 0 errors (131 pre-existing warnings), 132 files / 738 tests, boundaries 0 violations, i18n 87 screens, no-raw-hex 330 files, architecture audit 0 violations, QA all systems verified, web export exported, audit 0 critical.

Owner gate

No owner input required for Tier 2. All changes are UI wiring only.

@vercel

vercel Bot commented Dec 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
easytutor Ready Ready Preview Dec 1, 2026 6:34pm UTC

@dmuhoro
dmuhoro merged commit 5c738f0 into main Dec 1, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview – easytutor — 463ca84e Deployed Dec 1, 2026 by vercel[bot]
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