Repository navigation
docs(comments): complete the STE comment sweep (the 350 files #196 did not reach) - #197
Merged
Merged
Conversation
…scripts Rewrites every remaining non-compliant source-code comment into strict Simplified Technical English across the 341 files PR #196's partial sweep had not yet reached: src/components (atoms, molecules, organisms, ladle, preview), src/lib, src/views, src/loader, src/hooks, src/config, src/types (excluding generated src/types/payload/**), src/mocks, src/styles, tests, and scripts. This completes #196's disclosed partial coverage. Deleted a handful of commented-out code lines and comments that only restated adjacent code. Fixed several stale-claim comments found during the sweep, including tests/smoke/spa-fallback.smoke.test.ts's outdated HashRouter claim (the widget moved to query-based routing in #154), a "TOOD" typo, a stale field-name reference in palette.ts, and a brand-name regression in EventMetadata.tsx's comment that had been accidentally reflowed onto one line, tripping brand.test.ts's de-branding check. Scope was comments only: no executable code, imports, strings, or types were changed, and all functional directives (JSDoc @PARAM tags, eslint-disable, @ts-expect-error, license headers) were preserved verbatim. Verified with git diff that only comment text changed. Gates run clean: pnpm lint, pnpm typecheck, pnpm test:run (1518/1518), and pnpm build (including CSS-scoping and no-sourcemaps assertions). Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Deploying sahajatlas-design with
|
| Latest commit: |
5924db0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9bd533f7.sahajatlas-design.pages.dev |
| Branch Preview URL: | https://claude-prose-reset-comments.sahajatlas-design.pages.dev |
Deploying sahajatlas with
|
| Latest commit: |
5924db0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cdfd251f.sahajatlas.pages.dev |
| Branch Preview URL: | https://claude-prose-reset-comments.sahajatlas.pages.dev |
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.
Summary
src/components/{atoms,molecules,organisms,ladle,preview},src/lib/**,src/views/**,src/loader/**,src/hooks/**,src/config/**,src/types/**(excluding generatedsrc/types/payload/**),src/mocks/**,src/styles/**,tests/**, andscripts/**.tests/smoke/spa-fallback.smoke.test.tsclaimed the widget "uses HashRouter" — it moved to query-based routing in feat(widget): route through a query parameter and remove hash routing #154.src/components/organisms/Mapbox/Map.tsxandMapSearch.tsxhad aTOODtypo, corrected toTODO.src/config/theme/palette.ts'sbuildScale()doc referenced acontrastfield that was actually renamedon.src/types/region.tsstill called the venue level "acenter(venue)" after SahajCloud#605 renamed it tovenue.src/views/story-harness.tsxsaid the harness gives previewers "three things" above a list of four.src/loader/literals.tssaid a parameter was needed "formount" after the widget moved to query-based routing and dropped that parameter — corrected toroute.src/components/molecules/EventMetadata/EventMetadata.tsx: a comment describing the pre-feat(widget): de-brand the widget and keep host CSS out of it #156 bug had been reflowed onto one line during the sweep, accidentally producing a literal "We Meditate" string that trippedsrc/lib/brand.test.ts's de-branding check. Reworded to describe the bug without the literal brand string.Scope
Comments only. No executable code, imports, strings, or types were changed, and every functional directive (JSDoc
@param/@defaulttags,eslint-disable,@ts-expect-error,@vitest-environmentpragmas, license headers) was preserved verbatim. Verified withgit diffthat only comment text changed in every touched file. Excluded per the sweep's scope:src/types/payload/**(generated), locale bundles,CHANGELOG.md,LICENSE, anddocs/*.md(already done in #196).Gates run
pnpm lint— clean, 0 warningspnpm typecheck— cleanpnpm test:run— 1518/1518 passing (114 test files)pnpm build— clean, including the CSS-scoping assertion (1165 rules confined to.sy-atlas) and the no-sourcemaps assertion (38 emitted files, no maps)Test plan
git diffspot-check across the partition (components, lib, views/loader, hooks/config, types/mocks/styles) confirming only comment lines changedsrc/types/payload/**, locale bundles, anddocs/*.mdare absent from the diff🤖 Generated with Claude Code