Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: use template toggle on / off should override content if blank #7556

Open
TGTGamer opened this issue Mar 9, 2025 · 1 comment
Open
Labels
🎉reproduced🎉 The issue could be reproduced by following the instructions UI Any broken visuals like layouts, colors etc.

Comments

@TGTGamer
Copy link

TGTGamer commented Mar 9, 2025

So, I have been using the AI Generation recently, and I like it - sometimes - sometimes it generates incorrect data.

So I want to be able to delete the AI Content, and revert back to the template within the repository. At the moment I can't seem to do this via the UI.

Probably don't want to override user content without a prompt or something, but if I select all and delete the content so it's blank, it should treat the form as empty / unmodified, and allow that template to be activated again.

Replication Steps:

  1. Create a branch
  2. Create a commit (content irrelevant)
  3. Click Create Pull Request
  4. Click use PR template to toggle it on.
  5. Click "AI Generation" to toggle it on.
  6. Scroll to bottom of content box. Click Generate Description.
  7. Decide you don't like the description.
  8. Attempt to get back to your template.....
20250309-1253-05.9937823.mp4

Related: #4898 #5220

@Byron Byron added UI Any broken visuals like layouts, colors etc. 🎉reproduced🎉 The issue could be reproduced by following the instructions labels Mar 11, 2025
@Byron
Copy link
Collaborator

Byron commented Mar 11, 2025

Thanks a lot for bringing this up, and for the video which shows the problem perfectly.

Maybe this would be an easy thing to fix, but @estib-vega would know better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉reproduced🎉 The issue could be reproduced by following the instructions UI Any broken visuals like layouts, colors etc.
Projects
None yet
Development

No branches or pull requests

2 participants