Open ktun95 opened 6 months ago
I think we should create a new package for common ui components across all of our applications, for loading displays, error displays, layouts, and anything else that is not specific to an application. Currently we have a package called frontpage-components, one called ui-dsc for dicty-stock-center, and ui user. It doesn't make sense to put a LoadingDisplay in any of these,
Create a generic loading component (or reuse an existing one).
Existing Loader components in the codebase:
dicty-frontpage -> src/common/components/Loader.tsx dicty-frontpage -> src/features/About/SpecialThanks.tsx dicty-frontpage -> src/features/About/TechnicalSummary.tsx frontpage-components -> src/Loader.tsx auth -> src/LoadingDisplay.tsx resizable-image -> src/LoadingDisplay.tsx dicty-image -> src/LoadingDisplay.tsx ui-dsc -> src/LoadingDisplay.tsx