refactor(ui): migrate to Vuetify 4 and Vue Router 5#80
Merged
Conversation
Major refactor to upgrade the UI stack and dependencies to latest versions: - **Vuetify 4**: Upgrade `@data-fair/lib-vuetify` from v1.13.0 to v2.0.5 and add explicit `vuetify` v4.0.3 dependency - **Vue Router 5**: Migrate from v4.4.5 to v5.0.3, use `vue-router/vite` plugin and `VueRouterAutoImports` - **Vite 8**: Upgrade from v6.3.5 to v8.0.2 - **Remove v-iframe**: Remove `@koumoul/v-iframe` and `iframe-resizer` dependencies and related code - **Remove child-process-promise**: Replace with native `node:child_process` in worker - **Dependencies**: Update all `@data-fair/lib-*` packages, express, mongodb, nodemailer, vjsf, vue-i18n, and other deps - **ESLint**: Update config for Vuetify 4 compatibility (flat/base) - **CI**: Upgrade to actions/checkout@v5, actions/setup-node@v5, simplify install step - **Config**: Remove `config.util.makeImmutable` calls, separate type imports - **i18n**: Add i18n translations in processings-actions component - **UI fixes**: Adapt components for Vuetify 4 API changes (typography classes, removed props, SearchField component)
Add component-level i18n blocks with en/fr translations across all Vue components that had hardcoded text, and add missing English translations to the plugins admin page.
…mponents In production builds, Vite splits component CSS into separate chunks loaded before the entry CSS. Without an upfront @layer declaration, the vuetify-core.reset layer ends up registered after vuetify-components, inverting the intended cascade and causing tabs, header icons and breadcrumb padding to render incorrectly. Same fix as in the agents project.
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
Changes
@data-fair/lib-vuetifyv2, apply all breaking changes, and declare CSS layer order inindex.htmlto avoid the reset layer overriding components in production buildsvue-router/vite+vue-router/unplugin), dropunplugin-vue-routerexperimentalMinChunkSizeoption@koumoul/v-iframe,iframe-resizer,unplugin-fonts,vue-tsc)