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

plots: copy edit walkthrough and dashboard tooltips #1922

Merged
merged 13 commits into from
Jun 23, 2022

Conversation

jorgeorpinel
Copy link
Contributor

No description provided.

@jorgeorpinel jorgeorpinel marked this pull request as ready for review June 17, 2022 05:54
@jorgeorpinel jorgeorpinel changed the title plots: copy edits walkthrough and dashboard tooltips plots: copy edit walkthrough and dashboard tooltips Jun 17, 2022
@jorgeorpinel jorgeorpinel self-assigned this Jun 17, 2022
@jorgeorpinel
Copy link
Contributor Author

jorgeorpinel commented Jun 19, 2022

Should I feel free to merge (my) approved PRs in this repo? Thanks

@shcheklein
Copy link
Member

@jorgeorpinel I'll review it, haven't had time yet

sections for selected experiments, that correspond to the different
[types of plots](https://dvc.org/doc/command-reference/plots#supported-file-formats)
supported by DVC:
If you're using Python, the [DVCLive] helper library can save plots data for
Copy link
Member

Choose a reason for hiding this comment

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

You are adding too much context to the page, too much structure. It tried as much as I can to keep it in a way that at least on my 13'' screen I can see some actual plots screenshots when open it

This comment was marked as resolved.

Copy link
Contributor Author

@jorgeorpinel jorgeorpinel Jun 20, 2022

Choose a reason for hiding this comment

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

too much structure

Are you referring to the H2s further down? Also not a strong opinion, I guess it's a stylistic choice. IMO it looks better and clearer (# Plots > ## Plot types) and again it doesn't make the page longer. But I'm happy to flatten it if you confirm that's what we're talking about.

Copy link
Member

Choose a reason for hiding this comment

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

It's not about the page length per se. It's about when I can see any plots on the page that is called "Plots". We want the screenshot with them visible asap. Adding more paragraphs, structure, etc are making it more and more like a tutorial. We should be throwing out things if possible, not adding them. It's similar to DVC's get started - we are fighting for every symbol here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should be throwing out things if possible... we are fighting for every symbol

OK, I compressed it again, in fact I merged a few things to make it even shorter. PTAL

It's about when I can see any plots on the page that is called "Plots"

Maybe we should move the 💡 tip about setting up plots to the bottom then? Or just link to DVC docs

[Section.CHECKPOINT_PLOTS]:
'Linear plots based on data from the experiments table.',
'Real-time graphs based on metrics from the Experiments Table',
Copy link
Member

Choose a reason for hiding this comment

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

Let's create a ticket please to being able to include links into these descriptions.

  • keep all three sections visible, if section is empty, show the same message instead of it's content

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ticket created: #1933

Copy link
Contributor Author

@jorgeorpinel jorgeorpinel Jun 20, 2022

Choose a reason for hiding this comment

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

Do you also think "graphs" is also not good here? I like it better here since trends charts are not regular DVC plots but rather an extension-specific feature I think. Or does DVCLive also update regular plots in your browser? Anyway, feel free to also commit this if you prefer so:

Suggested change
'Real-time graphs based on metrics from the Experiments Table',
'Real-time plots based on metrics from the Experiments Table',

Copy link
Member

Choose a reason for hiding this comment

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

yes. Also not sure about making it the "Experiments Table" tbh.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was already "Experiments Table". That's the official name we give to that custom VS Code Editor I think?

Copy link
Member

Choose a reason for hiding this comment

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

sorry, I meant capitalization - should it be "Experiments Table" or just "experiments table" in these descriptions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like capitalization and bolding since each one has a walkthrough page. No strong opinion

BTW this page should be Plots Dashboard, I think (bit stronger opinion there).

Copy link
Member

Choose a reason for hiding this comment

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

okay, let's keep it

Copy link
Contributor Author

@jorgeorpinel jorgeorpinel left a comment

Choose a reason for hiding this comment

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

Another 2 places where we have "graph" at the moment. Up to you guys, thanks:

extension/resources/walkthrough/plots.md Outdated Show resolved Hide resolved
webview/src/plots/components/PlotsContainer.tsx Outdated Show resolved Hide resolved
@jorgeorpinel jorgeorpinel requested review from shcheklein and sroy3 June 20, 2022 22:04
Comment on lines +4 to +5
[**Plots Dashboard**](command:dvc.showPlots). Use
[`DVC: Show Plots`](command:workbench.action.quickOpen?%22>DVC:%20Show%20Plots%22)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we need both links? I think they do the same thing in the end.

Copy link
Member

Choose a reason for hiding this comment

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

it educates ppl a bit more

@codeclimate
Copy link

codeclimate bot commented Jun 20, 2022

Code Climate has analyzed commit 5f4d273 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.6% (0.0% change).

View more on Code Climate.

@jorgeorpinel jorgeorpinel merged commit 79a52d5 into main Jun 23, 2022
@jorgeorpinel jorgeorpinel deleted the editors/plots-dashboard branch June 23, 2022 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants