-
Notifications
You must be signed in to change notification settings - Fork 169
Description
This repo has three sets of reusable "generic" components:
These components have a bunch of issues:
-
Redundancy with each other. Some examples are listed here but there are more. These should either be consolidated or one of them renamed to clarify the difference.
AlertErrorandErrorAlertseem very similar.PromptIfDirtyandusePromptIfDirtyare identical except one is a hook. We don't need both, or the component could be simplified to wrap the hook.CodeEditorandCodeEditorFileInputandFileInput- more; this isn't a complete list
-
Some things are "temporary" workarounds for Paragon bugs that should no longer be needed
SelectableBoxshould be replaced with the upstream Paragon version. (see old explanation why this happened)src/generic/NewsstandIcon.tsx
-
It's unclear why some of them exist or how they should be used, like this repo's own version of
Button. A style guide page or storybook type resource should explain all the reusable studio widgets, and the code should have JSDoc comments with a clear justification for each one. -
Each part of this MFE - course outline, unit page, advanced settings, pages & resources, libraries, taxonomy editor, editor modals - has a totally different look and feel. We should use a library of standard Studio UX patterns & components for a more consistent look & feel.
-
Some things, if they're that useful, should perhaps be moved to upstream Paragon or an Open edX component library ??
This is a large umbrella, so create sub-issues as needed.


