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

Creation of threats made consistent #910

Merged
merged 3 commits into from
Mar 15, 2024
Merged

Conversation

mohamedselbohy
Copy link
Collaborator

@mohamedselbohy mohamedselbohy commented Mar 9, 2024

Fixed the following issues:

  • (bug title is not updated with number after creation without saving)
  • (changes should not be preserved when retained threat next displayed)

How does the addressed issues function now:
now the number of the threat is added when it's created and the content of the threat in the cell is not changed unless saved so the unsaved changes are not retained when the threat is going to get edited again

Fixes some points addressed in #899
Closes #899
Closes #889

(bug title is not updated with number after creation without saving)
(changes should not be preserved when retained threat next displayed)
@mohamedselbohy mohamedselbohy added the enhancement New feature or request label Mar 9, 2024
@mohamedselbohy mohamedselbohy requested a review from jgadsden March 11, 2024 16:57
@jgadsden jgadsden changed the title fixed the following issues: Creation of threats made consistent Mar 13, 2024
Copy link
Collaborator

@jgadsden jgadsden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much appreciated @mohamedselbohy
The close window action on a newly created threat does not quite do the correct thing: when the threat is reopened the Remove button should not be displayed: the Delete and Cancel buttons should be displayed instead, along with th existing prompt if the threat is deleted

@jgadsden
Copy link
Collaborator

I have updated the issue #899 for the new desired behavior

@mohamedselbohy mohamedselbohy requested a review from jgadsden March 15, 2024 01:02
Copy link
Collaborator

@jgadsden jgadsden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

many thanks @mohamedselbohy , this is a really useful pull request that sorts out the inconsistent behavior of the threat creation
Much appreciated, please go ahead with the merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version-2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make threat creation and update consistent Threat numbers are dependent on editing unsaved threats.
2 participants