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.
Proposed changes
In the AI site generation interface we will keep showing "Version 1", "Version 2", etc. but when the theme name and slug are generated we will use title + number like: "bean-there-cafe-3" and "Bean There Cafe 3".
If the user has chosen a name for a version we use that as title and slug for theme.
Note: This works only for favorited versions in the interface
Sone examples :
User chosen title
Before :
slug : version-3 => title : final-version
After :
slug : version-3 => title : final version
Default case 1
Before :
slug : version-1 => title : version-1
After :
slug : bean-there-cafe-1 => title : Bean There Cafe 1
Default Case 2
Before :
slug : version-1-copy-copy => title : version 1 (copy) (copy)
After :
slug : bean-there-cafe-1-copy-copy => title : Bean There Cafe 1 copy copy
Type of Change
Checklist
Further comments