Prisma Studio v7 polish
Hey Prisma team, very excited to see the rewrite of Prisma Studio! The embeddable version is super cool.
There are a handful of things that seem to need addressing/don't seem to be present in the new version:
1. Reverse relations aren't shown (e.g.
User.posts)
2. Relations are only shown if the database uses foreign keys, so not if using relationMode = "prisma" like with PlanetScale
3. Columns aren't truncated at all, so columns with a lot of data are unusably wide
4. No option to create multiple tabs (though you can open new browser tabs as a workaround -- yay for URL state!)
5. Various UI polish needed, like overlapping text when pinning columns
I use Prisma Studio a lot for data manipulation, and unfortunately the v7 iteration isn't currently usable with these issues.
I can file these as issues at https://github.com/prisma/studio, but I wanted to post here first to get a general vibe check on what the plan is to address these things, like if they're fast follows, or if there's a way I can continue using Prisma Studio v6 while having my Prisma client on v7.
Thanks!2 Replies
You opted for speed from this bot. Let's conjure up an answer right now!
Thank you for your detailed feedback on Prisma Studio v7! Based on the available knowledge sources, here’s what I can share:
1. Reverse relations not shown: Prisma Studio is known for robust handling of relational data, including viewing nested relations and modifying connected records. However, the current documentation and blog posts do not explicitly confirm whether reverse relations (like
User.posts) are supported in v7, especially in the embeddable version. The team is actively seeking feedback on relational features, so your input is valuable for future improvements We Made Prisma Studio Even Better.
2. Relations only shown with foreign keys: When using relationMode = "prisma" (as with PlanetScale), relations are emulated in Prisma Client and not enforced at the database level. This can impact how relations are introspected and displayed in Studio, as relations may not be automatically added to your schema and need to be defined manually. This limitation is documented, and it’s recommended to add relations with the @relation attribute in your schema Emulate relations in Prisma ORM with the prisma relation mode.
3. Column truncation/UI polish: Recent updates have focused on UI improvements, such as a sidebar for models and a right-side panel for editing records, but there’s no explicit mention of column truncation or handling wide columns. UI polish, including overlapping text and other visual issues, is an area the team is looking to improve based on user feedback DX improvements in Prisma Studio.
4. Multiple tabs: A new "Close all" button was added for tab management, but there’s no
mention of multi-tab support within Studio itself. Opening new browser tabs is a suggested workaround We Made Prisma Studio Even Better.
5. Continue using v6 with Prisma Client v7: The knowledge sources do not provide information about compatibility between Studio v6 and Prisma Client v7.
You’re encouraged to file these issues on GitHub, as the team is actively seeking feedback to guide future development Let us know your feedback.
🤔 Alright, thanks for letting us know that there's still some help needed. A team member will reply to you shortly.
In the meantime, please let us know any additional info, questions, or which parts of the answer may need clarification.Hey, thanks for sharing the feedback.
I see my colleague already shared your feedback with the team internally.
Please feel free to open issue in Studio repo so that our team can take a look and prioritise 🙏