ypandey-fluidata opened a new issue, #37166: URL: https://github.com/apache/superset/issues/37166
### Bug description I am facing issue in configuring the UX for some of my visual plugins. I have the files which i downloaded from https://downloads.apache.org/superset/6.0.0/ and used the respective files to make changes, save them in my EC2 and then move it in the respective paths. I need to improve my visuals with a few tweaks on the UI/UX of the charts. <!-- Failed to upload "transformProps.ts" --> COPY frontend_overrides/BigNumber/BigNumberViz.tsx \ plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx COPY frontend_overrides/utils/series.ts \ plugins/plugin-chart-echarts/src/utils/series.ts COPY frontend_overrides/PieChart/transformProps.ts \ plugins/plugin-chart-echarts/src/Pie/transformProps.ts RUN npm ci RUN npm run build RUN find /superset/superset/static/assets -type f -name "loading*.gif" -exec \ cp src/assets/images/brand/fdos_loader.gif {} \; FROM apache/superset:6.0.0 USER root RUN pip install --no-cache-dir psycopg2-binary COPY --from=frontend-builder \ /superset/superset/static/assets \ /app/superset/static/assets USER superset #Error ERROR in ./plugins/plugin-chart-echarts/src/Pie/transformProps.ts:19:19 TS2307: Cannot find module '@apache-superset/core' or its corresponding type declarations. 17 | * under the License. 18 | */ > 19 | import { t } from '@apache-superset/core'; | ^^^^^^^^^^^^^^^^^^^^^^^ 20 | import { 21 | CategoricalColorNamespace, 22 | getColumnLabel, ERROR in ./plugins/plugin-chart-echarts/src/utils/series.ts:34:31 TS2307: Cannot find module '@apache-superset/core/ui' or its corresponding type declarations. 32 | ValueFormatter, 33 | } from '@superset-ui/core'; > 34 | import { SupersetTheme } from '@apache-superset/core/ui'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 35 | import { GenericDataType } from '@apache-superset/core/api/core'; 36 | import { SortSeriesType, LegendPaddingType } from '@superset-ui/chart-controls'; 37 | import { format } from 'echarts/core'; ERROR in ./plugins/plugin-chart-echarts/src/utils/series.ts:35:33 TS2307: Cannot find module '@apache-superset/core/api/core' or its corresponding type declarations. 33 | } from '@superset-ui/core'; 34 | import { SupersetTheme } from '@apache-superset/core/ui'; > 35 | import { GenericDataType } from '@apache-superset/core/api/core'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 | import { SortSeriesType, LegendPaddingType } from '@superset-ui/chart-controls'; 37 | import { format } from 'echarts/core'; 38 | import type { LegendComponentOption } from 'echarts/components'; ERROR in ./plugins/plugin-chart-echarts/src/utils/series.ts:462:4 TS2353: Object literal may only specify known properties, and 'formatter' does not exist in type 'LabelOption'. 460 | color: theme.colorText, 461 | borderColor: theme.colorBorder, > 462 | formatter: (name: string) => { | ^^^^^^^^^ 463 | if (name === 'inverse') return 'Choose'; // or 'Invert' 464 | if (name === 'all') return 'All'; 465 | return name; [+] Building 0/1 ⠸ Service superset_test Building 655.5s The command '/bin/sh -c npm run build' returned a non-zero code: 1 [New folder.zip](https://github.com/user-attachments/files/24643248/New.folder.zip) I mainly changed these 3 files to fix Pie Chart & Big Number. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
