Skip to content

Commit dcdf16b

Browse files
committed
Increased the minimal width of the job status panel
1 parent 2ffecff commit dcdf16b

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Version 0.10.1
2+
- The minimal width of the job status info panel was slightly increased to better accomodate long node names.
23
- **Bug fix:** None is no longer displayed in the subtitle of the panel when using `qq nodes`.
34

45
## Version 0.10.0

src/qq_lib/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class JobStatusPanelSettings:
142142
# Maximal width of the job status panel.
143143
max_width: int | None = None
144144
# Minimal width of the job status panel.
145-
min_width: int | None = 60
145+
min_width: int | None = 70
146146
# Style of the border lines.
147147
border_style: str = "white"
148148
# Style of the title.

tests/test_core_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_load_nested_dataclass(tmp_path):
180180
assert config.presenter.job_status_panel.border_style == "default"
181181
assert config.presenter.job_status_panel.max_width == 80
182182

183-
assert config.presenter.job_status_panel.min_width == 60
183+
assert config.presenter.job_status_panel.min_width == 70
184184

185185

186186
def test_load_returns_defaults_when_file_missing(tmp_path):

0 commit comments

Comments
 (0)