Repository navigation
Studio: make carried rows a faintly frosted, darker copy - #12562
Conversation
A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The |
#12562 (make carried rows a faintly frosted, darker copy) landed after this branch was cut and restyles the shared ghost rule that #12499 introduced: it relies on --row-ghost-surface and .model-picker-row-ghost, and edits model-picker-pinned-drag-preview.test.ts, all of which the #12499 revert removes. Keeping it without #12499 leaves .sidebar-row-ghost reading an unset variable, so the conflict is resolved by dropping #12562's two hunks as well. It should be re-opened together with #12499. #12563, #12564 and #12597 are kept.
Reverts PRs that were merged before their review converged, newest first. They are re-opened as new PRs for review. - unslothai#12499 (lift a carried model picker row like a sidebar chat, and lighten both drag copies), with its follow-up unslothai#12562 (make carried rows a faintly frosted, darker copy) - unslothai#11361 (WSL2 Windows localhost hint in startup banner) - unslothai#12505 (stop rejecting --mmproj-device CUDA1 when gpu_ids are saved) - unslothai#12523 (renew the chat-run lease while long prefill is still advancing) - unslothai#12529 (count only the lock's own waits in the unlockable-filesystem row) - unslothai#12526 (move torchao int8 weights back to the GPU after an oversized request streams pinned groups) - unslothai#12516 (use ComfyUI's default settings for FLUX.1, Qwen-Image, Z-Image, Ideogram 4, Wan2.2 and HunyuanVideo-1.5) - unslothai#12514 (keep the reap-margin check off the edge of its own window) - unslothai#12486 (train a dataset's system column as the system prompt) - unslothai#12475 (prevent IME confirmation from submitting chat renames)
…ten both drag copies (unslothai#12622) * Revert "Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies" (unslothai#12499) This reverts commit 9838541. It was merged before Codex review converged; it will be re-opened for review. * Revert "fix(studio): WSL2 Windows localhost hint in startup banner (unslothai#11187)" (unslothai#11361) This reverts commit cd4d5c1. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: stop rejecting --mmproj-device CUDA1 when gpu_ids are saved" (unslothai#12505) This reverts commit a91ee37. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: renew the chat-run lease while long prefill is still advancing" (unslothai#12523) This reverts commit d8740d3. It was merged before Codex review converged; it will be re-opened for review. * Revert "Count only the lock's own waits in the unlockable-filesystem row" (unslothai#12529) This reverts commit 5b78baf. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: move torchao int8 weights back to the GPU after an oversized request streams pinned groups" (unslothai#12526) This reverts commit d883d2d. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: use ComfyUI's default settings for FLUX.1, Qwen-Image, Z-Image, Ideogram 4, Wan2.2 and HunyuanVideo-1.5" (unslothai#12516) This reverts commit fd2522b. It was merged before Codex review converged; it will be re-opened for review. * Revert "Parity: keep the reap-margin check off the edge of its own window" (unslothai#12514) This reverts commit dae96ea. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: train a dataset's system column as the system prompt" (unslothai#12486) This reverts commit ed6d0e8. It was merged before Codex review converged; it will be re-opened for review. * Revert "fix(studio): prevent IME confirmation from submitting chat renames" (unslothai#12475) This reverts commit 079dc91. It was merged before Codex review converged; it will be re-opened for review. * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies (unslothai#12499) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies Dragging a Pinned model in the model picker only dimmed the row. It now lifts a copy that follows the pointer, with the drop line redrawn above it and a short settle into the new slot, through the same helpers the sidebar uses. Every tab (Chat, Images, Audio, Video) draws its picker with HubModelPicker, so all of them get it. The carried copy in both lists is now a translucent shade off the list it came from, with a light blur, instead of a solid hover-colored pill. * Studio: keep a carried Connected or fine-tuned row on its own pill A Connected row's ml-4 carried into the copy and pushed it 16px off the pill it was sized to, and a fine-tuned row lifted its plain keyed wrapper, so the copy came out square with the selected shell's highlight inside. Drop the margin on the copy and lift the marked pill. --------- Co-authored-by: Etherll <[email protected]> (cherry picked from commit 9838541) * Studio: make carried rows a faintly frosted, darker copy (unslothai#12562) A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before. (cherry picked from commit 3ebc7bf) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies (unslothai#12499) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies Dragging a Pinned model in the model picker only dimmed the row. It now lifts a copy that follows the pointer, with the drop line redrawn above it and a short settle into the new slot, through the same helpers the sidebar uses. Every tab (Chat, Images, Audio, Video) draws its picker with HubModelPicker, so all of them get it. The carried copy in both lists is now a translucent shade off the list it came from, with a light blur, instead of a solid hover-colored pill. * Studio: keep a carried Connected or fine-tuned row on its own pill A Connected row's ml-4 carried into the copy and pushed it 16px off the pill it was sized to, and a fine-tuned row lifted its plain keyed wrapper, so the copy came out square with the selected shell's highlight inside. Drop the margin on the copy and lift the marked pill. --------- Co-authored-by: Etherll <[email protected]> (cherry picked from commit 9838541) * Studio: make carried rows a faintly frosted, darker copy (unslothai#12562) A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before. (cherry picked from commit 3ebc7bf) * Trim comments in pinned row drag preview --------- Co-authored-by: Etherl <[email protected]> Co-authored-by: Michael Han <[email protected]>
…2562) A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before.
Reverts PRs that were merged before their review converged, newest first. They are re-opened as new PRs for review. - unslothai#12499 (lift a carried model picker row like a sidebar chat, and lighten both drag copies), with its follow-up unslothai#12562 (make carried rows a faintly frosted, darker copy) - unslothai#11361 (WSL2 Windows localhost hint in startup banner) - unslothai#12505 (stop rejecting --mmproj-device CUDA1 when gpu_ids are saved) - unslothai#12523 (renew the chat-run lease while long prefill is still advancing) - unslothai#12529 (count only the lock's own waits in the unlockable-filesystem row) - unslothai#12526 (move torchao int8 weights back to the GPU after an oversized request streams pinned groups) - unslothai#12516 (use ComfyUI's default settings for FLUX.1, Qwen-Image, Z-Image, Ideogram 4, Wan2.2 and HunyuanVideo-1.5) - unslothai#12514 (keep the reap-margin check off the edge of its own window) - unslothai#12486 (train a dataset's system column as the system prompt) - unslothai#12475 (prevent IME confirmation from submitting chat renames)
…ten both drag copies (unslothai#12622) * Revert "Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies" (unslothai#12499) This reverts commit 9838541. It was merged before Codex review converged; it will be re-opened for review. * Revert "fix(studio): WSL2 Windows localhost hint in startup banner (unslothai#11187)" (unslothai#11361) This reverts commit cd4d5c1. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: stop rejecting --mmproj-device CUDA1 when gpu_ids are saved" (unslothai#12505) This reverts commit a91ee37. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: renew the chat-run lease while long prefill is still advancing" (unslothai#12523) This reverts commit d8740d3. It was merged before Codex review converged; it will be re-opened for review. * Revert "Count only the lock's own waits in the unlockable-filesystem row" (unslothai#12529) This reverts commit 5b78baf. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: move torchao int8 weights back to the GPU after an oversized request streams pinned groups" (unslothai#12526) This reverts commit d883d2d. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: use ComfyUI's default settings for FLUX.1, Qwen-Image, Z-Image, Ideogram 4, Wan2.2 and HunyuanVideo-1.5" (unslothai#12516) This reverts commit fd2522b. It was merged before Codex review converged; it will be re-opened for review. * Revert "Parity: keep the reap-margin check off the edge of its own window" (unslothai#12514) This reverts commit dae96ea. It was merged before Codex review converged; it will be re-opened for review. * Revert "Studio: train a dataset's system column as the system prompt" (unslothai#12486) This reverts commit ed6d0e8. It was merged before Codex review converged; it will be re-opened for review. * Revert "fix(studio): prevent IME confirmation from submitting chat renames" (unslothai#12475) This reverts commit 079dc91. It was merged before Codex review converged; it will be re-opened for review. * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies (unslothai#12499) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies Dragging a Pinned model in the model picker only dimmed the row. It now lifts a copy that follows the pointer, with the drop line redrawn above it and a short settle into the new slot, through the same helpers the sidebar uses. Every tab (Chat, Images, Audio, Video) draws its picker with HubModelPicker, so all of them get it. The carried copy in both lists is now a translucent shade off the list it came from, with a light blur, instead of a solid hover-colored pill. * Studio: keep a carried Connected or fine-tuned row on its own pill A Connected row's ml-4 carried into the copy and pushed it 16px off the pill it was sized to, and a fine-tuned row lifted its plain keyed wrapper, so the copy came out square with the selected shell's highlight inside. Drop the margin on the copy and lift the marked pill. --------- Co-authored-by: Etherll <[email protected]> (cherry picked from commit 9838541) * Studio: make carried rows a faintly frosted, darker copy (unslothai#12562) A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before. (cherry picked from commit 3ebc7bf) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies (unslothai#12499) * Studio: lift a carried model picker row like a sidebar chat, and lighten both drag copies Dragging a Pinned model in the model picker only dimmed the row. It now lifts a copy that follows the pointer, with the drop line redrawn above it and a short settle into the new slot, through the same helpers the sidebar uses. Every tab (Chat, Images, Audio, Video) draws its picker with HubModelPicker, so all of them get it. The carried copy in both lists is now a translucent shade off the list it came from, with a light blur, instead of a solid hover-colored pill. * Studio: keep a carried Connected or fine-tuned row on its own pill A Connected row's ml-4 carried into the copy and pushed it 16px off the pill it was sized to, and a fine-tuned row lifted its plain keyed wrapper, so the copy came out square with the selected shell's highlight inside. Drop the margin on the copy and lift the marked pill. --------- Co-authored-by: Etherll <[email protected]> (cherry picked from commit 9838541) * Studio: make carried rows a faintly frosted, darker copy (unslothai#12562) A carried sidebar chat, sidebar section header, or model picker Pinned row now reads as a see-through pill a shade darker than its list in both themes, with a faint blur and a fainter hairline. The section header copy gets the same pill; it had no surface before. (cherry picked from commit 3ebc7bf) * Trim comments in pinned row drag preview --------- Co-authored-by: Etherl <[email protected]> Co-authored-by: Michael Han <[email protected]>
Summary
A carried row (a sidebar chat, a sidebar section header, or a Pinned row in the model picker) is now a faintly frosted copy that reads a shade darker than its list in both light and dark mode. The rows under it stay readable while it moves.
Changes
.sidebar-row-ghost,.sidebar-section-ghostand.model-picker-row-ghost, with a.darkvariant.--sidebaror--popover): 4% in light mode, 22% in dark mode. Dark mode previously mixed toward the foreground, which made the copy lighter than the list.saturate(1.05)), so text under the copy is only softened.Testing
npm testpasses.tests/model-picker-pinned-drag-preview.test.tsis updated for the new values, including the dark rule and the section header.