logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.15k stars 395 forks source link

feat(console): implement custom ui assets upload component #6217

Closed charIeszhao closed 1 month ago

charIeszhao commented 1 month ago

Summary

Add the "Custom UI" upload component in SIE page

Testing

image image

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :warning: :chart_with_upwards_trend: +90.57 KB

Diff by File |Name|Diff| |---|---| |packages/console/src/assets/images/blur-preview.svg|:warning: :chart_with_upwards_trend: +82.28 KB| |packages/console/src/components/CustomUiAssetsUploader/index.module.scss|:chart_with_upwards_trend: +1.11 KB| |packages/console/src/components/CustomUiAssetsUploader/index.tsx|:chart_with_upwards_trend: +2.63 KB| |packages/console/src/components/FileIcon/index.tsx|:chart_with_upwards_trend: +568 Bytes| |packages/console/src/components/ImageInputs/index.tsx|:chart_with_upwards_trend: +57 Bytes| |packages/console/src/components/SignInExperiencePreview/index.module.scss|:chart_with_upwards_trend: +520 Bytes| |packages/console/src/components/SignInExperiencePreview/index.tsx|:chart_with_upwards_trend: +926 Bytes| |packages/console/src/consts/user-assets.ts|:chart_with_upwards_trend: +527 Bytes| |packages/console/src/ds-components/Uploader/FileUploader/index.tsx|:chart_with_upwards_trend: +180 Bytes| |packages/console/src/ds-components/Uploader/ImageUploaderField/index.tsx|:chart_with_upwards_trend: +41 Bytes| |packages/console/src/pages/EnterpriseSsoDetails/Experience/LogosUploader/index.tsx|:chart_with_upwards_trend: +118 Bytes| |packages/console/src/pages/SignInExperience/PageContent/Branding/CustomCssForm/index.module.scss|:chart_with_upwards_trend: +123 Bytes| |packages/console/src/pages/SignInExperience/PageContent/Branding/CustomCssForm/index.tsx|:chart_with_upwards_trend: +2.18 KB| |packages/console/src/pages/SignInExperience/PageContent/Branding/CustomUiForm/index.module.scss|:chart_with_upwards_trend: +123 Bytes| |packages/console/src/pages/SignInExperience/PageContent/Branding/CustomUiForm/index.tsx|:chart_with_upwards_trend: +3.14 KB| |packages/console/src/pages/SignInExperience/PageContent/Branding/index.tsx|:chart_with_upwards_trend: +3 Bytes| |packages/console/src/pages/SignInExperience/PageContent/index.tsx|:chart_with_upwards_trend: +69 Bytes| |packages/console/src/pages/SignInExperience/PageContent/utils/parser.ts|:chart_with_upwards_trend: +155 Bytes| |packages/console/src/pages/SignInExperience/components/Preview/index.tsx|:chart_with_upwards_trend: +124 Bytes| |packages/console/src/pages/SignInExperience/types.ts|:chart_with_upwards_trend: +84 Bytes| |packages/console/src/utils/uploader.ts|:chart_with_upwards_trend: +390 Bytes| |packages/phrases/src/locales/en/translation/admin-console/sign-in-exp/index.ts|:chart_with_upwards_trend: +460 Bytes| |packages/schemas/src/types/user-assets.ts|:chart_with_upwards_trend: +517 Bytes|