Skip to content

Commit

Permalink
Hotfix of critical screen navigation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
spockele committed Jun 10, 2024
1 parent 32c7ec2 commit 2275bb5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[//]: # (### Fixed)

## [v1.1.1] - 10 June 2024

### Fixed
Hotfix for a critical navigation issue that makes v1.1.0 unusable.
This issue was related to the incomplete removal of the unused pre-navigation function of the PalilaScreen class


## [v1.1.0] - 3 June 2024

### Added
Expand Down
5 changes: 2 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."

title: "Graphical User Interface for the Psychoacoustic Listening Laboratory (PALILA GUI)"
version: v1.1.0
date-released: 2024-06-03
version: v1.1.1
date-released: 2024-06-10

authors:
- family-names: "Pockelé"
Expand Down
9 changes: 2 additions & 7 deletions GUI/screens.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,7 @@ def on_release(self) -> None:
"""
Click action button to do the navigation if the button is unlocked
"""
# Have the parent screen do its pre-navigation actions (which should return a boolean)
# The pre-navigation should do any messaging towards the user
ready = self.parent.pre_navigation()
# When the screen is ready, navigate
if ready:
self.parent.manager.navigate_next()
self.parent.manager.navigate_next()

def unlock(self, *_) -> None:
"""
Expand Down Expand Up @@ -186,7 +181,7 @@ def __init__(self, pid_mode: str, welcome_text: str, *args, **kwargs) -> None:

self.ids.welcome.text = welcome_text

def pre_navigation(self) -> None:
def on_pre_leave(self) -> None:
"""
Function setting the PID before navigating
"""
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ limitations under the License.
### Citation
If you use this code for published research, please cite it as below:
```
Pockelé, J.S. (2024). Graphical User Interface for the Psychoacoustic Listening Laboratory (PALILA GUI) (version v1.1.0). Zenodo. DOI: 10.5281/zenodo.11028965.
Pockelé, J.S. (2024). Graphical User Interface for the Psychoacoustic Listening Laboratory (PALILA GUI) (version v1.1.1). Zenodo. DOI: 10.5281/zenodo.11028965.
```

---
Expand Down

0 comments on commit 2275bb5

Please sign in to comment.