-
Notifications
You must be signed in to change notification settings - Fork 98
fix: upgrade packadges #1256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
fix: upgrade packadges #1256
Changes from all commits
f95d798
0e03df9
1717f66
c606034
6edb0e2
667f1d5
cb08924
8319853
8a72484
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| import js from "@eslint/js"; | ||
| import tseslint from "@typescript-eslint/eslint-plugin"; | ||
| import tsparser from "@typescript-eslint/parser"; | ||
| import vueParser from "vue-eslint-parser"; | ||
| import vuePlugin from "eslint-plugin-vue"; | ||
| import prettierPlugin from "eslint-plugin-prettier"; | ||
| import prettierConfig from "@vue/eslint-config-prettier"; | ||
| import globals from "globals"; | ||
|
|
||
| export default [ | ||
| js.configs.recommended, | ||
|
|
||
| ...vuePlugin.configs["flat/recommended"], | ||
|
|
||
| { | ||
| ignores: [ | ||
| "**/node_modules/**", | ||
| "**/dist/**", | ||
| "**/build/**", | ||
| "**/.vite/**", | ||
| "**/custom_components_dist/**", | ||
| ], | ||
| }, | ||
|
|
||
| { | ||
| files: [ | ||
| "**/*.vue", | ||
| "**/*.ts", | ||
| "**/*.js", | ||
| "**/*.jsx", | ||
| "**/*.cjs", | ||
| "**/*.mjs", | ||
| ], | ||
|
|
||
| languageOptions: { | ||
| parser: vueParser, | ||
| parserOptions: { | ||
| parser: tsparser, | ||
| ecmaVersion: 2020, | ||
| sourceType: "module", | ||
| }, | ||
| globals: { | ||
| ...globals.browser, | ||
| ...globals.node, | ||
| // Additional browser APIs that may not be in globals.browser | ||
| MediaStreamConstraints: "readonly", | ||
| RequestInit: "readonly", | ||
| }, | ||
| }, | ||
|
|
||
| plugins: { | ||
| "@typescript-eslint": tseslint, | ||
| vue: vuePlugin, | ||
| prettier: prettierPlugin, | ||
| }, | ||
|
|
||
| rules: { | ||
| indent: "off", | ||
| "no-unused-vars": "off", | ||
|
|
||
| "@typescript-eslint/no-unused-vars": [ | ||
| "warn", | ||
| { | ||
| args: "all", | ||
| argsIgnorePattern: "^_", | ||
| caughtErrors: "all", | ||
| caughtErrorsIgnorePattern: "^_", | ||
| destructuredArrayIgnorePattern: "^_", | ||
| varsIgnorePattern: "^_", | ||
| ignoreRestSiblings: true, | ||
| }, | ||
| ], | ||
| "@typescript-eslint/no-explicit-any": "warn", | ||
|
|
||
| "prettier/prettier": [ | ||
| 2, | ||
| { | ||
| useTabs: true, | ||
| endOfLine: "auto", | ||
| }, | ||
| ], | ||
|
|
||
| "no-console": "error", | ||
| }, | ||
| }, | ||
|
|
||
| prettierConfig, | ||
| ]; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -536,9 +536,10 @@ onUnmounted(() => { | |
| .mainGrid { | ||
| width: 100vw; | ||
| height: 100vh; | ||
| grid-template-columns: auto 1fr; | ||
| grid-template-columns: auto minmax(0, 1fr); | ||
| grid-template-rows: var(--builderTopBarHeight) minmax(0, 1fr); | ||
| display: grid; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .builderHeader { | ||
|
|
@@ -549,9 +550,18 @@ onUnmounted(() => { | |
|
|
||
| .sidebar { | ||
| grid-column: 1 / 2; | ||
| grid-row: 2 / 5; | ||
| grid-row: 2 / 3; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously, is this one set incorrectly?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes,
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @as-flow is this something needed for shared blueprints?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think so @bybash
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| min-height: 0; | ||
| border-right: 1px solid var(--builderAreaSeparatorColor); | ||
| min-width: 48px; | ||
| max-width: 288px; | ||
| width: fit-content; | ||
| padding: 0; | ||
| border-radius: 0; | ||
| border-left: none; | ||
| border-top: none; | ||
| border-bottom: none; | ||
|
Comment on lines
+559
to
+562
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need these ones?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. after upgrade I found that we need changes there and avoid UI issues so I've added some fixes and implements. |
||
| border-right: 1px solid var(--builderIntenseSeparatorColor); | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .builderMain { | ||
|
|
@@ -561,8 +571,18 @@ onUnmounted(() => { | |
| height: 100%; | ||
| } | ||
|
|
||
| .mainGrid--fullWidth { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we use this one, will this be covered by this
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch! The code actually uses |
||
| grid-column: 1 / -1; | ||
| .builderMainWrapper { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where do we use this new class?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| grid-column: 2 / 3; | ||
| grid-row: 2 / 3; | ||
| min-width: 0; | ||
| min-height: 0; | ||
| width: 100%; | ||
| height: 100%; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .builderMainWrapper--fullWidth { | ||
| grid-column: 1 / -1 !important; | ||
| } | ||
|
|
||
| .rendererWrapper { | ||
|
|
@@ -593,11 +613,6 @@ onUnmounted(() => { | |
| --notificationsDisplacement: calc(var(--builderSettingsWidth) + 24px); | ||
| } | ||
|
|
||
| .panelSwitcher { | ||
| grid-column: 2 / 3; | ||
| grid-row: 3; | ||
| } | ||
|
|
||
| .collaborationTracker, | ||
| .insertionLabelTracker { | ||
| z-index: 3; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,28 @@ | ||
| import * as monaco from 'monaco-editor'; | ||
| import editorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker'; | ||
| import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker'; | ||
| import cssWorker from 'monaco-editor/esm/vs/language/css/css.worker?worker'; | ||
| import htmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker'; | ||
| import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker'; | ||
| import * as monaco from "monaco-editor"; | ||
| import editorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker"; | ||
| import jsonWorker from "monaco-editor/esm/vs/language/json/json.worker?worker"; | ||
| import cssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker"; | ||
| import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker?worker"; | ||
| import tsWorker from "monaco-editor/esm/vs/language/typescript/ts.worker?worker"; | ||
|
|
||
| // @ts-ignore | ||
| self.MonacoEnvironment = { | ||
| getWorker(_: any, label: string) { | ||
| if (label === 'json') { | ||
| getWorker(_: unknown, label: string) { | ||
| if (label === "json") { | ||
| return new jsonWorker(); | ||
| } | ||
| if (label === 'css' || label === 'scss' || label === 'less') { | ||
| if (label === "css" || label === "scss" || label === "less") { | ||
| return new cssWorker(); | ||
| } | ||
| if (label === 'html' || label === 'handlebars' || label === 'razor') { | ||
| if (label === "html" || label === "handlebars" || label === "razor") { | ||
| return new htmlWorker(); | ||
| } | ||
| if (label === 'typescript' || label === 'javascript') { | ||
| if (label === "typescript" || label === "javascript") { | ||
| return new tsWorker(); | ||
| } | ||
| return new editorWorker(); | ||
| } | ||
| }, | ||
| }; | ||
|
|
||
| // @ts-expect-error - Monaco TypeScript API may have changed in TypeScript 5.9 | ||
| monaco.languages.typescript.typescriptDefaults.setEagerModelSync(true); |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The color scheme changes make the scrollbar black