Skip to content

feat(ui): inline block creation on empty tabs#64

Open
keshav-k3 wants to merge 1 commit into
ui-ux-executive-reviewfrom
feat/ui-empty-tab-creation
Open

feat(ui): inline block creation on empty tabs#64
keshav-k3 wants to merge 1 commit into
ui-ux-executive-reviewfrom
feat/ui-empty-tab-creation

Conversation

@keshav-k3

Copy link
Copy Markdown
Member

Summary

  • Empty tabs show an inline "New block" strip with + Terminal, + Preview, and + Web actions
  • Uses existing createBlock API with block defs aligned to default widgets (term/preview/web)
  • Inline in the canvas — no modal

Test plan

  • Create a new tab with no blocks; confirm the creation strip appears centered
  • Click + Terminal; confirm a shell terminal block is created
  • Click + Preview; confirm a file preview block opens at ~
  • Click + Web; confirm a web block is created
  • Confirm tabs that already have blocks still render TileLayout unchanged

Empty tabs now surface + Terminal / + Preview / + Web actions inline
instead of a blank canvas, using the existing createBlock API.
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