Skip to content

[WIP] Enhance visual appeal of examples in studio - #29

Merged
hotlong merged 6 commits into
mainfrom
copilot/optimize-examples-in-studio
Jan 14, 2026
Merged

hotlong merged 6 commits into
mainfrom
copilot/optimize-examples-in-studio

Conversation

Copilot AI commented Jan 14, 2026 •

Copy link
Copy Markdown
Contributor

Plan: Optimize Studio Examples for Visual Appeal

  • Enhance analytics dashboard with gradients, better shadows, and modern card designs
  • Improve form examples with modern UI patterns and gradient buttons
  • Update typography example with styled sections and better visual hierarchy
  • Enhance image gallery with better shadows, hover effects, and spacing
  • Update ecommerce dashboard example with enhanced gradients and styling
  • Update project management dashboard with dark theme enhancements
  • Improve complex component examples (Kanban, Timeline)
  • Enhance data display examples (Alert messages)
  • Fix JSON syntax errors from partial edits
  • Test examples in the playground to verify visual improvements
Original prompt

帮我优化studio中的examples,我要美观


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 14, 2026 12:55
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
@hotlong

hotlong commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

@copilot 继续,优先处理这个任务

Copilot AI and others added 3 commits January 14, 2026 13:46
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>

Copilot AI commented Jan 14, 2026

Copy link
Copy Markdown
Contributor Author

@copilot 继续,优先处理这个任务

已完成优化任务!我对studio中的examples进行了全面的视觉优化:

✅ 已完成的优化:

  • 增强了分析仪表板(Analytics Dashboard)- 添加了渐变背景、更好的阴影和现代卡片设计
  • 改进了表单示例(Form Demo)- 使用现代UI模式和渐变按钮
  • 更新了排版示例(Typography)- 使用样式化的部分和更好的视觉层次
  • 增强了图片库(Image Gallery)- 更好的阴影、悬停效果和间距
  • 更新了电商仪表板(E-commerce Dashboard)- 增强的渐变和样式
  • 更新了项目管理仪表板(Project Management)- 深色主题增强
  • 改进了复杂组件(Kanban、Timeline)- 添加了emojis和渐变背景
  • 增强了数据显示示例(Alert Messages)- 渐变背景和更好的样式

所有JSON文件已验证并成功构建。(Commit: e166f7a)

@github-actions

Copy link
Copy Markdown
Contributor

✅ All checks passed!

  • ✅ Type check passed
  • ✅ Tests passed
  • ✅ Lint check completed

@hotlong
hotlong marked this pull request as ready for review January 14, 2026 14:09
@hotlong
hotlong merged commit 8b8a99d into main Jan 14, 2026
5 checks passed
Copilot AI requested a review from hotlong January 14, 2026 14:10
Copilot stopped work on behalf of hotlong due to an error January 14, 2026 14:10
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 9, 2026
…e header teaching a retired filter (objectui#7513) (objectstack-ai#7617)

Tightens precision rule 4 of `check:spec-symbols` from symbol to member
granularity, per the maintainer ruling of 2026-09-04 (batch objectstack-ai#29, A′ + b).

A comment citing `SpecSymbol.key` where the spec's own shape has no `key`
is now a dangling reference. Three measured specimens took that shape and
all three were inviting a 422: `SelectOptionSchema.description` (twice,
into a `.strict()` option schema, which sinks the whole field),
`FieldSchema.rows`, and `DashboardSchema.title`. Every one of them named a
symbol the spec really exports, so rule 4 passed them.

This is rule 4 tightened, not a second instrument: no allowlist and no
ledger of its own — the measured population is 0 on this commit, so a hit
is always fresh and fails on the PR that writes it. Zod's own API is
excluded by two documented predicates (call form, plus a five-name
introspection vocabulary), never by allowlist entries.

Also corrects the two header paragraphs that still described the
`export`-modifier filter in the present tense, beside a `hasExportModifier`
helper that had lost its last call site. A card was filed on the strength
of that prose; the helper is removed so nothing is left to grep into the
same false conclusion.


Claude-Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3

Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 9, 2026
…rfaces (objectstack-ai#7622)

The five dashboard-ROOT `title` read arms retire together under ADR-0049
(objectui#7509, maintainer ruling 2026-09-04, decision batch objectstack-ai#29, option C).
`label` — REQUIRED on `@objectstack/spec`'s `DashboardSchema` — becomes the
only header source, then the raw `name`.

`DashboardSchema` refuses a root `title` BY NAME (`unrecognized_keys(title)`)
and the save route answers 422, so no authored document can acquire the key;
what retires is compatibility with documents stored before that refusal. Five
surfaces read the legacy spelling independently, so one stored document could
show one header in the console and a different one in the designer — which is
why the ruling refused retiring any single arm.

Widget-level `widget.title` (`DashboardWidget.title`, the spec's `I18nLabel`)
is a different DECLARED key and is untouched; root and widget arms were
separated by receiver, not by grep, and every pin carries a widget control.

Each arm gets a refusal-shaped pin in the objectstack-ai#5830 / objectstack-ai#5852 form. Two existing
pins asserted the retired behaviour and were rewritten rather than deleted:
`dashboardAuthoredInputs`' "the legacy `title` read stays" block (its objectstack-ai#5742
exclusion of `title` from published inputs is unchanged) and
`DashboardGridLayout.inlineLocaleLabel`'s precedence case.


Claude-Session: https://claude.ai/code/session_01KbJQ1y1J12nZxYzFWhP8Q3

Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Sep 24, 2026
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.

3 participants