From 162eb30c32111cc19163a9372f0ab30521ab4709 Mon Sep 17 00:00:00 2001 From: decryptus Date: Wed, 7 Oct 2026 09:17:17 +0200 Subject: [PATCH 1/2] Apply product Textual palette and refresh synthetic documentation --- .github/workflows/tests.yml | 11 ++--------- CHANGELOG | 6 ++++++ RELEASE | 2 +- VERSION | 2 +- auton_client/textual_operations.py | 18 +++++++++--------- docs/index.md | 1 + docs/release-1.3.1.md | 13 +++++++++++++ docs/textual.md | 5 +++++ setup.py | 3 +-- setup.yml | 4 ++-- 10 files changed, 41 insertions(+), 24 deletions(-) create mode 100644 docs/release-1.3.1.md diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 84b31cf..dc5ebfa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,28 +6,21 @@ permissions: contents: read jobs: textual: - name: Optional Textual candidate + name: Optional Textual interface runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@v4 - - uses: actions/checkout@v4 - with: - repository: decryptus/dwho - ref: 50b50eaa9696628e9521a31ae92305e01966e6fa - path: candidate-dwho - persist-credentials: false - uses: actions/setup-python@v5 with: python-version: '3.12' - - run: python -m pip install ./candidate-dwho - run: AUTON_PACKAGE=auton python -m pip install '.[textual]' - name: Test installed interface outside source checkout run: | cd "$(mktemp -d)" python "$GITHUB_WORKSPACE/.github/scripts/check-test-collection.py" --runner unittest "$GITHUB_WORKSPACE/textual_tests" python -m unittest discover -s "$GITHUB_WORKSPACE/textual_tests" -v - - name: Generate candidate captures from actual interface + - name: Generate synthetic captures from actual interface run: PYTHONPATH=. python scripts/capture_textual.py --output "$RUNNER_TEMP/textual-captures" - uses: actions/upload-artifact@v4 with: diff --git a/CHANGELOG b/CHANGELOG index 3295595..2970208 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +auton (1.3.1) stable; urgency=medium + + * Give the optional Textual interface its product palette with DWho 0.3.66. + + -- Adrien Delle Cave Wed, 07 Oct 2026 09:00:00 +0200 + auton (1.3.0) unstable; urgency=medium * Add optional read-only Textual views backed by shared DWho components. diff --git a/RELEASE b/RELEASE index f0bb29e..3a3cd8c 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1.3.0 +1.3.1 diff --git a/VERSION b/VERSION index f0bb29e..3a3cd8c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.0 +1.3.1 diff --git a/auton_client/textual_operations.py b/auton_client/textual_operations.py index 32a98f4..c00e469 100644 --- a/auton_client/textual_operations.py +++ b/auton_client/textual_operations.py @@ -15,17 +15,17 @@ class OperationsScreen(Screen): CSS = ''' - OperationsScreen { background: #0a1220; } - #op-title { height: 3; padding: 1 2; background: #101f34; color: #83cfff; text-style: bold; } + OperationsScreen { background: $background; } + #op-title { height: 3; padding: 1 2; background: $surface; color: $primary; text-style: bold; } #op-selection { height: 13; margin-top: 1; } - .op-section Static { color: #b7dcff; text-style: bold; } - .op-section SelectionList { background: #102137; border: round #305778; } - .op-section SelectionList:focus { border: round #83cfff; } + .op-section Static { color: $secondary; text-style: bold; } + .op-section SelectionList { background: $panel; border: round $panel-lighten-2; } + .op-section SelectionList:focus { border: round $primary; } #op-actions { padding: 0 2; } - #op-actions Button { background: #173e62; color: #b7e2ff; border: none; height: 3; } - #op-actions Button:focus { background: #245d86; color: #ffffff; } - #op-actions Button:disabled { background: #102137; color: #66819e; } - #op-preview { background: #245d86; } + #op-actions Button { background: $primary-muted; color: $foreground; border: none; height: 3; } + #op-actions Button:focus { background: $primary-muted; color: $foreground; } + #op-actions Button:disabled { background: $panel; color: $foreground-disabled; } + #op-preview { background: $primary-muted; } .op-section { width: 1fr; padding: 0 1; } .op-section SelectionList { height: 10; } diff --git a/docs/index.md b/docs/index.md index 86989fa..f7593bb 100644 --- a/docs/index.md +++ b/docs/index.md @@ -11,6 +11,7 @@ Installation, configuration, public APIs and troubleshooting. configuration-validation textual + release-1.3.1 release-1.3.0 release-1.2.0 release-1.2.1 diff --git a/docs/release-1.3.1.md b/docs/release-1.3.1.md new file mode 100644 index 0000000..00865bc --- /dev/null +++ b/docs/release-1.3.1.md @@ -0,0 +1,13 @@ +# auton 1.3.1 + +The optional Textual interface now uses a turquoise and orange palette, including +its navigation, tables and dialogs. It requires DWho 0.3.66 or newer. + +Keyboard shortcuts, collection and execution behavior are unchanged. Accepted +requests stay blue, running work is labeled distinctly, confirmed success is +green, warnings are amber, and failures are red. + +Upgrade with `python -m pip install --upgrade "auton[textual]==1.3.1"`. +No configuration or stored-data migration is required. + +See the [Textual guide](textual.md) for controls and synthetic examples. diff --git a/docs/textual.md b/docs/textual.md index 942a62b..e813b66 100644 --- a/docs/textual.md +++ b/docs/textual.md @@ -1,5 +1,10 @@ # Textual terminal interface +The Textual interface uses a turquoise and orange palette with DWho 0.3.66 or newer. +Navigation, tables and dialogs share the product colors. Labeled status colors +remain consistent across products: blue acceptance, violet in progress, green +success, amber warning or uncertainty, and red failure. + Install the optional terminal interface and select it explicitly. The existing curses interface remains available. ```sh diff --git a/setup.py b/setup.py index 46675d3..4ee5c44 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ packages = ['auton_client'], options = {'build': {'build_base': 'build/auton'}}, install_requires = requirements_auton, - extras_require = {'textual': ['dwho[textual]>=0.3.65', "textual>=8.2.8,<9; python_version >= '3.9'"]}, + extras_require = {'textual': ['dwho[textual]>=0.3.66', "textual>=8.2.8,<9; python_version >= '3.9'"]}, python_requires = ', '.join(setup_cfg['python_requires']), classifiers = setup_cfg['common']['classifiers'] + setup_cfg['auton'].get('classifiers', []), long_description = long_desc, @@ -79,4 +79,3 @@ long_description = long_desc, long_description_content_type = long_desc_content_type ) - diff --git a/setup.yml b/setup.yml index 21f5402..c27e0a0 100644 --- a/setup.yml +++ b/setup.yml @@ -2,8 +2,8 @@ author: Adrien Delle Cave author_email: pypi@doowan.net copyright: '2018-2023 fjord-technologies' -release: '1.3.0' -version: '1.3.0' +release: '1.3.1' +version: '1.3.1' license: License GPL-3 url: https://github.com/decryptus/auton python_requires: From 8973c40dcfd4d65838410dbf6f696314e6b1ac02 Mon Sep 17 00:00:00 2001 From: decryptus Date: Wed, 7 Oct 2026 09:25:52 +0200 Subject: [PATCH 2/2] Align runtime version with the palette patch release --- auton_client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auton_client/__init__.py b/auton_client/__init__.py index 9fd4ab0..0687bc9 100644 --- a/auton_client/__init__.py +++ b/auton_client/__init__.py @@ -12,7 +12,7 @@ from sonicprobe.libs import urisup SYSLOG_NAME = 'auton' -__version__ = '1.3.0' +__version__ = '1.3.1' DEFAULT_DELAY = 0.5 DEFAULT_HTTP_TIMEOUT = 30