Skip to content

Commit 2430d8d

Browse files
fix(studio): React #62 from HTML string style props
Convert Quick-start footer styles to React objects so Studio mounts, ignore .slmcode/ in gofmt lint, and bump to v0.8.3. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 451d713 commit 2430d8d

5 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MODULE := github.com/UnicoLab/slmcode
22
BIN := slmcode
3-
VERSION ?= 0.8.2
3+
VERSION ?= 0.8.3
44
PREFIX ?= $(HOME)/.local
55
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
66
BUILD_TIME := $(shell date -u +%Y-%m-%dT%H:%M:%SZ)

‎cmd/slmcode/ui/app.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ function App() {
16771677
<span>1. Type a task above → <em>Run</em></span>
16781678
<span>2. Watch <em>Live</em> while agents work</span>
16791679
<span>3. Drag cards on the <em>Board</em> anytime</span>
1680-
<span style="color: var(--muted); font-size: 0.78rem; margin-top: 0.3rem;">Made with <span style="color:#e53e3e">♥</span> by <a href="https://unicolab.ai" target="_blank" rel="noreferrer" style="color: var(--accent); font-weight: 700;">UnicoLab</a> — <span style="background:linear-gradient(135deg,#7c3aed,#3b82f6,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-weight:700">AI & Innovation</span></span>
1680+
<span style={{ color: "var(--muted)", fontSize: "0.78rem", marginTop: "0.3rem" }}>Made with <span style={{ color: "#e53e3e" }}>♥</span> by <a href="https://unicolab.ai" target="_blank" rel="noreferrer" style={{ color: "var(--accent)", fontWeight: 700 }}>UnicoLab</a> — <span style={{ background: "linear-gradient(135deg,#7c3aed,#3b82f6,#0ea5e9)", WebkitBackgroundClip: "text", WebkitTextFillColor: "transparent", fontWeight: 700 }}>AI & Innovation</span></span>
16811681
</div>
16821682
)}
16831683

‎cmd/slmcode/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package main
44
//
55
// go build -ldflags "-X main.Version=0.5.0 -X main.SourceRoot=/path -X main.GitCommit=abc -X main.BuildTime=…"
66
var (
7-
Version = "0.8.2"
7+
Version = "0.8.3"
88
SourceRoot = "" // absolute path to the slmcode checkout used to build this binary
99
GitCommit = "unknown"
1010
BuildTime = "unknown"

‎docs/changelog.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## v0.8.3 — Studio React style fix
4+
5+
### Fixes
6+
- Studio Quick-start footer used HTML string `style` attrs → React error #62 crash
7+
- `make lint` gofmt ignores `.slmcode/` workspace artifacts
8+
9+
---
10+
311
## v0.7.3 — Incomplete finalize recovery
412

513
### Highlights

‎scripts/lint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
66
cd "$ROOT"
77

88
echo "==> gofmt"
9-
unformatted="$(gofmt -l . | grep -v '^vendor/' || true)"
9+
# Skip gitignored workspace state (.slmcode/) and vendored trees.
10+
unformatted="$(gofmt -l . | grep -vE '^(vendor/|\.slmcode/)' || true)"
1011
if [[ -n "$unformatted" ]]; then
1112
echo "gofmt needed on:"
1213
echo "$unformatted"

0 commit comments

Comments
 (0)