Skip to content

fix(core): improve tui task_list bottom section responsive design#30993

Merged
JamesHenry merged 1 commit intomasterfrom
tui-tasks-list-responsive-design
May 2, 2025
Merged

fix(core): improve tui task_list bottom section responsive design#30993
JamesHenry merged 1 commit intomasterfrom
tui-tasks-list-responsive-design

Conversation

@JamesHenry
Copy link
Copy Markdown
Contributor

@JamesHenry JamesHenry commented May 2, 2025

Current Behavior

Depending on the viewport size, or number of open terminal panes, the bottom section of tasks_list can end up visually suboptimal to put it mildly. We also don't have super comprehensive coverage in the visual tests for all the different scenarios that are possible, it's a highly dynamic component.

Expected Behavior

The bottom section of the tasks_list renders as well as can reasonably be expected in almost any scenario and we have increased test coverage of different dynamic scnearios.

Related Issue(s)

Fixes #

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 2, 2025 9:50am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented May 2, 2025

View your CI Pipeline Execution ↗ for commit 1a1a1de.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 4m View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 21s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-02 11:07:11 UTC

@JamesHenry JamesHenry force-pushed the tui-tasks-list-responsive-design branch from 0fe3795 to ac3fc00 Compare May 2, 2025 09:40
@JamesHenry JamesHenry force-pushed the tui-tasks-list-responsive-design branch from ac3fc00 to 1a1a1de Compare May 2, 2025 09:48
@JamesHenry JamesHenry marked this pull request as ready for review May 2, 2025 11:16
@JamesHenry JamesHenry requested review from a team as code owners May 2, 2025 11:16
@JamesHenry JamesHenry requested a review from Cammisuli May 2, 2025 11:16
@JamesHenry JamesHenry enabled auto-merge (squash) May 2, 2025 11:16
const DEFAULT_MAX_PARALLEL: usize = 0;

// Constants for layout calculation
const COLLAPSED_HELP_WIDTH: u16 = 19; // "quit: q help: ?"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We're going to need a dedicated layout manager for tasks_list.rs soon 😂 I don't know if I'm kidding or not.

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.

I know, I'll never complain about CSS again!

@JamesHenry JamesHenry merged commit ed3788f into master May 2, 2025
6 checks passed
@JamesHenry JamesHenry deleted the tui-tasks-list-responsive-design branch May 2, 2025 13:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants