[PR #4] [MERGED] fix: handle shorthand hex colors in SkillDiffCard #203

Closed
opened 2026-02-15 17:16:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/clawhub/pull/4
Author: @dbhurley
Created: 1/6/2026
Status: Merged
Merged: 1/7/2026
Merged by: @steipete

Base: mainHead: fix/token-color-error


📝 Commits (1)

  • 219e325 fix: normalize hex colors in SkillDiffCard to prevent Monaco crash

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 src/components/SkillDiffCard.tsx (+5 -2)

📄 Description

Fixes 'Illegal value for token color' error by correctly expanding 3-digit hex codes (e.g. #fff) to 6-digit hex codes before passing them to Monaco Editor.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/clawhub/pull/4 **Author:** [@dbhurley](https://github.com/dbhurley) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/7/2026 **Merged by:** [@steipete](https://github.com/steipete) **Base:** `main` ← **Head:** `fix/token-color-error` --- ### 📝 Commits (1) - [`219e325`](https://github.com/openclaw/clawhub/commit/219e3257ec758681eeb524091b54d824c08b8747) fix: normalize hex colors in SkillDiffCard to prevent Monaco crash ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/components/SkillDiffCard.tsx` (+5 -2) </details> ### 📄 Description Fixes 'Illegal value for token color' error by correctly expanding 3-digit hex codes (e.g. #fff) to 6-digit hex codes before passing them to Monaco Editor. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:15 -05:00
yindo closed this issue 2026-02-15 17:16:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#203