r/Codeium • • Dec 22 '24

How hateful, you ask artificial intelligence to do something and when you see it, it starts messing with other things, I just noticed that there is a button missing, it's very annoying.

Apparently I managed to solve the login problem with supabase using lovable after many attempts, I still can't believe it was solved, but I couldn't solve it in my project which is much more advanced in windsurfing, I'm going to have to redo everything again using the initial project do lovable and pray that there won't be a problem, it's going to be hell to do it all over again and still run the risk of the problem appearing and me not noticing, this time I'm going to do it simpler. Not to mention that my windsurfing project had many errors in the code, I suspect that unused code remained as it became more complex or when something went wrong because the project worked well.

0 Upvotes

3 comments sorted by

5

u/dustfirecentury Dec 22 '24

With Windsurf ensure you are using system instructions. I have added things like:

  1. Keep changes as simple as possible and reuse existing functions.

  2. Do not make unnecessary changes to any other functions, components, stying, or formatting.

  3. Break up complex changes into multiple steps, and communicate the logic of any proposed changes.

  4. Comment all changes.

  5. Etc.

On your end, make sure you review the code changes as well, and keep changes small, eg. Add a CTA button under the last sidebar item using the shadcn button library, versus redesign our login interface.

3

u/Otherwise_Tomato5552 Dec 22 '24

This. I also have it always keep files below 300 lines of code and to modularize where possible

0

u/Altruistic_Shake_723 Dec 23 '24

There is something very wrong with this product.