Skip to content
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

Improve dashboard editing flow #2219

Merged
merged 17 commits into from
Jan 28, 2018

Conversation

kocsmy
Copy link
Collaborator

@kocsmy kocsmy commented Jan 11, 2018

  • Hide Refresh, Share and Fullscreen while Unpublished
  • Publish Dashboard should be visible and not hidden under …
  • Stick dashboard header to the top
  • Show Refresh button when Unpublished
  • Hide Refresh, Share, Fullscreen and ... in Edit mode
  • Stick Add New Widget to the bottom so it's always visible
  • Hide empty parameter container (on query page) so it stops wasting space @kocsmy
  • Finalise widget description: "Widgets are individual query visualisations you can place on your dashboard in various arrangements." @arikfr
  • When creating a new dashboard, it should be in Edit Layout mode by default @arikfr
  • Make Publish button consistent with Query Publish
  • Enable filters checkbox should work properly (save its state) @arikfr

#2213

(until #2185 is merged this pull request contains commits from that branch too)

@arikfr arikfr changed the title Design/new dashboard creation Improve dashboard editing flow Jan 11, 2018
@arikfr arikfr added this to the v4 milestone Jan 11, 2018
@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 14, 2018

I merged from the query editor branch to make sure we won't have any big conflicts later on...

@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 18, 2018

Ok, I merged the master here to ensure we won't have conflicts. I'm adding a couple of improvements and fixes.

@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 18, 2018

screenshot 2018-01-18 19 19 59
screenshot 2018-01-18 20 36 19

We have 2 direction for the "Add widget" section: box and a wider line on the bottom. I think the wider option is better and it won't overlap on the widgets either.

@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 18, 2018

screenshot 2018-01-18 21 22 24

This is the final version.

My only concern is the discoverability of the [Add Widget] button on a busy dashboard.

I'm not worried about new users, since they'll learn when create their first dashboard and see it in empty form. But users who already have dashboard, we totally moved the option from the usual ... menu—let's see how it'll go, maybe we need to fine-tune and add back the ... in Edit mode.

@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 18, 2018

@arikfr is this a proper explanation for a widget: "Widgets are individual query visualisations you can place on your dashboard in various arrangements." how would you phrase it?

@arikfr
Copy link
Member

arikfr commented Jan 19, 2018

is this a proper explanation for a widget: "Widgets are individual query visualisations you can place on your dashboard in various arrangements." how would you phrase it?

Just a small change: "Widgets are individual query visualizations or text boxes you can place...".

(visualizations btw, we use US spelling :-))

@arikfr
Copy link
Member

arikfr commented Jan 20, 2018

I created the single dashboard edit mode + open new dashboard in edit mode. While doing this notice a few things:

  • There is no discovery for being able to edit the title -> maybe there should be a pencil icon or something?
  • "Publish Dashboard" button -> it's not consistent with the button on query page. Need to decide on a single format.

@kocsmy
Copy link
Collaborator Author

kocsmy commented Jan 20, 2018

Thanks, Arik!

There is no discovery for being able to edit the title -> maybe there should be a pencil icon or something?

That's correct, I'll add an icon to open the modal (later we can implement the same click and edit on the title) -> no, actually let's keep it as it is for now so it's consistent across the app.

"Publish Dashboard" button -> it's not consistent with the button on query page. Need to decide on a single format.

I'll make this consistent, thanks for spotting it.

@arikfr
Copy link
Member

arikfr commented Jan 21, 2018

That's correct, I'll add an icon to open the modal (later we can implement the same click and edit on the title)

There is already an edit in place.

@arikfr arikfr force-pushed the design/new-dashboard-creation branch from 91b1504 to 4029821 Compare January 28, 2018 10:37
@arikfr arikfr merged commit 76d8613 into getredash:master Jan 28, 2018
margin-top: 15px;
//box-shadow: fade(@redash-gray, 15%) 0px 4px 9px -3px;
border: 2px dashed fade(@redash-gray, 25%);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kocsmy I'm not sure if this is really not needed, but after rebasing with latest master this part was making the background grey & transparent (you could see the footer behind the add-widget section). I merged the edit flow PR, but please review the CSS in the final state to make sure the rebase didn't mess up something...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for removing that part, it was indeed just a leftover from previous iterations. I'll review the CSS to make sure everything is in place.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I reviewed it and all seems good now. 👌

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

Successfully merging this pull request may close these issues.

2 participants