Schema Visualizer: Allow wider zoom range (minZoom/maxZoom)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
Research direction
Start in the Prisma Studio schema visualizer and locate the ReactFlow zoom configuration described in the issue. Update the zoom range so minZoom remains 0.5 and maxZoom becomes 5; done means larger schemas with 15–20+ models can be viewed more fully.
Written by the indexing model from the issue text.
Description
Closes #1558
Problem
The schema visulizer inside prisma studio in locally has minZoom: 0.5 maxZoom: 2 in ReactFlow defaults. For schema with many models (15/20+) max zoom out is not enough to see the full diagram. User cannot get proper full view of the entire diagram. It need minZoom: 0.5 and maxZoom: 5 to get a clear view
Proposed solution
Update the ReactFlow zoom configuration in the Prisma Studio schema visualizer from:
minZoom: 0.5,
maxZoom: 2,
to:
minZoom: 0.5,
maxZoom: 5,
This would allow users to zoom out further and get a clear full view of larger schemas with 15–20+ models.
Alternatives
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 84
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from prisma/studio
-
dieuli li dess Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Loop Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
SQL editor runs never complete (stuck on "Cancel") when Studio is embedded under React StrictMode Open
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
-
kind/feature
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100