Skip to content

31: redesign block nodes, icons, and resize handle - #33

Merged
evgheni7 merged 2 commits into
mainfrom
31-block-redesign
May 28, 2026
Merged

31: redesign block nodes, icons, and resize handle#33
evgheni7 merged 2 commits into
mainfrom
31-block-redesign

Conversation

@evgheni7

@evgheni7 evgheni7 commented May 28, 2026

Copy link
Copy Markdown
Contributor

Closes #31.

Summary

  • Redesign block (resource) and container nodes with header actions and block-type icons
  • Inherit block-type icon from provider so loaded blocks show it; show provider icon on accordion header instead of on individual block cards
  • Add contrasting block card background for visibility
  • Load provider metadata into provider block types
  • Add fallback Box icon for blocks and accordion headers without an icon
  • Replace tiny default resize handle with a standard bottom-right corner indicator

Test plan

  • Open sidebar — accordion headers show provider icon or fallback Box
  • Drop a block onto the canvas — block node shows icon, title, and Plus/Trash actions
  • Drop a composition — container node shows icon, name, Plus/Pencil/Trash actions, and a visible resize corner inside the bottom-right
  • Drag the resize corner to resize the container

@evgheni7
evgheni7 force-pushed the 31-block-redesign branch 2 times, most recently from 3ebfd4f to 4ada07e Compare May 28, 2026 15:06
@evgheni7
evgheni7 merged commit 00e5ef1 into main May 28, 2026
1 check passed
@evgheni7
evgheni7 deleted the 31-block-redesign branch May 28, 2026 15:09
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.

Simplify block markup and redesign title/actions

1 participant