Skip to content

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

@TGTGamer

Description

@TGTGamer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIAny broken visuals like layouts, colors etc.🎉reproduced🎉The issue could be reproduced by following the instructions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions