-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Question: Did you ever try to develop with Windows 11?
Related to: #107 User colour setting.
I wanted to allow users to add a colour setting to their profile. Which imo seemed be a reasonable job for the first contribution.
Since I am new to the codebase and there is an endless list of 3rd party dependencies (which I do not know), I used Gemini CLI (free preview) to explain the structure and stuff used. -> That worked surprisingly well. It seems to understand the directory structure and what the app should do and how.
I also used Gemini CLI to do all the code and database changes, after explaining what it wants to do.
This worked -- somehow, but it almost broke it's neck -- I am on Windows.
It seems scripts.mjs calls unix specific commands that do not work on Windows.
So it needed to "modify" all the scripts first.
Which it also did (surprisingly), but I am not sure if everything was right
In the end
Gemini was able to update the database schema using prisma and the command line.
I was able to run the admin UI.
It seems it also did update the database in the right way.
I did check the database content using the DBVisualizer program. The database was updated with my user-color field
The server got a new route to get and set the data.
But then the Profile UI caused a problem, which in turn was impossible for me to track down. Free token limit was gone.
But I did still learn a lot about the project and Gemini.
------- rant start
Mainly it is impossible to contribute for Windows users using it natively.
IMO that's a big problem, since 72% of PC users in the world use Windows. 12% MacOs and less than 4% user Linux based system. The rest use something else.
I do have WSL installed, and I am able to use it.
I could also use my Dell laptop, which runs Ubuntu pre-installed --- but I don't want to it only has a 13" screen :(
I want to be able to develop TW related stuff with my main Windows 11 Pro system, without breaking my neck.
-------- rant end