Skip to content

fix(chat): refine artifact panel styling - #5922

Merged
Imagineer99 merged 4 commits into
unslothai:mainfrom
wasimysaid:artifact-panel-shadow-match
Jun 1, 2026
Merged

Imagineer99 merged 4 commits into
unslothai:mainfrom
wasimysaid:artifact-panel-shadow-match

Conversation

@wasimysaid

Copy link
Copy Markdown
Collaborator

Summary

  • align the artifact panel shadow with the composer surface styling from PR studio: redesign chat composer #5891
  • keep the side artifact panel border to the top edge only
  • remove the Streamdown code-block chrome from artifact source view

Verification

  • git diff --check
  • cd studio/frontend && npm run build

@wasimysaid
wasimysaid requested a review from rolandtannous as a code owner June 1, 2026 12:48

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request updates the styling of the ArtifactSurface component and its code block container. Specifically, it refactors the border and shadow styles for different panel variants, moves the panel shell box-shadow styling to index.css (with dark mode overrides), and adds detailed Tailwind overrides for the Streamdown code block elements to ensure proper formatting. No review comments were provided, so there is no feedback to address.

@Imagineer99

Copy link
Copy Markdown
Member
image PR works as expected, lgtm

@Imagineer99
Imagineer99 self-requested a review June 1, 2026 19:54
@Imagineer99
Imagineer99 merged commit aee0657 into unslothai:main Jun 1, 2026
29 checks passed
github-actions Bot pushed a commit to josephGuo/unsloth that referenced this pull request Jun 5, 2026
… `<|audio|>` probe (unslothai#6018)

* Studio: fix load_freeze audio-type tests for unslothai#6000 Gemma 4 <|audio|> probe

unslothai#6000 extended LlamaCppBackend._detect_audio_type_strict audio_vlm arm to
also probe Gemma 4 `<|audio|>` (alongside Gemma 3n `<audio_soft_token>`),
but did not update the load_freeze simulation suite (last touched by unslothai#5922).
Its "no-match" and "bicodec" fixtures only defeat `<audio_soft_token>`; the
unmapped `<|audio|>` probe falls through to FakeLlamaServer 1-token default,
so detect_audio_type now returns audio_vlm where these tests expect
None / bicodec:

  - test_functional_equivalence_no_match
  - test_functional_equivalence_bicodec_match
  - test_response_shape_matches_pre_fix_for_no_match

main push-CI does not run "Repo tests (CPU)" (pull_request-only), so this
surfaces in every open PR merge-ref (e.g. unslothai#5940, which is unrelated to audio).

Fix: map `<|audio|>` to a 2-token response in the three fixtures that intend
a non-audio_vlm result (restoring their original semantics), and add a
positive test_functional_equivalence_audio_vlm_match locking in unslothai#6000 new
`<|audio|>` detection.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

2 participants