Skip to content

refactor: change describe page#264

Merged
robertpsoane merged 9 commits intorobertpsoane:masterfrom
vpikulik:refactor/container-details
Feb 25, 2026
Merged

refactor: change describe page#264
robertpsoane merged 9 commits intorobertpsoane:masterfrom
vpikulik:refactor/container-details

Conversation

@vpikulik
Copy link
Copy Markdown
Contributor

@vpikulik vpikulik commented Jan 7, 2026

Preparing describe page to be enreached with addition data, like container inspect. I would like to add first ENV variables to containers.

  1. tui-tree-widget is used
  2. Changed Describe trait to replace serde serialization of objects

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 0% with 143 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pages/describe.rs 0.00% 55 Missing ⚠️
src/docker/traits.rs 0.00% 28 Missing ⚠️
src/docker/volume.rs 0.00% 25 Missing ⚠️
src/docker/container.rs 0.00% 13 Missing ⚠️
src/docker/image.rs 0.00% 11 Missing ⚠️
src/docker/network.rs 0.00% 11 Missing ⚠️
Files with missing lines Coverage Δ
src/docker/image.rs 0.00% <0.00%> (ø)
src/docker/network.rs 0.00% <0.00%> (ø)
src/docker/container.rs 0.00% <0.00%> (ø)
src/docker/volume.rs 0.00% <0.00%> (ø)
src/docker/traits.rs 0.00% <0.00%> (ø)
src/pages/describe.rs 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@robertpsoane robertpsoane mentioned this pull request Jan 23, 2026
@vpikulik vpikulik force-pushed the refactor/container-details branch from d2e9880 to 01d589a Compare January 26, 2026 08:29
Comment thread src/pages/describe.rs

let scroll = self.resolve_scroll(&area.height, &n_lines);

let paragraph = paragraph.scroll((scroll, 0));
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the scrolling logic go in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does have it's own scrollbar, however we need to handle the arrow key keypresses and tell it to scroll

If you describe a resource that doesn't fit on the page and attempt to scroll, nothing happens

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, for the long delay with the answer.
I checked: tree widget can have own scrollbar and can render it correctly, tree state somehow integrates scrollbar state and has methods scroll_up/down. I checked it locally - looks and works well) please have a look

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much! I've just fixed the minor merge conflicts, then will merge!

@vpikulik vpikulik force-pushed the refactor/container-details branch from 39806eb to 08dca7d Compare January 28, 2026 11:21
@robertpsoane robertpsoane merged commit eebd842 into robertpsoane:master Feb 25, 2026
11 checks passed
@github-actions github-actions Bot mentioned this pull request Feb 24, 2026
robertpsoane pushed a commit that referenced this pull request Feb 25, 2026
## 🤖 New release

* `ducker`: 0.6.2 -> 0.6.3 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.6.3](v0.6.2...v0.6.3)
- 2026-02-25

### Other

- change describe page
([#264](#264))
- *(deps)* bump chrono from 0.4.43 to 0.4.44
([#286](#286))
- *(deps)* bump clap from 4.5.57 to 4.5.60
([#285](#285))
- *(deps)* bump tempfile from 3.24.0 to 3.25.0
([#284](#284))
- *(deps)* bump futures from 0.3.31 to 0.3.32
([#283](#283))
- release v0.6.2
([#280](#280))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants