-
Notifications
You must be signed in to change notification settings - Fork 29
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
Show "Custom" section in "Get Started" screen #3523
Merged
Merged
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
883737d
Show custom plots in Get Started screen
julieg18 e1c7dbf
Merge branch 'main' into show-custom-plots-data-in-get-started
julieg18 222b9b6
Fix bugs
julieg18 547fbcb
Remove ribbon
julieg18 fddccd0
Fix typo
julieg18 d498e0c
Cleanup
julieg18 5619a0c
Merge branch 'main' into show-custom-plots-data-in-get-started
julieg18 7c90fbe
Merge branch 'main' into show-custom-plots-data-in-get-started
julieg18 6ed0863
Use message in section instead of empty plots
julieg18 8ca7c73
Remove trends logic
julieg18 3bf96bd
Only show custom section when there are plots
julieg18 7374c2e
Merge branch 'main' into show-custom-plots-data-in-get-started
mattseddon 771b9e0
Use only one text sentence
julieg18 a2763b4
Merge branch 'main' into show-custom-plots-data-in-get-started
julieg18 39b349a
Merge branch 'main' into show-custom-plots-data-in-get-started
julieg18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels odd:
I don't know
If there are no experiments at all then we end up with this:
Seems inconsistent.
At the very least I think the text inside of the empty box needs to mention the plot title/select a checkpoint experiment to display but I think they should be hidden with some message to say "select a checkpoint experiment to display trend plots"
Note: Chances of users seeing these screens are minimal due to the use of checkpoint experiments but I think we should attempt to get it right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, need to consider when there are no custom plots added but we do have data available:
An update will definitely be needed after #3567. Probably want to add a button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A message makes sense! Not sure where it could go though 🤔. Will start experimenting with some ideas :)
What's the issue with the current setup? Text says "No Plots Added" and you can add a plot with the plus button 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The screen shouldn't be split. The custom section should be hidden and there should be two buttons, one to add an experiment and one to add a custom plot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are 3 things that can currently cause an "empty" plots screen:
I'm about to introduce a global error too which gives 4.
I think we need to distinguish between the user having added custom plots or not.
From those we end up with the following combinations:
I added suggested welcome screen content, buttons and whether I think we should show or hide the custom plots section. IMO the section should be hidden if there is no other data sent the webview and a button should be added to create new custom plots.
I even think we should do this when there is a global CLI error.
The alternative is that we throw away the welcome screen concept in favour of improving the empty state of the existing sections. We then only have to deal with the project having no data at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another alternative is to simplify the welcome screen into as few states as possible.
We can deal with global errors separately but that would give us 6 states instead of 11. Seems pretty reasonable to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification! Updated the logic.