Skip to content

polish(ui): skill empty states gain their next-step actions - #2019

Merged
jackwener merged 1 commit into
mainfrom
polish/skills-empty-actions
Aug 3, 2026
Merged

polish(ui): skill empty states gain their next-step actions#2019
jackwener merged 1 commit into
mainfrom
polish/skills-empty-actions

Conversation

@jackwener

Copy link
Copy Markdown
Member

Selective-adoption follow-up (no layout changes): checklist rule 18 says every empty region needs a specific description and a next-step action. Marketplace search-empty → 清空搜索; filtered-to-zero → 清空筛选 (resets category + search); built-in no-match → 清空搜索. The library panel gains an optional onClearSearch (the search box lives in the outer header). Skeleton first-paint was considered and dropped honestly — these panels have no async seam, and a fake loading phase would be fake motion. Self-reviewed; full local verification green.

Premium checklist rule 18 (every empty region gets a specific
description AND a next-step action), applied selectively per the
design-review direction — no layout changes:

- Marketplace search-empty gains 清空搜索; filtered-to-zero gains
  清空筛选 (resets category + search together); the built-in
  catalog's no-match state gains 清空搜索.
- The header search box is owned by the outer panel, so the library
  panel gains an optional onClearSearch callback; the installed list
  keeps its existing refresh action.
- Skeleton first-paint was considered and dropped honestly: these
  panels have no async loading seam — inventing one for a placeholder
  would be fake motion.

Self-reviewed; build/typecheck/format/dead-css/checks/smoke all green.
@jackwener
jackwener merged commit 99f1311 into main Aug 3, 2026
9 of 11 checks passed
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