🧱 ZUI: Circular and linear progress #2318
Labels
🚪 entry-level
Good for newcomers
🐟 Small
Should be a quick-ish fix.
🧱 ZUI
Issues related to improvements in reusable ZUI components.
Description
We need two components that can show the user when something is loading or they are waiting for something, one
ZUICircularProgress
and oneZUILinearProgress
Screenshots
Linear
Circular
Figma link
https://www.figma.com/design/yIQMDEFSgkUOrSaJpg3k7N/ZUI?node-id=11045-146857&t=XkI0bcCSexrIhOnf-4
You need to be logged into a Figma account to properly view the Figma content.
Requirements
ZUICircularProgress
ZUILinearProgress
Open questions
Suggestion for implementation
Use MUI
CircularProgress
andLinearProgress
components for this.Workflow
Git
The main git branch for the work on the new design system is
undocumented/new-design-system
. Unless otherwise instructed, do your work on a new branch branched off from this branch.Name your branch
issue-number/zui-name
, ex:issue-928/zui-button
for a branch where work is done that is documented in the issue with number 928, where a button component is being made.Storybook
Use Storybook to develop the new design system components. If you are not familiar with working with Storybook, please ask and Ziggi or someone else will be happy to introduce you!
When you have checked out the branch
undocumented/new-design-system
(and, as always when checking out a branch just to be sure, runyarn install
), runyarn storybook
in the terminal. This starts Storybook locally, and should open your browser tolocalhost:6006
where you see all the components. Note that you want to only look at the ones under the "Components" headline.Files
Create a folder in
src/zui/components
and give it a name for your component, likeZUIButton
. Inside that folder, create one fileindex.tsx
(this is where you write your component) and oneindex.stories.tsx
(this is where you write your Storybook stories). Look at the components insrc/zui/components
for inspiration/reference! Note that there are lots of components with names that start with "ZUI" outside thesrc/zui/components
folder, but only the ones insrc/zui/components
are relevant as reference/inspiration for the work you will be doing.The text was updated successfully, but these errors were encountered: