-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skeleton/empty state graph for Day 0 usage #1278
Comments
Hi @andrew-ronaldson, thanks for this! This empty state is a step in the right direction from what we had before, which was no empty state at all, but we are hoping to improve upon empty state nuances depending on the type it is. The typical empty state could work in this case but we would like to have something more visually robust to display what the resource will be once it is fully loaded/available. I believe @tiffanynolan has some experience and is working on empty state nuances so maybe she'll have some feedback here as well! |
Thanks for the ping, @tiyiprh. While we have not finalized design guideline proposals for this use case, the working group participants were very fond of a an empty state variation that has a blurred background and then a very clear action to create data that would fill in that graph. Something like this: |
Made some iterations based on the feedback and then discussed with @tiffanynolan. We came to an agreement on this mockup: We are showing a static image with a fixed design based on the type of graph once data has been input and will have a fixed height. Once data has been populated, the height will change accordingly. We are using the extra small empty state from PF within the graph area. This is just some context of what our generic empty state is like versus what a graph empty state would look like. The graph empty state gives more context on what the user can expect to see versus just the generic empty state. |
Pinging @dlabrecq on this for his chart expertise. Is this ghosted chart with Empty state technically possible? |
Thanks so much @dlabrecq for taking the time to work through this and the feedback. Based on the above, we reworked the design. |
Curious what would a skeleton would look like for other types of charts; bar, pie, donut, utilization, bullet, area, etc? |
I'm thinking something like this? Let me know any feedback! |
Are you expecting to use the animated PatternFly skeletons? Using plain grey boxes would be simpler. I think most of the mocks are doable. Although, the threshold chart legend looks a little tricky. It shows dashed lines as the legend symbol, while all other charts use grey boxes. Still some things to figure out...
|
We are planning to use grey boxes and not the animated PF skeletons. |
Ok, just wondering if the chart was expected to provide fake data. It could provide something basic, but probably wouldn't be a true representation of your populated chart. |
Something basic is fine. The idea is just to show the user an example of what the chart/graph would look like as a placeholder until it gets populated and filled out so they have an idea of what they can expect to see. |
I have a draft PR here patternfly/patternfly-react#10311 I created a new theme to fill-in all labels grey, but also removed chart interactions like tooltips, cursors, etc. You can view live examples below |
Requesting new features, enhancements, or design changes to PatternFly
In Event-Driven Ansible, we show a data graph on the dashboard. However, the graph will only show once a rule is run and there is data. On Day 0, we want to show a skeleton/empty state graph to indicate to the user that there is something that will be shown on the dashboard even though there is no data populated yet.
There is currently no skeleton/empty state graph but examples of skeleton components.
Based on the skeleton component currently in PatternFly, we've designed a possible solution to meet this use case.
The text was updated successfully, but these errors were encountered: