Repository navigation
feat(profile-completion): optional progress on SectionStatus - #41
Merged
Merged
Conversation
The api now returns `progress: {current, required}` on sections that
complete at a count (skills need 3, certifications 1), so a client can
say "Core Skills · 1 of 3" instead of a bare "Add" (Scaffald/SaaS#1418).
Optional, so older api responses still type-check.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
thinkclay
added a commit
to Scaffald/SaaS
that referenced
this pull request
Nov 24, 2026
… 1 of 3" (#1418) (#1427) * fix(dashboard): one number on the completion card, and "Core Skills · 1 of 3" (#1418) The Build-your-profile card printed the weighted completion percent next to a plain section count ("80% · 5 of 6"), which never agreed, and a skills row read "Add" with nothing saying the section needs 3 trade skills. - api: count-based sections (skills 3, certifications 1) return `progress: {current, required}` from getSectionStatuses, capped at `required`, and the route schema declares it. Calc tests cover it. - SDK: SectionStatus gains optional `progress` (Scaffald/sdk#41); submodule pointer bumped. - card: the header shows "80% complete" only; a row whose section needs more than one item reads "Core Skills · 1 of 3" (sectionRowLabel, unit-tested). - skills page: the industry hint says to add at least 3 trade skills. Fixes #1418 Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(sdk): bump to 147f790 (sdk#41 progress on SectionStatus, sdk#42) Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
thinkclay
added a commit
to Scaffald/SaaS
that referenced
this pull request
Nov 24, 2026
…sheet row (#1398) - packages/sdk: main moved the SDK pointer to 147f790 (Scaffald/sdk#41, #42). Merged that into the invites branch (Scaffald/sdk#43) and point at the merge commit ab3eed0, so this keeps both. - The 'Invite your crew' row in MobileAccountSheet used fontSize: 14 like its neighbours, which pushed the drawer over the literal-styling ratchet ceiling. It uses fontSize.md (14) from @scaffald/ui/tokens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 of 19 tasks
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.
Adds
progress?: { current, required }(exported asSectionCountProgress) toSectionStatus.The Scaffald api's
/v1/profiles/completion/statusnow returns it on sections that complete at a count — skills need 3 trade skills, certifications 1 — so the dashboard can show "Core Skills · 1 of 3" instead of a bare "Add". Optional, so older api responses still type-check.For Scaffald/SaaS#1418; the SaaS PR bumps the submodule pointer to this commit.
🤖 Generated with Claude Code