mirror of
https://github.com/dw-0/kiauh.git
synced 2026-08-07 14:57:54 +05:00
refactor(webui_client): extract install/remove/update logic into services
Replace monolithic client_setup.py, client_config_setup.py and their remove counterparts with service classes under components/webui_client/services. Update menus and core install/update menus to call the new services. Add unit tests for services, client_utils and menu wiring.
This commit is contained in:
@@ -10,13 +10,13 @@ from __future__ import annotations
|
||||
|
||||
from typing import List, Literal, Type
|
||||
|
||||
from core.logger import Logger, DialogType
|
||||
from core.logger import DialogType, Logger
|
||||
from core.menus import Option
|
||||
from core.menus.base_menu import BaseMenu
|
||||
from core.settings.kiauh_settings import KiauhSettings, Repository
|
||||
from core.types.color import Color
|
||||
from procedures.switch_repo import run_switch_repo_routine
|
||||
from utils.input_utils import get_string_input, get_number_input, get_confirm
|
||||
from utils.input_utils import get_confirm, get_number_input, get_string_input
|
||||
|
||||
|
||||
# noinspection PyUnusedLocal
|
||||
|
||||
Reference in New Issue
Block a user