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

feat: Add confirmation before deleting mods #89

Merged
merged 12 commits into from
Dec 11, 2023

Conversation

SnazzyPanda
Copy link
Contributor

This adds a confirmation modal/dialogue box to inform users that the action cannot be undone and to have them confirm that they want to delete the mod.

This should help prevent accidental deletions by users.

We may want to do some additional tweaking, such as changing button colors to help differentiate them.

@SnazzyPanda
Copy link
Contributor Author

I noticed, while using this change with a larger mod list, that displaying the confirmation seems to try to scroll until the mod you are trying to delete is at the bottom of the window. I am not sure what is causing that to happen or how to go about fixing that at this time.

@SnazzyPanda
Copy link
Contributor Author

I thought it might be related to immediately creating the modal within the for loop generating the rows, but moving it outside of the for loop did not seem to fix it.

I think I am out of possible ideas on how to fix the scroll issue, so, unless someone else has ideas, I think this is as far as I go on this pull.

@CHollingworth CHollingworth merged commit ab3e358 into CHollingworth:master Dec 11, 2023
2 checks passed
CHollingworth added a commit that referenced this pull request Dec 11, 2023
CHollingworth added a commit that referenced this pull request Dec 11, 2023
CHollingworth pushed a commit that referenced this pull request Dec 16, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](v1.2.0...v1.3.0)
(2023-12-16)


### Features

* Add confirmation before deleting mods
([#89](#89))
([ab3e358](ab3e358))
* Add confirmation before deleting mods
([#98](#98))
([fd72f1a](fd72f1a))
* Add context menu for moving mods to top or bottom
([#93](#93))
([e5303d3](e5303d3))
* Add mod separators
([#94](#94))
([79e8d55](79e8d55))
* Add quit button to the menu
([#99](#99))
([62d778c](62d778c))


### Bug Fixes

* Added proper credit to contributors, they do amazing work please give
em love.
([9c30861](9c30861))
* BG3 now functions. (First Push of LHL)
([a7b1848](a7b1848))
* Cyberpunk deployment will now deploy all files.
([188c44f](188c44f))
* Fix installing REDMod into the /mods directory
([#100](#100))
([0b20181](0b20181))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants