whoiskatrin / sql-translator

SQL Translator is a tool for converting natural language queries into SQL code using artificial intelligence. This project is 100% free and open source.
https://www.sqltranslate.app/
MIT License
4.19k stars 358 forks source link

UI IMPROVEMENTS #52

Closed code-arnab closed 1 year ago

code-arnab commented 1 year ago
  1. Added colors to different buttons to better suit the theme
  2. Have set a minimum size of the input text area to avoid resizing to very small size
vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @whoiskatrin on Vercel.

@whoiskatrin first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sql-translator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2023 2:14pm
whoiskatrin commented 1 year ago

I’m not sure about the colours change, as we had a design done by one of Vercel designers. @code-arnab

code-arnab commented 1 year ago

I’m not sure about the colours change, as we had a design done by one of Vercel designers. @code-arnab

I understood your point about the design being made by a Vercel designer but my motivation behind this change is that making the UI the a bit more catchy and interactive at the same time because before this change the light mode is just plain white, a blue button and some texts it's the same for the dark mode so I thought changing up the dynamics a bit would make it more fun to interact with. So, in this update I changed quite a things like added a green color theme to the add schema button and it will change to a red while showing the option remove schema and I also fixed the bug that when you resize the text area it will shrink to such extent that it's just don't look good so I have added a minimum default size to it. So, I think with these changes the UI would be more fun to interact with at least according to me.

whoiskatrin commented 1 year ago

Hey @code-arnab,

Thanks a bunch for putting in the effort to make the UI more interactive and fun. You've got some cool ideas there, and it's clear you've been thinking about how to make the user experience better.

But, you know, we just got this design from a designer and we kinda want to stick with it for a while. We think it's a good idea to let it roll for some time and see how users feel about it before we make any big changes.

Your suggestions are definitely worth keeping in mind, though. So don't toss 'em away! We might want to take another look at them down the road when we're thinking about a design update.

Thanks for understanding, and keep those creative juices flowing!

code-arnab commented 1 year ago

Thank you very much for the consideration of my ideas and yeah I think it will be better to let the user's get interact with this a bit more. Meanwhile I will keep on looking for new elements or features to add.