Skip to content

Commit

Permalink
1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ReStartQ committed Nov 29, 2024
1 parent b973503 commit 8590646
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes

## 1.5.6

- Swapped delete and cancel button for the delete modal to be consistent with the other modals. (Primary first, Cancel second)
- Fixed a bug that allowed a context menu to be opened while the delete modal was open.

## 1.5.5

- Added a delete confirmation popup modal when user clicks the "delete from list" option from the right click context menu.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ _Note:_
**This app does not have a code signing certificate and will give a warning message on installation.**

1. Download the setup file from the latest releases. The setup file is labeled as AniCour-Setup-x.x.x.exe, where x.x.x will denote the version.
<br> **Example: AniCour-Setup-1.5.5.exe**
<br> **Example: AniCour-Setup-1.5.6.exe**
<br> _Some browsers may give a warning when downloading the setup file as it does not use a code signing certificate._
<br> _In this case, to allow the download use the alternate option they provide. (Example: keep file)_
2. Run the setup file, Windows will give a message like below, click on **"More info"** <p align="center"><a href="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigningInitial.png"><img src="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigningInitial.png" height="280"/></a></p>
Expand Down
2 changes: 1 addition & 1 deletion help/InstallHelp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can download the app [here](https://github.com/ReStartQ/AniCour/releases).

1. Download the setup file from the latest release and install it on your computer.
2. The setup file is labeled as AniCour-Setup-x.x.x.exe, where x denotes a number for the version.
**Ex: AniCour-Setup-1.5.5.exe**
**Ex: AniCour-Setup-1.5.6.exe**
3. When you run the exe file, Windows will give a message like below, click on "More info" <p align="center"><a href="#"><img src="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigningInitial.png" /></a></p>
4. A new option will appear, "Run anyway". Click on it. <p align="center"><a href="#"><img src="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigning.png" /></a></p>
5. The installer menu will open up to allow you to install it on your computer. <p align="center"><a href="#"><img src="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourInstallationMenu2.png" /></a></p>
Expand Down
4 changes: 2 additions & 2 deletions release/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anicour",
"version": "1.5.5",
"version": "1.5.6",
"description": "Anime, Manga, and Light Novel Tracker Desktop Application for Windows. A fast and interactive way for AniList users to track and manage their anime/manga lists. ",
"license": "GPL-3.0",
"author": {
Expand Down
10 changes: 7 additions & 3 deletions src/renderer/components/app/etc/DeleteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ const DeleteModal = ({ props, open, setOpen }: RemoveModalProps) => {
border: '1px solid #2f2f2f',
},
}}
onContextMenu={(e) => {
e.stopPropagation(); // Stop the event from reaching context menu
e.preventDefault(); // Stop the electron context menu from appearing, can be removed if inspect element is needed
}}
>
<DialogTitle id="alert-dialog-title">
Are you sure you want to delete this media from your list?
Expand All @@ -66,9 +70,6 @@ const DeleteModal = ({ props, open, setOpen }: RemoveModalProps) => {
</DialogContentText>
</DialogContent>
<DialogActions>
<Button variant="contained" onClick={handleClose} size="small">
Cancel
</Button>
<Button
variant="contained"
color="error"
Expand All @@ -77,6 +78,9 @@ const DeleteModal = ({ props, open, setOpen }: RemoveModalProps) => {
>
Delete
</Button>
<Button variant="contained" onClick={handleClose} size="small">
Cancel
</Button>
</DialogActions>
</Dialog>
</>
Expand Down

0 comments on commit 8590646

Please sign in to comment.