Skip to content

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Oct 13, 2025

Current Behavior

When a task is selected and its outputs are displayed in the terminal pane, the TUI always tracks a task by name regardless of its status.

Expected Behavior

  • When a task is in progress, the TUI should track it by name while in progress.
    • When it finishes, it should switch to track another in-progress task at the same index or in a close index if there is none in progress at the same index.
    • If it's the last task that finished, keep tracking it by name.
  • When a task is pending or finished:
    • When it's selected and its outputs are displayed in the terminal pane, the TUI should track it by name.
    • When it's selected and its outputs are not displayed in the terminal pane, the TUI should track the index.

This allows the relevant in-progress section to be visible in more scenarios than before. The TUI wouldn't blindly follow all tasks by name.

Additionally, this PR updates the sorting of in-progress tasks to prioritize start time first, followed by alphabetical order. This stabilizes the section more (reduces extra movement due to alphabetical sorting) and aligns with a similar sorting done for finished tasks (based on the end time).

@leosvelperez leosvelperez self-assigned this Oct 13, 2025
@leosvelperez leosvelperez requested review from a team as code owners October 13, 2025 11:24
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 95516fb
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/68ee1330443d7c0008055efd
😎 Deploy Preview https://deploy-preview-33053--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

vercel bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Oct 14, 2025 9:35am

Copy link
Contributor

nx-cloud bot commented Oct 13, 2025

View your CI Pipeline Execution ↗ for commit 95516fb

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

☁️ Nx Cloud last updated this comment at 2025-10-14 09:23:56 UTC

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.

1 participant