feat/improv: Design consistency, additional user guides and recreate brand new html #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I am Chandima, working as a full-stack developer with Dotnet and Angular. I found your effort on this project very thrilling, and I enjoyed a lot playing around with it.
I have made some improvements that I felt were nice to have. But as I am not an expert on NextJs, I might have made mistakes in the framework usage and best practices. Please add any comments you might see that I can work with and improve so I can correct them.
These are the features I have added to this PR.
Note : This might be a bit costly as the token count is going to be high with bigger designs. So maybe later we can let the user decide whether they need to continue with the same design. Or if GPT implements a solution to maintain consistency, it would be a very nice one to have. But for the time being, addition 3 will be helpful to prevent this
No matter how clear the design drawings are, the GPT will mess up the design and create something not requested. (Vertical and horizontal placements are messed up, etc...) So I added an additional guides section so the user can give specific guides if the GPT keeps failing at a certain design.
If the user feels like the design is completely off and not getting any better, there is an option to select a checkbox and let GPT know to trash the current HTML and go with a new one.
Option 2 and 3 are getting reset after a successful generation since they have already catered the instructions into the HTML and will no longer be needed.
This is the feature in action.
Create.Next.App.-.Brave.2023-11-14.01-32-50.mp4
I hope you find these improvements helpful to the users and a good addition to your repo.
Have a nice day!