8000 placeholders and empty states · Issue #332 · cylc/cylc-ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

placeholders and empty states #332

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.

A 8000 lready on GitHub? Sign in to your account

Open
8 tasks
oliver-sanders opened this issue Dec 15, 2019 · 3 comments
Open
8 tasks

placeholders and empty states #332

oliver-sanders opened this issue Dec 15, 2019 · 3 comments
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member
oliver-sanders commented Dec 15, 2019

Stand-in content for empty / null states to make users aware of the state (rather than just displaying a blank page).

Proposal to close the empty/loading components of #111

Modern UI design seems to have settled on a greyscale background image for empty states these days. Clear, concise and simple to implement.

I believe material design has built-in support.

Some examples of places where we need empty state placeholders and some ideas as to what they could look like:

placeholders

Missing placeholders:

  • Workflow: workflow stopped
  • Workflow: workflow does not exist (e.g. workflow deleted)
  • All view components: connecting/loading (spinner / skeleton)
  • All workflow components: no tasks matching filter
  • Workflow: network error (unable to get data)
  • Workflow: no active view
  • GScan: no workflow
  • GScan: no workflow matching filter

Pull requests welcome!

@MetRonnie
Copy link
Member

Vuetify has a VEmptyState component that should make this easy

@oliver-sanders
Copy link
Member Author

I'm not quite sure what VEmptyState brings to the party, it's trivial to roll your own:

<div v-if="workflow.status === 'stopped'">
  <!-- placeholder -->
</div>
<div v-else>
   <!-- content -->
</div>

@MetRonnie
Copy link
Member

Yes but even trivialier using that component. No need to roll your own styles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0