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

Added Studio docs #2455

Merged
merged 33 commits into from
May 12, 2021
Merged

Added Studio docs #2455

merged 33 commits into from
May 12, 2021

Conversation

tapadipti
Copy link
Contributor

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.

🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.

Please choose to allow us to edit your branch when creating the PR.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 10, 2021 12:14 Inactive
@tapadipti tapadipti requested a review from iesahin May 10, 2021 12:14
@iesahin iesahin requested a review from jorgeorpinel May 10, 2021 12:47
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 10, 2021 14:58 Inactive
Copy link
Contributor

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

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

High-level comments before full review:

Copy link
Contributor

@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.

Structure and titles review (will commit a few of these):

content/docs/sidebar.json Outdated Show resolved Hide resolved
content/docs/sidebar.json Outdated Show resolved Hide resolved
content/docs/sidebar.json Outdated Show resolved Hide resolved
content/docs/sidebar.json Outdated Show resolved Hide resolved
content/docs/sidebar.json Outdated Show resolved Hide resolved
content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/experiments.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
content/docs/studio/teams.md Outdated Show resolved Hide resolved
@@ -0,0 +1,42 @@
# Visualize and compare experiements

This comment was marked as resolved.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should "compare" be reflected in the sidebar label?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally yes. But that will make the sidebar item too long. Any suggestions on how to keep it short?

This comment was marked as resolved.

This comment was marked as resolved.

Copy link
Contributor

@jorgeorpinel jorgeorpinel May 12, 2021

Choose a reason for hiding this comment

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

we don't have time for this... Fix low hanging fruits

Yeah my initial review only focused on the overall structure with that same idea. And before reading all the content I was pretty confused by the titles. Isn't a "View" a visualization?

Reading into the View page, it's defined as "an interactive representation of the experiments run in your ML project," which sounds the same as visualizing experiments.

After reading the content in this page in detail I see that we mean specific experiments, which makes total sense. But before that this was confusing.

But yes I see now that it's not low-hanging fruit, so let's just leave this unresolved for now and we'll revisit later. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added to new ticket #2468

@jorgeorpinel jorgeorpinel temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 10, 2021 22:02 Inactive
@jorgeorpinel
Copy link
Contributor

@tapadipti please git pull. Thanks for this BTW! 🎉

Copy link
Contributor

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

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

Good stuff.

Half the full review so far 🚧

Feel free to contest suggestions.

content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/create-view.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
content/docs/studio/get-started.md Outdated Show resolved Hide resolved
Co-authored-by: Jorge Orpinel <[email protected]>
Co-authored-by: Casper da Costa-Luis <[email protected]>
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 11, 2021 05:50 Inactive
@restyled-io restyled-io bot mentioned this pull request May 11, 2021
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 11, 2021 06:22 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 11, 2021 06:40 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 11, 2021 08:19 Inactive
@@ -0,0 +1,457 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jorgeorpinel @casperdcl Do you know who creates the logo/icon SVGs? I created a grayscale one for Studio from the color one using a tool called Inkscape, but I think a simpler one could be created. Not sure who would be doing this.

Copy link
Contributor

@casperdcl casperdcl May 11, 2021

Choose a reason for hiding this comment

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

I've been concerned about resource fragmentation (full summary in iterative/static#1) - particularly for logos and the issues it's been causing with updating (e.g. iterative/cml.dev#50). In fact I've already been working on optimised monochrome versions (iterative/static#1 (comment)) using Inkscape amongst other tools. I guess @arcticbear can advise?

Copy link

@arcticbear arcticbear May 11, 2021

Choose a reason for hiding this comment

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

@tapadipti @casperdcl I can help with that, what sizes and formats do you need?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A small svg to be used in the sidebar (in place of the bullet point). The one I am currently using can be found here https://dvc-org-studio-docs-vntpxfoqdz.herokuapp.com/doc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added to new ticket #2469

Choose a reason for hiding this comment

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

@tapadipti I've updated the images and pushed them into the main branch. You can check it out.

@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 05:42 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 05:47 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 08:26 Inactive
@tapadipti
Copy link
Contributor Author

quick comment since we want to merge soon before sorting out remaining minor issues:

Can you move all the added images to https://github.com/iterative/static/tree/main/img (and link to them using https://static.iterative.ai/img/ rather than /img/)? This would avoid bloating this repo's history when we revisit the images later.

@casperdcl I should directly commit it to the main branch, right? And, will the images load when I run the server locally?

@tapadipti
Copy link
Contributor Author

I've updated the link to Studio in the docs. It is now pointing to https://studio.iterative.ai Since this link isn't working currently, the tests are failing. Will re-check once @JIoJIaJIu updates https://github.com/iterative/viewer/issues/1891

@tapadipti
Copy link
Contributor Author

The only thing that worries me a little (for the release) are the small/unreadable images

@jorgeorpinel I've changed one image. For others (small images), hopefully the image borders will help for now.

Looking forward to working with you more on docs

yep :) And thanks for all your review comments.

@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 09:21 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 10:01 Inactive
@tapadipti tapadipti requested a review from casperdcl May 12, 2021 10:03
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 10:14 Inactive
@shcheklein shcheklein temporarily deployed to dvc-org-studio-docs-vntpxfoqdz May 12, 2021 10:18 Inactive
Copy link
Contributor

@iesahin iesahin left a comment

Choose a reason for hiding this comment

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

Fixed a few minor things here and there. Thank you @tapadipti 🙏🏼 That's great content.

@tapadipti
Copy link
Contributor Author

@jorgeorpinel I don't have merge access (got this "The base branch restricts merging to authorized users."). Can you merge this pls.

@shcheklein shcheklein merged commit 36da40d into master May 12, 2021
@casperdcl casperdcl deleted the studio-docs branch May 12, 2021 13:47
Copy link
Contributor

@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.

Couple comments on @iesahin last minute edits (thanks for the typo fixes)

For the next iteration. Although we'll probably rephrase lots of the text anyway. The Q now is what's the priority? Let's discuss during docs planning.

Copy link
Contributor

@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.

Oops forgot to post them lol

hover over the required repository and click on `Connect`.
hover over the required repository and click `Connect`.
Copy link
Contributor

Choose a reason for hiding this comment

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

potayto, potahto 😬

Copy link
Contributor

Choose a reason for hiding this comment

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

I checked some usage SO question for this :) It's potato :))

Copy link
Contributor

Choose a reason for hiding this comment

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

🍠

view may be present in a data remote (cloud storage or another location
outside of the Git repo). If you want to include such data in your views, then
you will have to grant DVC Studio access to the data remote.
view may be present in a <abbr>data remote</abbr> (cloud storage or another
Copy link
Contributor

Choose a reason for hiding this comment

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

No such tooltip (yet)

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we have remote?

Ah, I think this only on my fork. Missed it, sorry.

Screen Shot 2021-05-12 at 19 03 08

- **Run CI/CD for your ML projects on cloud resources of your choice without any
new tools.**
- **Run [CI/CD](https://en.wikipedia.org/wiki/CI/CD) for your ML projects on
Copy link
Contributor

Choose a reason for hiding this comment

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

Needed?

Copy link
Contributor

Choose a reason for hiding this comment

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

In #2468 there is a checkbox that reads "The CI/CD part may need more explaining/linking" and the easiest way to link was Wikipedia. 😅 We can replace it with a concept page sometime I think.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, it's a good idea for now. I meant explaining CML runners I guess, or something related with CML. But not for this iteration. Anyway, we'll review when possible.

tapadipti added a commit that referenced this pull request May 28, 2021
tapadipti added a commit that referenced this pull request Jun 2, 2021
* #2468 Studio docs enhancements - initiated task

* Changed the structure of the "teams" page + Added more details in the "experiments" page

* Updated images + Some minor style changes

* Text changes as per PR #2455 review comments

* Added section on GH app installation + other small changes

* Added clarification in the GitHub app section

* Minor correction

* Added a separate page for view settings

* Clarified that DVC or non-DVC repos can be used with Studio

* Added links to Studio in the DVC docs and banner

* Added Studio icon in the banner

* Apply suggestions from code review

Co-authored-by: Casper da Costa-Luis <[email protected]>

* Restyled by prettier

* Added videos

* Changed the intro of Studio docs as per Ivan's comment in the PR

* Added DVC benefits, data remotes access details + some other changes

* Small changes as per PR comments

Co-authored-by: Casper da Costa-Luis <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
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.

7 participants