Skip to content

Commit

Permalink
Merge pull request #52 from OpenVoiceOS/release-0.2.1a1
Browse files Browse the repository at this point in the history
Release 0.2.1a1
  • Loading branch information
JarbasAl authored Sep 18, 2024
2 parents d2ff173 + ef2d855 commit 96d88f8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
15 changes: 3 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# Changelog

## [0.2.0a1](https://github.com/OpenVoiceOS/ovos-gui/tree/0.2.0a1) (2024-09-11)
## [0.2.1a1](https://github.com/OpenVoiceOS/ovos-gui/tree/0.2.1a1) (2024-09-18)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-gui/compare/0.1.0a1...0.2.0a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-gui/compare/0.2.0...0.2.1a1)

**Merged pull requests:**

- feat:extras\_requirements [\#49](https://github.com/OpenVoiceOS/ovos-gui/pull/49) ([JarbasAl](https://github.com/JarbasAl))
- chore:semver\_automations [\#48](https://github.com/OpenVoiceOS/ovos-gui/pull/48) ([JarbasAl](https://github.com/JarbasAl))

## [0.1.0a1](https://github.com/OpenVoiceOS/ovos-gui/tree/0.1.0a1) (2024-09-10)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-gui/compare/0.1.0...0.1.0a1)

**Merged pull requests:**

- chore:semver\_automations [\#46](https://github.com/OpenVoiceOS/ovos-gui/pull/46) ([JarbasAl](https://github.com/JarbasAl))
- fix:handle unloaded namespaces [\#51](https://github.com/OpenVoiceOS/ovos-gui/pull/51) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
8 changes: 8 additions & 0 deletions ovos_gui/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,10 @@ def _load_pages(self, pages_to_show: List[GuiPage], show_index: int):
@param pages_to_show: list of pages to be loaded
@param show_index: index to load pages at
"""
if not self.active_namespaces:
LOG.error("received 'load_pages' request but there are no active namespaces")
return

if not len(pages_to_show) or show_index >= len(pages_to_show):
LOG.error(f"requested invalid page index: {show_index}, defaulting to last page")
show_index = len(pages_to_show) - 1
Expand Down Expand Up @@ -1011,6 +1015,10 @@ def handle_namespace_global_back(self, message: Optional[Message]):
Handles global back events from the GUI.
@param message: the event sent by the GUI
"""
if not self.active_namespaces:
LOG.error("received 'back' signal but there are no active namespaces")
return

namespace_name = self.active_namespaces[0].skill_id
namespace = self.loaded_namespaces.get(namespace_name)
if namespace in self.active_namespaces:
Expand Down
4 changes: 2 additions & 2 deletions ovos_gui/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_BUILD = 0
VERSION_ALPHA = 0
VERSION_BUILD = 1
VERSION_ALPHA = 1
# END_VERSION_BLOCK

0 comments on commit 96d88f8

Please sign in to comment.