Skip to content

Refactor/vue subpath imports css audit - #13646

Draft
GVodyanov wants to merge 2 commits into
mainfrom
refactor/vue-subpath-imports-css-audit
Draft

Refactor/vue subpath imports css audit#13646
GVodyanov wants to merge 2 commits into
mainfrom
refactor/vue-subpath-imports-css-audit

Conversation

@GVodyanov

Copy link
Copy Markdown
Contributor

Related to A11, A18 of #13622

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

v9 removes the dist/Components paths and the global-registration plugin,
and the root barrel defeats tree-shaking: webpack bundles the whole
library while any file still imports it.

Two barrel imports stay behind, in MailboxThread.vue (the isMobile mixin)
and TextEditor.vue (the emoji helpers). Both belong to other items in the
preceding PR, and until those land the bundle does not move — measured
+0.08%, against -5.2% raw / -4.0% gzip once the last two go.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
Audit of the 152 places Mail styles library internals, checked against
the published 9.11.0 tarball rather than predicted, and written down in
doc/vue3-css-audit.md so the Vue 3 CSS pass is a checklist.

Removes the rules that already match nothing on 8.41 -- a .multiselect__*
leftover from the retired NcMultiselect, .checkbox-radio-switch__label,
.user-bubble__title, an .mx-datepicker rule in a component that switched
to NcDateTimePickerNative -- and moves one selector to a class name
present in both 8.41 and 9. Three of those carried visible intent the
wrong class name silenced; they are dropped rather than repointed at the
current name, because reviving a rule that has not applied for several
releases is a visual change that belongs in its own PR.

The datepicker and remaining button-variant sites are left alone: they
cannot be repaired until v9 is installed.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov GVodyanov self-assigned this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants