Skip to content

fix(settings): restore rc.1 CSS module hashes for model settings and onboarding - #300

Merged
yaojin3616 merged 3 commits into
mainfrom
fix/model-settings-rc1-css-hashes
Sep 4, 2026
Merged

fix(settings): restore rc.1 CSS module hashes for model settings and onboarding#300
yaojin3616 merged 3 commits into
mainfrom
fix/model-settings-rc1-css-hashes

Conversation

@yaojin3616

Copy link
Copy Markdown
Contributor

Summary

  • Upstream @deepseek-ai/dsh-client-ui-settings-models@0.1.2-rc.1 compiled CSS module class prefixes to qy-_KG_ (and lbsctW_ for onboarding).
  • In the initial 0.1.2-rc.1 patch port, the patch was copied from 0.1.2-alpha.4 which had replaced module CSS object mappings with A_4Mua_ and _2CJT8a_. Because the injected <style> sheet contained qy-_KG_ selectors while components rendered class="A_4Mua_...", zero CSS rules matched and the entire Model Settings page lost its styling.
  • Restored original rc.1 CSS module hashes (qy-_KG_ and lbsctW_) and updated injected selector rules.
  • Updated test/model-settings-catalog-ux-patch.test.ts assertion to test for qy-_KG_customizedBody.

Verification

  • npx patch-package clean
  • npm run typecheck PASS
  • npx vitest run test/model-settings-catalog-ux-patch.test.ts test/model-reasoning-efforts-patch.test.ts test/model-picker-patch.test.ts test/onboarding-patch.test.ts PASS (34/34 tests)
  • npm run build PASS

@yaojin3616
yaojin3616 merged commit 300ad82 into main Sep 4, 2026
@yaojin3616
yaojin3616 deleted the fix/model-settings-rc1-css-hashes branch September 4, 2026 08:11
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