Conversation
Improve how pasted snippets are represented in the prompt UI so each paste block is easier to identify at a glance. - Add numbered paste summaries, producing labels like [Pasted 1 ~8 lines]. - Handle singular/plural line labels for cleaner copy. - Introduce deterministic per-paste colors derived from paste index. - Register dynamic styles and apply them to pasted text extmarks. When multiple snippets are pasted, identical markers are hard to distinguish. Numbering and stable color coding make each block visually traceable without expanding it.
Make pasted summary markers interactive and ensure expanded content is submitted with correct part mapping. - Add mouse-up toggle support to expand or collapse pasted summary extmarks in place. - Preserve cursor and viewport stability while toggling. - Expand text parts through a dedicated submit path and rebuild part offsets from the expanded input. - Update extmark restoration and sync flows so edited expanded text is persisted back to prompt parts. This keeps prompts compact by default while allowing quick inspection/editing of pasted content without breaking submission correctness.
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found 2 related PRs that may be addressing similar or overlapping functionality:
Why they're potentially related: Both of these PRs implement paste expansion/collapse toggle functionality in TUI prompts, which is one of the core features in PR #21136. You may want to review these to ensure there's no overlap in functionality or approach. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Reduce flakiness in the Runner cancel interruption test under CI load. - Replace timing-based startup wait with an explicit Deferred started signal. - Run cancel through a forked fiber and await it with a bounded timeout. - Await the ensureRunning fiber with a bounded timeout before asserting failure. This avoids hangs where scheduling jitter causes cancellation/await ordering to become nondeterministic.
Stabilize the status popover test flow that intermittently fails on Windows runners due to detached/unstable tab elements. - Retry opening the status popover with force-click and keyboard fallback. - Wait for popover visibility with bounded retries before asserting. - Poll plugins tab selection state and re-resolve locator between attempts. This targets the recurring e2e failure in status-popover can switch to plugins tab without changing app runtime behavior.
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
nvm