Skip to content

Bugfix/FOUR-9438: Clear history after click the use model button#5034

Merged
ryancooley merged 1 commit into
developfrom
bugfix/FOUR-9438
Jul 20, 2023
Merged

Bugfix/FOUR-9438: Clear history after click the use model button#5034
ryancooley merged 1 commit into
developfrom
bugfix/FOUR-9438

Conversation

@agustinbusso
Copy link
Copy Markdown
Contributor

@agustinbusso agustinbusso commented Jul 20, 2023

Issue & Reproduction Steps

Steps to reproduce:

  • Go to processes > + process > generative AI
  • Generate some processes to get history items
  • Click on use model button and then save in the modal
  • You will be redirected to the modeler with the new process
  • Go back to the generative ai screen
  • The history should be empty

Current behavior:
After click on use model and create a process, the history still there.

Expected behavior:
After click on use model and create a process, the history should be cleared.

Solution

  • After click save in the modal emit an event to package-ai to clear the history.

Working video

Screen.Recording.2023-07-20.at.10.15.34.mov

How to Test

  • Follow steps above

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@processmaker-sonarqube
Copy link
Copy Markdown

@tokensPM
Copy link
Copy Markdown

QA server was successfully deployed https://ci-77b9adecb8.eng.processmaker.net

@ryancooley ryancooley merged commit 0ed111a into develop Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants