-
Notifications
You must be signed in to change notification settings - Fork 792
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
Proposal for enhancing Prisma Studio docs #416
Conversation
cc: @mhwelander |
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 so much for this Robin! Overall I think it looks great and we can definitely use a bit more content on this page. I just pointed out a few formulations that sound a bit too matketing-y for a reference docs page IMO, I think the tone here should be as neutral as possible (but would also love to hear @mhwelander's thoughts on this) 🙂
Also, just FYI, we already have an open (internal) "issue" for the Studio page where we want to add:
- the different "features" of Studio, e.g. browsing data, modifying data, table vs tree view,...
- ideally add a number of screenshots per feature
Just as a side-note in case you want to take a stab at this as well 😄
@@ -7,7 +7,13 @@ experimental: true | |||
|
|||
## Overview | |||
|
|||
Prisma Studio is a visual editor for your database. To run Prisma Studio, run the following command in your terminal: | |||
Prisma Studio is a very powerful database GUI where you can interact with your data. |
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.
let's try to be a bit more "neutral" here -> "very powerful database GUI" is a bit too much IMO 🙈
Prisma Studio is a visual editor for your database. To run Prisma Studio, run the following command in your terminal: | ||
Prisma Studio is a very powerful database GUI where you can interact with your data. | ||
|
||
## Not Your Typical Database GUI |
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 not too sure about the wording here, sounds a bit too marketing-y for a page in the reference docs to me. if this section is about comparing Prisma Studio to other DB GUIs, maybe something like "How Prisma Studio is different from other database GUIs" might work better?
|
||
## Not Your Typical Database GUI | ||
|
||
Prisma Studio is different from a typical database GUI program (such as [TablePlus](https://tableplus.com/)) in that it provides a layer of abstraction which allows you to see your data represented as it is in your Prisma datamodel. This is one of the several ways that Prisma bridges the gap between how you structure and interact with your data in your application and how it is actually structured and represented in the underlying database. One benefit of this is that it helps you to build intuition and understanding of these two linked but separate layers over time. |
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.
which allows you to see your data represented as it is in your Prisma datamodel
- "datamodel" should be spelled as two words: "data model" (sorry this is confusing, in Prisma 1 we had the convention to spell it as one word but with Prisma 2 it's two words). Ideally it can also link to the "Data model" docs page: https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-schema/data-model
Thanks for this feedback, @nikolasburk ! I'll be sure to apply your suggestions and also try to expand things a bit. Also, I'd be happy to take a stab at that internal "issue" you mentioned. Could you link me to the issue or let me know how I should go about taking it on? I'll work on these changes as soon as I can, hopefully this evening after work! |
Description
I would like to propose enhancing the documentation for Prisma Studio which is currently very sparse. I absolutely love this tool and think that it truly strikes a fantastic balance of abstraction.
This is just a start, but if we agree that this is a great time to work on this, I'd love to add more detail such as showing a comparison between how tables look in the underlying database and how they are represented in Prisma Studio in a way that is based on the datamodel.