From 0284bedc2839ce71101a2f7bd6e2052c87a0485d Mon Sep 17 00:00:00 2001 From: Carina Ursu Date: Mon, 6 Feb 2023 17:57:19 -0800 Subject: [PATCH 1/2] chore: launch form bug for fast-registered workflows Signed-off-by: Carina Ursu --- packages/console/package.json | 2 +- .../src/components/Launch/LaunchForm/StructInput.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/console/package.json b/packages/console/package.json index 398985c79..004303cbe 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@flyteorg/console", - "version": "0.0.7", + "version": "0.0.8", "description": "Flyteconsole main app module", "main": "./dist/index.js", "module": "./lib/index.js", diff --git a/packages/console/src/components/Launch/LaunchForm/StructInput.tsx b/packages/console/src/components/Launch/LaunchForm/StructInput.tsx index 3befb4381..dcdcb7962 100644 --- a/packages/console/src/components/Launch/LaunchForm/StructInput.tsx +++ b/packages/console/src/components/Launch/LaunchForm/StructInput.tsx @@ -1,15 +1,13 @@ -import { TextField, Card, CardContent, CardHeader } from '@material-ui/core'; import * as React from 'react'; +import { TextField, Card, CardContent, CardHeader } from '@material-ui/core'; import { useState } from 'react'; -// import Form from '@rjsf/material-ui'; +import Form from '@rjsf/material-ui'; import { MuiThemeProvider, createTheme } from '@material-ui/core/styles'; import { makeStringChangeHandler } from './handlers'; import { InputProps } from './types'; import { getLaunchInputId } from './utils'; import { protobufValueToPrimitive, PrimitiveType } from './inputHelpers/struct'; -const Form = require('@rjsf/material-ui'); - const muiTheme = createTheme({ props: { MuiTextField: { From 08aefdc0584a336f8c7d4297cbc1b4fd92c2b7f1 Mon Sep 17 00:00:00 2001 From: Carina Ursu Date: Mon, 6 Feb 2023 18:09:24 -0800 Subject: [PATCH 2/2] chore: lint Signed-off-by: Carina Ursu --- yarn.lock | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index f386e1a95..270d73183 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2034,7 +2034,77 @@ __metadata: languageName: unknown linkType: soft -"@flyteorg/console@^0.0.7, @flyteorg/console@workspace:packages/console": +"@flyteorg/console@npm:^0.0.7": + version: 0.0.7 + resolution: "@flyteorg/console@npm:0.0.7" + dependencies: + "@date-io/moment": 1.3.9 + "@emotion/core": 10.1.1 + "@flyteorg/common": ^0.0.3 + "@flyteorg/components": ^0.0.3 + "@flyteorg/flyte-api": ^0.0.2 + "@flyteorg/flyteidl-types": ^0.0.3 + "@flyteorg/locale": ^0.0.2 + "@flyteorg/ui-atoms": ^0.0.3 + "@material-ui/core": ^4.12.4 + "@material-ui/icons": ^4.11.3 + "@material-ui/pickers": ^3.2.2 + "@rjsf/core": 3.2.1 + "@rjsf/material-ui": 3.2.1 + "@rjsf/utils": ^5.0.0-beta.12 + "@rjsf/validator-ajv6": ^5.0.0-beta.12 + "@types/d3-shape": ^1.2.6 + "@xstate/react": ^1.0.0 + axios: ^0.27.2 + chart.js: 3.6.2 + chartjs-plugin-datalabels: 2.0.0 + classnames: ^2.3.1 + copy-to-clipboard: ^3.0.8 + cronstrue: ^1.31.0 + d3-dag: ^0.3.4 + d3-shape: ^1.2.2 + dagre: 0.8.5 + dagre-d3: ^0.6.4 + debug: 2.6.9 + dom-helpers: ^3.4.0 + fuzzysort: ^1.1.1 + intersection-observer: ^0.7.0 + js-yaml: ^3.13.1 + linkify-it: ^2.2.0 + lodash: ^4.17.21 + lossless-json: ^1.0.3 + memoize-one: ^5.0.0 + moment: ^2.29.4 + moment-timezone: ^0.5.28 + notistack: ^1.0.10 + object-hash: ^1.3.1 + prop-types: 15.6.0 + query-string: ^6.5.0 + react-chartjs-2: ^4.3.1 + react-flow-renderer: 10.3.8 + react-ga4: ^1.4.1 + react-intersection-observer: ^8.25.1 + react-json-view: ^1.21.3 + react-loading-skeleton: ^1.1.2 + react-query: 3.3.0 + react-query-devtools: 3.0.0-beta.1 + react-virtualized: ^9.21.1 + shallowequal: ^1.1.0 + url-search-params: ^0.10.0 + xstate: 4.33.6 + peerDependencies: + long: ^4.0.0 + protobufjs: ~6.11.3 + react: ^16.14.0 + react-dom: ^16.14.0 + react-router: ^5.3.4 + react-router-dom: ^5.3.4 + use-react-router: ^1.0.7 + checksum: 998c925f806d61cd549687fb36d24c765f42daacd1892dea8c2fc1f334ce8e1d0146bf1687f7e1328a4df29fd620d78f5ecc17ca7e4547d595420c876e963fd8 + languageName: node + linkType: hard + +"@flyteorg/console@workspace:packages/console": version: 0.0.0-use.local resolution: "@flyteorg/console@workspace:packages/console" dependencies: