marilari88 / zod-playground

Play with Zod schema validation
https://zod-playground.vercel.app
MIT License
31 stars 1 forks source link

Some suggestions #1

Closed giacomocerquone closed 4 months ago

giacomocerquone commented 4 months ago

Hey there, I was jumping in to thank you for the playground, it's useful to test zod schemas from time to time and to give you some suggestions:

  1. The interface could be a bit more intuitive, one step forward would be to place an example schema to the elft with an example value to the right.
  2. Make sure to link the GitHub repo in the playground. This is because the vercel domain appears to be quite high in google but not the github repo and didn't know where to star it.
  3. We could definitely improve the position of the validate button, looks too far. I'm going to push the idea even further implementing keystrokes validation.
marilari88 commented 4 months ago

hey @giacomocerquone, Your suggestions are welcomed.

  1. The interface is indeed raw and lacks intuitiveness. To improve, we could implement an onboarding modal upon initial access, guiding users through the app's features and optionally allowing them to add a zod schema. Futhermore I am not happy with the overall layout, It should be redesigned
  2. Totally agree with you. It is easy to do
  3. I propose positioning it at the center of the screen to enhance visibility Hope to have enough time this weekend to go forward with these activities
giacomocerquone commented 4 months ago

hey @giacomocerquone, Your suggestions are welcomed.

  1. The interface is indeed raw and lacks intuitiveness. To improve, we could implement an onboarding modal upon initial access, guiding users through the app's features and optionally allowing them to add a zod schema. Futhermore I am not happy with the overall layout, It should be redesigned
  2. Totally agree with you. It is easy to do
  3. I propose positioning it at the center of the screen to enhance visibility Hope to have enough time this weekend to go forward with these activities

1.The onboarding modal would be nice, but I can tell you from experience it gets constantly skipped. If you still want to add it, just make sure to also let the user start with an example zod schema already written in the editor. 3.this is also a good idea, but keep in mind the autovalidation thing I mentioned. I can help with the activities, of course.

I'm available for implementing whatever the task you want to assign me to 🙂 Just use github features to do that

marilari88 commented 4 months ago

@giacomocerquone Just a quick update on some changes made to the app:

Default Zod Schema: You'll now find a default Zod schema pre-loaded when you open the app

Automatic Validation: The validation button has been removed. Validation now happens automatically whenever you make changes to the schema

GitHub Repo Link: A link to the GitHub repository is now available within the app for anyone interested in contributing

I've also opened some new issues on the GitHub repo if you'd like to get involved feel free to assign to yourself