Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line ### nova-trame, 0.22.1 * Themed app now has an Exit Button by default which closes the application and can stop any running jobs (thanks to Gregory Cage). ### nova-trame, 0.22.0 * DataSelector queries subdirectories on demand, which should improve performance for large directory trees (thanks to John Duggan). Loading pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ Changelog = "https://code.ornl.gov/ndip/public-packages/nova-trame/blob/main/CHA [tool.poetry] name = "nova-trame" version = "0.22.0" version = "0.22.1" description = "A Python Package for injecting curated themes and custom components into Trame applications" authors = ["Duggan, John <dugganjw@ornl.gov>"] readme = "README.md" Loading src/nova/trame/view/theme/lifecycle_components.py→src/nova/trame/view/theme/exit_button.py +0 −0 File moved. View file src/nova/trame/view/theme/theme.py +11 −10 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ from trame_server.state import State from nova.common.signals import Signal from nova.mvvm.pydantic_utils import validate_pydantic_parameter from nova.trame.view.theme.lifecycle_components import ExitButton from nova.trame.view.theme.exit_button import ExitButton from nova.trame.view.utilities.local_storage import LocalStorageManager THEME_PATH = Path(__file__).parent Loading Loading @@ -146,6 +146,7 @@ class ThemedApp: async def get_jobs_callback(self) -> None: get_tools_signal = blinker.signal(Signal.GET_ALL_TOOLS) response = get_tools_signal.send() if response and len(response[0]) > 1: # Make sure that the callback had a return value try: self.server.state.nova_running_jobs = [tool.id for tool in response[0][1]] if len(self.server.state.nova_running_jobs) > 0: Loading Loading
CHANGELOG.md +4 −0 Original line number Diff line number Diff line ### nova-trame, 0.22.1 * Themed app now has an Exit Button by default which closes the application and can stop any running jobs (thanks to Gregory Cage). ### nova-trame, 0.22.0 * DataSelector queries subdirectories on demand, which should improve performance for large directory trees (thanks to John Duggan). Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ Changelog = "https://code.ornl.gov/ndip/public-packages/nova-trame/blob/main/CHA [tool.poetry] name = "nova-trame" version = "0.22.0" version = "0.22.1" description = "A Python Package for injecting curated themes and custom components into Trame applications" authors = ["Duggan, John <dugganjw@ornl.gov>"] readme = "README.md" Loading
src/nova/trame/view/theme/lifecycle_components.py→src/nova/trame/view/theme/exit_button.py +0 −0 File moved. View file
src/nova/trame/view/theme/theme.py +11 −10 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ from trame_server.state import State from nova.common.signals import Signal from nova.mvvm.pydantic_utils import validate_pydantic_parameter from nova.trame.view.theme.lifecycle_components import ExitButton from nova.trame.view.theme.exit_button import ExitButton from nova.trame.view.utilities.local_storage import LocalStorageManager THEME_PATH = Path(__file__).parent Loading Loading @@ -146,6 +146,7 @@ class ThemedApp: async def get_jobs_callback(self) -> None: get_tools_signal = blinker.signal(Signal.GET_ALL_TOOLS) response = get_tools_signal.send() if response and len(response[0]) > 1: # Make sure that the callback had a return value try: self.server.state.nova_running_jobs = [tool.id for tool in response[0][1]] if len(self.server.state.nova_running_jobs) > 0: Loading