NLDD 0.8.90: field errors move to nldd-validation-list, editor fixes #341
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/nldd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NLDD design system 0.8.82 -> 0.8.90.
nldd-form-field-error-text; field errors move tonldd-validation-list(see the first commit).Checked in the preview: Inbox, the menu, Instellingen (a radio choice still saves after the 0.8.89 radio rework), and all four editor fixes with real key presses in the reply composer.
One visible cost: NLDD now reserves 3px for the caret in the
simplevariant, so the composer text starts 4px right of the "Paragraaf" label in the toolbar (was 1px). Left as NLDD ships it.7032395da9335a5a9248Update dependency @nldd/design-system to ^0.8.83to Update dependency @nldd/design-system to ^0.8.84335a5a9248efa08fbcc2Update dependency @nldd/design-system to ^0.8.84to Update dependency @nldd/design-system to ^0.8.85efa08fbcc29134f31b7aUpdate dependency @nldd/design-system to ^0.8.85to Update dependency @nldd/design-system to ^0.8.86Kept out of the bundled Renovate PR (#352), because 0.8.86 is not a clean bump. Two guard tests catch it, both correctly:
nlddTokens.test.ts- 0.8.86 drops--semantics-forms-gap-tight(0.8.82 had it atvar(--primitives-space-10), 10px).AccountPanel.vue:612still references it, and a danglingvar()drops the wholegapdeclaration silently. There is no replacement token: the surviving ones are--semantics-forms-fields-gap(16px) and--semantics-forms-columns-gap(8px). So it is a choice between keeping today's 10px via the primitive, or moving the form to NLDD's own 16px field gap.nlddImports.test.ts-nldd-form-field-error-textno longer exists.nldd-form-fieldnow adoptsnldd-validation-listchildren instead and wiresdescribedByElementsto them itself. Four files use the old element:AccountPanel.vue,AccountDeletePanel.vue,ImportPanel.vue,MattermostServerFields.vue.The second one is a real migration with an a11y and a visual side to it, not a version number, so it wants a decision and a look at the running app rather than a mechanical rename.
9134f31b7afbf9b3b4beRebased on main and migrated. Eighteen breaking changes sit between 0.8.82 and 0.8.86; I walked all of them against this codebase. Six touch Waggle, four of those silently.
nldd-form-field-error-textis gone (0.8.84). All five of our field errors are decided by the server or the app rather than by a rule, so each becomes a rule-lessnldd-validation-itemin annldd-validation-list, named inunmeton the control. Migrated inAccountPanel(2),MattermostServerFields,AccountDeletePanelandImportPanel. Leaving the element in place would have been worse than a blank: an undefined custom element has no shadow styles, so its text renders permanently.error-messageon an input isunmet, no fallback (0.8.84). Nine sites. Nothing warns, no test sees it - every message on the page just stops appearing. This is the one that would have shipped quietly.--semantics-forms-gap-tightis gone (0.8.84). The three form-gap tokens became two, and there is no tight one any more. The inline forms in Instellingen take--semantics-forms-fields-gap, which is NLDD's own form rhythm, so they space 16px instead of 10px. That is the one deliberate visual change in this PR.unmetis bound as… : undefined, neverfalse. Vue writessetAttribute('unmet', "false")while the element has not upgraded, and NLDD reads such attributes withhasAttribute(). ImportPanel's!!needed rewriting for that; the other three already yieldedtrue | undefined.Not applicable, checked rather than assumed:
nldd-list-item-action→-segment,arrow-navigation,nldd-box'svariant→background(we moved in 0.8.80), the renamed icon aliases,nldd-timeline-track-cell,nldd-tab-bar-item'sselected,nldd-collection'sgap, and--context-layer-top/-bottom. Our fourempty-textuses are on Waggle's ownOverzichtShellandSortableSection, not onnldd-list, so the removal there does not reach us. Every@closeis bound on the overlay itself, socloseno longer bubbling changes nothing - and it silently fixes a popover insideCardDetailsModalthat used to reach the card's own handler.Checked in the preview, not only in CI. A 422 on the base URL renders red under the field with the field's own validation icon, as before; so does the e-mail mismatch in the delete dialog. Focus, the menu and Instellingen are unchanged.
And the check that names alone cannot give you: of the 102 tokens Waggle references, none were removed and none changed value between 0.8.82 and 0.8.86.
Gates: 1421 vitest, 122 e2e, typecheck,
pre-commit --all-files.Worth a look yourself: the 10px → 16px in the "Token vervangen" and "Mattermost-server toevoegen" forms under Instellingen is a judgement call. Following NLDD is the reason for it; if you would rather keep today's spacing,
var(--primitives-space-10)holds it at 10px.Update dependency @nldd/design-system to ^0.8.86to NLDD 0.8.86: field errors move to nldd-validation-listfbf9b3b4be3e62a46697Terecht - dat was fout, en het is rechtgezet in
3e62a466.#352was gemerged terwijl ik hieraan werkte, dus main had de bundel al. Ik namfrontend/package.jsonin z'n geheel over van de ouderenovate/nldd-branch, die nog van vóór de bundel dateerde, en daarmee draaide ik alle bumps eruit terug: vue, vue-router, marked, dompurify, CodeMirror, Playwright, vitest, vite, eslint, happy-dom en de markdown-it-override.Nu is main opnieuw de basis en wijzigt
package.jsonéén regel,@nldd/design-systemvan^0.8.82naar^0.8.86. De hele diff is 9 bestanden: die regel, 4 regels lockfile, de vier gemigreerde componenten,main.ts,test-setup.tsen de CHANGELOG.Gates opnieuw gedraaid op de gecorrigeerde basis: 1421 vitest, 122 e2e, typecheck,
pre-commit --all-files.Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
3e62a466974c069065fcNLDD 0.8.86: field errors move to nldd-validation-listto NLDD 0.8.90: field errors move to nldd-validation-list, editor fixes