fix(web): align file icon with text in Read/Edit tool rows - #231
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (98)
📝 WalkthroughWalkthroughThe PR centers file icons in Read and Edit tool rows, records a patch changeset, and regenerates web assets with updated dependencies and bundled diagram, editor, language, and Vue runtime modules. ChangesTool alignment and web bundle
Estimated code review effort: 3 (Moderate) | ~20 minutes ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
Warning Some tools did not complete. Review the errors below. 🔧 ast-grep (0.45.2)apps/pythinker-code/dist-web/assets/cynefin-OW5HDTMX-bXF9dhPA.jsast-grep timed out on this file apps/pythinker-code/dist-web/.web-bundle-manifest.jsonast-grep did not scan this file: retry isolation stopped after a systemic timeout or after exhausting the retry isolation budget apps/pythinker-code/dist-web/assets/CodeBlockNode-DUUxKNHt.jsast-grep did not scan this file: retry isolation stopped after a systemic timeout or after exhausting the retry isolation budget
Comment |
commit: |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @pymodel/pythinker-code@1.6.0 ### Minor Changes - [#239](#239) [`fdaf83d`](fdaf83d) Thanks [@elkaix](https://github.com/elkaix)! - The Dynamic Workflow card shows each subagent's profile, model, thinking effort, elapsed time, and routing source, groups rows by phase with failures first, and notes when running subagents were created under an earlier routing. - [#241](#241) [`b891de7`](b891de7) Thanks [@elkaix](https://github.com/elkaix)! - AgentDynamicWorkflow accepts a `tasks` list where each entry sets its own subagent type, model, and thinking effort. Pass `tasks` instead of `items`, with optional `defaults.subagent_type`. - [#235](#235) [`03d9835`](03d9835) Thanks [@elkaix](https://github.com/elkaix)! - The Lab settings show when an experimental flag is controlled by the environment and when the saved setting is overridden. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Attach files from server-local paths in Web prompts. - [#240](#240) [`55d12a2`](55d12a2) Thanks [@elkaix](https://github.com/elkaix)! - Settings gains a Subagent Model Routing control with Inherit, Default, Pool, and Force modes and shows the saved policy next to the routing that currently applies. - [#236](#236) [`faeb195`](faeb195) Thanks [@elkaix](https://github.com/elkaix)! - Add a subagent model policy setting with inherit, default, pool, and force modes that rejects models that are not configured. - [#237](#237) [`a60a427`](a60a427) Thanks [@elkaix](https://github.com/elkaix)! - Subagent tasks and Dynamic Workflow results now record the profile, model, and routing source of each subagent, and a resumed subagent keeps the binding it was created with. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show file, folder, image, and video attachments as compact composer pills with media previews. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Add word-wrap and line-number toggles to every code block and diff block in the web chat. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Add a Message folding settings section that turns off auto-folded turns and the tool call summary row. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Open multiple detail views as tabs in the Web panel. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Add selected conversation or panel text to the composer as quoted context. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Move a running Bash command or foreground subagent to the background from its row in the web chat. ### Patch Changes - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Remind the agent about unfinished background tasks when work continues in a later turn. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Redact service credentials and raw configuration from config API responses. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Accept MCP tool results that contain text content or structured content. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Refresh model authentication readiness after provider configuration changes. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show the complete remote-control link after startup. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Keep configured secondary model aliases unchanged when provider catalogs refresh. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Warn before sending arguments to a slash command that does not accept them. - [#234](#234) [`8959522`](8959522) Thanks [@elkaix](https://github.com/elkaix)! - Subagent model settings no longer keep stale force or pool values after a change. - [#232](#232) [`974da73`](974da73) Thanks [@elkaix](https://github.com/elkaix)! - Keep the file preview close button in the top-right corner at every panel width, remove the unused download action, and stop the running-task indicator from overlapping a collapsed Task row title. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Resize the web panels with the arrow keys, and show the description for a question's free-text answer. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Keep each Web session's permission mode separate when switching sessions. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show the Web session list after its first workspace-group page loads. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Show a subagent's originating prompt above its transcript, centre the transcript, and add a Back to bottom shortcut. - [#231](#231) [`26cd4ac`](26cd4ac) Thanks [@elkaix](https://github.com/elkaix)! - Align the file-type icon with the text in Read and Edit tool rows. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Recover from a crashed view instead of a blank screen, name a cancelled sign-in, keep the composer toolbar readable at very narrow widths, and stop the sidebar settings label from pushing the footer row. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Resolve renamed workspaces correctly after restarting the server. ## @pymodel/pythinker-desktop@0.4.0 ### Minor Changes - [#243](#243) [`d389e4d`](d389e4d) Thanks [@elkaix](https://github.com/elkaix)! - The desktop app ships the updated web workspace: the Dynamic Workflow card with per-subagent routing details, Subagent Model Routing settings, attachment previews, panel tabs, message folding, and session permission controls. - [#239](#239) [`fdaf83d`](fdaf83d) Thanks [@elkaix](https://github.com/elkaix)! - The Dynamic Workflow card shows each subagent's profile, model, thinking effort, elapsed time, and routing source, groups rows by phase with failures first, and notes when running subagents were created under an earlier routing. - [#241](#241) [`b891de7`](b891de7) Thanks [@elkaix](https://github.com/elkaix)! - AgentDynamicWorkflow accepts a `tasks` list where each entry sets its own subagent type, model, and thinking effort. Pass `tasks` instead of `items`, with optional `defaults.subagent_type`. - [#235](#235) [`03d9835`](03d9835) Thanks [@elkaix](https://github.com/elkaix)! - The Lab settings show when an experimental flag is controlled by the environment and when the saved setting is overridden. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Attach files from server-local paths in Web prompts. - [#240](#240) [`55d12a2`](55d12a2) Thanks [@elkaix](https://github.com/elkaix)! - Settings gains a Subagent Model Routing control with Inherit, Default, Pool, and Force modes and shows the saved policy next to the routing that currently applies. - [#236](#236) [`faeb195`](faeb195) Thanks [@elkaix](https://github.com/elkaix)! - Add a subagent model policy setting with inherit, default, pool, and force modes that rejects models that are not configured. - [#237](#237) [`a60a427`](a60a427) Thanks [@elkaix](https://github.com/elkaix)! - Subagent tasks and Dynamic Workflow results now record the profile, model, and routing source of each subagent, and a resumed subagent keeps the binding it was created with. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show file, folder, image, and video attachments as compact composer pills with media previews. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Add word-wrap and line-number toggles to every code block and diff block in the web chat. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Add a Message folding settings section that turns off auto-folded turns and the tool call summary row. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Open multiple detail views as tabs in the Web panel. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Add selected conversation or panel text to the composer as quoted context. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Move a running Bash command or foreground subagent to the background from its row in the web chat. ### Patch Changes - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Remind the agent about unfinished background tasks when work continues in a later turn. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Redact service credentials and raw configuration from config API responses. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Accept MCP tool results that contain text content or structured content. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Refresh model authentication readiness after provider configuration changes. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show the complete remote-control link after startup. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Keep configured secondary model aliases unchanged when provider catalogs refresh. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Warn before sending arguments to a slash command that does not accept them. - [#234](#234) [`8959522`](8959522) Thanks [@elkaix](https://github.com/elkaix)! - Subagent model settings no longer keep stale force or pool values after a change. - [#232](#232) [`974da73`](974da73) Thanks [@elkaix](https://github.com/elkaix)! - Keep the file preview close button in the top-right corner at every panel width, remove the unused download action, and stop the running-task indicator from overlapping a collapsed Task row title. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Resize the web panels with the arrow keys, and show the description for a question's free-text answer. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Keep each Web session's permission mode separate when switching sessions. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Show the Web session list after its first workspace-group page loads. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Show a subagent's originating prompt above its transcript, centre the transcript, and add a Back to bottom shortcut. - [#231](#231) [`26cd4ac`](26cd4ac) Thanks [@elkaix](https://github.com/elkaix)! - Align the file-type icon with the text in Read and Edit tool rows. - [#238](#238) [`7b00f1f`](7b00f1f) Thanks [@elkaix](https://github.com/elkaix)! - Recover from a crashed view instead of a blank screen, name a cancelled sign-in, keep the composer toolbar readable at very narrow widths, and stop the sidebar settings label from pushing the footer row. - [#242](#242) [`254be65`](254be65) Thanks [@elkaix](https://github.com/elkaix)! - Resolve renamed workspaces correctly after restarting the server. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary
The file-type icon after the Read/Edit label sat above the text line.
.bh-textaligns children by baseline, and.tl-ficonhadline-height: 0, so its baseline collapsed to its bottom edge and the icon rode high. Droppedline-height: 0and addedalign-self: centerin ReadTool.vue / EditTool.vue; restageddist-web.Testing
pnpm run build:webSummary by CodeRabbit
Bug Fixes
Chores