Repository navigation
Docs and demo: Vuetify 4 - #118
Merged
Merged
Conversation
Move the docs site and the demo frontend to Vuetify 4 with vuetify-inputs 0.17, vue-grid 0.10 and vue-cached-icon 3.3: - MD3 typography classes in the demo - Vuetify's styles imported before its components; the MDI font loaded for the demo's icons - the global reset Vuetify 4 dropped restored for lists, figures, fieldsets, headings and paragraphs - grid cell padding set inline only, so it leaves the filter row's cells as they are - every vuetify/components entry pre-bundled in dev, in the demo and the docs - docs: VitePress page styles isolated from demos and overlays - vue-markdown-render dropped: nothing uses it
The upload progress test throttles the upload through a TCP proxy instead of Chromium's CDP network emulation, with a body larger than the loopback socket buffers. The test of a row leaving a sorted list reads the rows once per poll, so a reload between two readings does not fail it.
✅ Incremental coverage — nothing to gradeNo executable lines were changed between 14 files not graded (9 ignored by pattern, 5 not source files)
Coverage reports: coverage.json (coverage.py, 76 files) · coverage/clover.xml (clover, 17 files) — incremental-coverage-check v3.1.0 |
The docs have no live demos, so the style isolation of demo containers and the pre-bundling of every Vuetify component entry have nothing to act on.
The loopback socket buffers take in up to about 10 MiB of the 16 MiB body at once; at 2 MiB/s the rest takes three seconds or more, which leaves margin for several progress events.
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.
Moves the docs site and the demo (frontend and e2e) to Vuetify 4 with the published libraries:
vuetify^4.3.5,@dynamicforms/vuetify-inputs^0.17.0,@dynamicforms/vue-grid^0.10.0,vue-cached-icon^3.3.1 and@dynamicforms/vue-forms3.0.0-alpha.5. The npm package (peermuxwsonly) does not change: no version bump, nochangelog entry.
Demo
text-caption→text-body-small,text-subtitle-1→text-body-large,text-subtitle-2→text-title-small,text-body-2→text-body-medium,text-h5→text-headline-small.vuetify/stylesis imported before Vuetify's components;@mdi/font's stylesheet is imported, so the demo's MDIicons (checkboxes, chip, API documentation button, executor states) render.
reset.cssrestores, invuetify-core.reset, the margins and paddings Vuetify 4 no longer resets for the elementsthe demo uses (
ul,figure,fieldset,legend, headings,p).padding-inline, so the rule leaves the filter row's vertical padding to the grid.optimizeDeps.includelists everyvuetify/components/*entry in dev.vue-markdown-renderis removed: nothing uses it.Docs
vuetify^4.3.5,vue^3.5.postcssIsolateStyleswithjoinSelectorLists, as in the vuetify-inputs docs, and everyvuetify/components/*entry in
optimizeDeps.include.E2e
firefox; the suite runs in Chromium and Firefox.files.spec.ts› a file uploaded over REST arrives whole and reports its progress: still checks that athrottled upload arrives whole with at least two progress events. The throttle is a TCP proxy in front of the
demo instead of Chromium's CDP network emulation (not available in Firefox), and the body is 16 MiB at 4 MiB/s
(was 3 MiB at 1 MiB/s), since the loopback socket buffers take in several MiB before a proxy holds the browser
back.
events.spec.ts› in a list sorted by Favorite a toggled row leaves its place in both tabs: still checks thatthe toggled row leaves the loaded rows and the rest keep one Favorite value. The rows are read once per poll; a
reload between the poll and a second reading emptied the list and failed the test in Firefox.
Checked
npm run lint, ruff, builds of the library, docs and demo.differences are the MD3 changes and the now visible icons; docs pages differ by sub-pixel line heights only.
browsers.