Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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 <pypi@doowan.net> 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.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1
2 changes: 1 addition & 1 deletion auton_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
18 changes: 9 additions & 9 deletions auton_client/textual_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions docs/release-1.3.1.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 5 additions & 0 deletions docs/textual.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -79,4 +79,3 @@
long_description = long_desc,
long_description_content_type = long_desc_content_type
)

4 changes: 2 additions & 2 deletions setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading