Repository navigation
feat(tier-2): wire Library, Setup, Progress screens (G-20 through G-22) - #119
Merged
Merged
Conversation
…ort, inert handlers
…onboardingComplete
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:[]setTimeout(400)loading delay —isLoadingis alwaysfalse, loading UI removedsetTimeout(1000)import handler —handleImportnow adds items synchronously viastableHashIdfor deterministic IDsonPress={() => router.push(\/library/view/${item.id}`)}(was inertonPress={() => {}}`)onAction={handleImport}(was inertonAction={() => {}})useEffect,ActivityIndicatorimportsG-21 — Setup screen wired
screens/setup/index.tsx:setSubjectId(s.id)to persist selection through roadmapStore (was local state only)setSetupGoal(text)to persist goal through roadmapStore (was local state only)setOnboardingComplete(true)retained on completionstore/roadmapStore.ts:setupGoal: string | nullstate field (initialnull)setSetupGoal: (goal: string | null) => voidactionsubjectIdandsetSubjectIdalready existed — now actually called from Setup screenG-22 — Progress screen wired
screens/progress/index.tsx:setTimeout(300)loading delay — content renders immediately from synchronous store dataisLoadingstate and loading UI blockuseEffect,ActivityIndicatorimportsRed and green control
Owner gate
No owner input required for Tier 2. All changes are UI wiring only.