Repository navigation
docs: document alpha vs latest channels in README, CHANGELOG, and ROADMAP - #3236
Merged
Merged
Conversation
The README on master documents the v11 rewrite, but a plain `npm install` resolves the `latest` dist-tag (0.10.65), so readers got a different major version than the one described. - Add a version banner and a channel table (npm tag, branch, React, styles, docs) with links to the 0.10.x README and docs site - Install with `@alpha` and `--save-exact` - Requirements: React ^19.2, Node >= 24, exports-aware bundler - Remove the note claiming SLDS 2 styles are bundled; the package ships no CSS - Fix dark mode: SLDS 2 switches on `slds-color-scheme--*` on <body>, not `slds-theme_dark` - Development: Node 24 via .nvmrc, Playwright setup, `npm test -- --run`, `test:ci`
The changelog kept everything under [Unreleased] after four alpha releases, listed components that were removed as "converted to TypeScript", gave the wrong Node.js requirement, and linked to a gitignored file for older release notes. - One dated entry per 11.0.0-alpha.* release, newest first, following Keep a Changelog, with compare links using the actual tag names - Removals checked against the published tarballs: Lookup, Notification, Picklist, TimePicker (alpha.2); AppLauncher, BrandBand, Expression, GlobalHeader, GlobalNavigationBar, LocationMap (alpha.3); DataTable renamed to SimpleDataTable (alpha.4) - Node.js >= 24, not >= 20.19 - Note that 11.0.0-alpha.1 was tagged but never published to npm - Link 0.10.x release notes on the 0.10.x branch instead of .planning/
ROADMAP.md was an August snapshot of the modernization branch. It still listed popper.js and the toolchain majors as pending, referenced components removed in v11, and described a GitHub Pages deploy that does not exist on master. - New 2026-10-11 snapshot: one remaining .jsx source, Floating UI for positioning, 48 test files, 0 lint errors / 223 warnings - New P1, "Path to a stable v11": subpath entry points for ColorPicker, Filter, and Tree; the pinned @salesforce-ux/design-system peer; a migration guide; hosted v11 docs; consistent tag names; switching publishConfig.tag at GA - Story and test gap lists recomputed from the current tree - Completed P1/P4 work moved to "Done since the 2026-08-11 snapshot"
| rel="stylesheet" | ||
| href="/node_modules/@salesforce-ux/design-system-2/dist/css/bundled/slds2.lightning-blue.css" | ||
| rel="stylesheet" | ||
| href="/node_modules/@salesforce-ux/design-system-2/dist/css/bundled/slds2.lightning-blue.css" |
Contributor
There was a problem hiding this comment.
@Niznikr Also, we should make Cosmos the default theme in Storybook.
interactivellama
approved these changes
Oct 12, 2026
interactivellama
pushed a commit
that referenced
this pull request
Oct 26, 2026
…, CHANGELOG/ROADMAP corrections) (#3240) * docs(readme): show a bundler CSS import and default to the Cosmos theme Installing @salesforce-ux/design-system-2 doesn't serve node_modules over HTTP, so the old <link> example left components unstyled. Lead with a bundler import, keep a serve-and-link alternative, make Cosmos the default theme, and note the ../../public/ images the 2.264.x package doesn't ship. Follow-up to #3236. * docs(changelog): correct alpha.2 and alpha.3 entries - alpha.2 already published with --tag alpha; alpha.3 made it the default via publishConfig.tag - Not every component became a function component - List the SLDSMenuPicklist alias and the SLDS-prefixed aliases removed alongside each component Follow-up to #3236. * docs(roadmap): correct coverage gaps and adapter location - forms has a nested story and test; drop it from the gap lists - List nested stories the snapshot glob skips - The popper-shape adapter is computeFloatingData in utilities/dialog - VisualPicker already supports non-coverable content - Chromatic builds Storybook; what's missing is a public docs site Follow-up to #3236. --------- Co-authored-by: showerbee <[email protected]>
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.
Fixes #
Additional description
Docs-only. The README on
masterdescribes v11 (React 19, TypeScript, SLDS 2), but a plainnpm installresolves thelatestdist-tag, which is 0.10.65. People reading the README got a different major version from the one it documents. CHANGELOG and ROADMAP had drifted the same way.Root cause: v11 publishes under the
alphanpm tag (publishConfig.tag), while the docs onmasterwere written as if v11 were the default install. They also hadn't been updated through the four alpha releases.Current npm state
engineslatest0.10.xbranch>=16.8alphamaster^19.2.0>=24README (
docs(readme))This follows the pattern MUI and React Router use for prerelease vs. stable docs.
npm install @salesforce/design-system-react@alpha. A new "TroubleshootingERESOLVE" section covers React 18 projects and the pinned@salesforce-ux/design-systempeer. Each command was run in a clean project.slds-color-scheme--{system,light,dark}class on<body>.slds-theme_darkon a div does nothing.components/color-picker,components/filter, andcomponents/treedon't resolve in alpha.4. The root import works..nvmrc, Playwright install,npm test -- --run(a barenpm teststarts watch mode),test:ciCHANGELOG (
docs(changelog))11.0.0-alpha.*release in Keep a Changelog format. Previously everything sat under[Unreleased].Lookup,Notification,Picklist,TimePickerAppLauncher,BrandBand,Expression,GlobalHeader,GlobalNavigationBar,LocationMapDataTable→SimpleDataTablev11.0.0-alpha.1was tagged but never reached npm (its publish job failed)RELEASENOTES.mdon the0.10.xbranch. The old link pointed into gitignored.planning/.ROADMAP (
docs(roadmap))react.lightningdesignsystem.comredirects to GitHub, and Storybook isn't deployed)11.0.0-alpha.4has novprefix)publishConfig.tagat GAmaster.Follow-ups (separate PRs)
fix:loosen the@salesforce-ux/design-systempeer dependency (exact pin to2.25.0-alpha.2causes ERESOLVE). Once that's merged, the README troubleshooting note can shrink.docs:a 0.10.x → v11 migration guidefix(build):the missingcomponents/<name>entry points for ColorPicker, Filter, and TreeCONTRIBUTOR checklist (do not remove)
Please complete for every pull request.
Green gate — all of these must pass locally (CI runs the same):
npm run lintpasses with 0 errors (npm run lint:fixto auto-fix). Warnings are the tracked gradual-migration backlog; do not add new errors.npm run typecheckis clean (tsc --noEmit).npm test -- --runpasses — this runs both Vitest projects (jsdomunit+ real-browserbrowser) and the story HTML snapshots. If you changed rendered markup on purpose, update snapshots withnpm test -- --run -uand review the diff.npm run buildsucceeds (type-check + Vite library build +.d.ts+ entry shims).Behavior & docs:
components/button/__tests__). New props and bug fixes should get a regression test. Tests that genuinely need a real browser (focus traversal, layout/measurement, canvas) go in a*.browser.test.jsxfile (thebrowserproject); everything else is jsdom. — N/A, docs onlynpm run storybook→ http://localhost:6007/. Confirm the story actually renders and behaves (deprecated Storyshots/Karma are gone; there is no separate browser-tests server). — N/A, docs onlyonRenderContent/onRenderVisualPicker,iconprops,events), not assumptions — a common source of "component looks broken" reports has been stories authored against the wrong API. Cross-check againstcomponents/<name>/__examples__. — N/A, docs only.d.ts(they're generated by the build); JS consumers rely on them via editor type-acquisition. — N/A, docs onlyREVIEWER checklist (do not remove)
CIworkflow: lint, typecheck, test, build). Chromatic visual review, if configured, has been checked.components/__tests__/__snapshots__/story-snapshots.test.jsx.snap).@salesforce/design-system-react/components/<name>and nested paths resolve for ESM, CJS, and types). Removing/renaming a public component or export is a breaking change →feat!:/BREAKING CHANGE:and a major version bump.