diff --git a/src/interface/desktop/configure_screen.py b/src/interface/desktop/configure_screen.py index fe8bf313..86585391 100644 --- a/src/interface/desktop/configure_screen.py +++ b/src/interface/desktop/configure_screen.py @@ -17,9 +17,9 @@ from src.utils.helpers import merge_dicts class ConfigureScreen(QtWidgets.QDialog): """Create Window to Configure Khoj Allow user to - 1. Enable/Disable search on 1. org-mode, 2. markdown, 3. beancount or 4. image content types - 2. Configure the server host and port - 3. Save the configuration to khoj.yml and start the server + 1. Configure content types to search + 2. Configure conversation processor + 3. Save the configuration to khoj.yml """ def __init__(self, config_file: Path, parent=None): @@ -202,7 +202,7 @@ class ConfigureScreen(QtWidgets.QDialog): return True def load_updated_settings(self): - "Hot swap to using the updated config from file" + "Hot swap to use the updated config from config file" # Load parsed, validated config from app config file args = cli(state.cli_args) self.current_config = self.new_config @@ -230,6 +230,7 @@ class ProcessorCheckBox(QtWidgets.QCheckBox): self.processor_type = processor_type super(ProcessorCheckBox, self).__init__(text, parent=parent) + class ProcessorLineEdit(QtWidgets.QLineEdit): def __init__(self, text, processor_type: ProcessorType, parent=None): self.processor_type = processor_type diff --git a/src/interface/desktop/system_tray.py b/src/interface/desktop/system_tray.py index ebc465d0..5d53787b 100644 --- a/src/interface/desktop/system_tray.py +++ b/src/interface/desktop/system_tray.py @@ -9,11 +9,10 @@ from src.utils import constants def create_system_tray(gui: QtWidgets.QApplication, configure_screen: QtWidgets.QDialog): - """Create System Tray with Menu - Menu Actions should contain - 1. option to open search page at localhost:8000/ - 2. option to open config screen - 3. to quit + """Create System Tray with Menu. Menu contain options to + 1. Open Search Page on the Web Interface + 2. Open App Configuration Screen + 3. Quit Application """ # Create the system tray with icon @@ -40,4 +39,3 @@ def create_system_tray(gui: QtWidgets.QApplication, configure_screen: QtWidgets. tray.setContextMenu(menu) return tray -