Skip to content

feat(playground)!: redesign sidebar with nav-based layout and theme editing#716

Open
effie-ms wants to merge 48 commits into
mainfrom
playground-updates
Open

feat(playground)!: redesign sidebar with nav-based layout and theme editing#716
effie-ms wants to merge 48 commits into
mainfrom
playground-updates

Conversation

@effie-ms
Copy link
Copy Markdown
Contributor

@effie-ms effie-ms commented Apr 29, 2026

NB:
To be reviewed after: #745 and #746 (isolated fixes for @lifi/widget)

Which Linear task is linked to this PR?

https://linear.app/lifi-linear/issue/EMB-348/restyle-widget-playground

Why was it implemented this way?

Widget changes

These affect the published @lifi/widget package.

  • drop-shadowbox-shadow in createTheme.ts and watermelonLight.ts — updated to support spread control (to make it configurable from the playground sidebar)
  • Grey palette standardized: grey[200]/grey[700]grey[300]/grey[800] in SendToWalletPage.style.tsx (other grey pairs are not used within the widget)
  • MuiDrawer added to allowed theme component overrides, now mergeable via createTheme.ts - to be able to customize Drawer variant
  • Header spacing: removed header bottom padding, added equivalent top padding to content area in AppLayout - not to cut shadow.

Playground changes

  • Complete sidebar redesign: old DrawerControls + ExpandableCard accordion → floating sidebar with SidebarView nav + slide-in detail views
  • Removed @monaco-editor/react and @mui/lab dependencies - not supporting code editor anymore
  • Store v1→v2: viewport color split per mode, code control/skeleton side-by-side removed, widget event monitors added
  • withFloatingDrawer() wrapper isolates playground drawer overrides from widget themes

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.

@effie-ms effie-ms self-assigned this Apr 29, 2026
@effie-ms effie-ms added the v4 label Apr 29, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Hey! This is your new endpoint: https://ef3ccbb6.widget-playground-1so.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Hey! This is your new endpoint: https://a011f626.widget-playground-1so.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Hey! This is your new endpoint: https://3982bdd4.widget-playground-1so.pages.dev

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Hey! This is your new endpoint: https://27687382.widget-playground-1so.pages.dev

@effie-ms effie-ms had a problem deploying to widget-test-pr-716 May 13, 2026 13:56 — with GitHub Actions Failure
@effie-ms effie-ms had a problem deploying to widget-test-pr-716 May 13, 2026 15:36 — with GitHub Actions Failure
@effie-ms effie-ms had a problem deploying to widget-test-pr-716 May 14, 2026 09:02 — with GitHub Actions Failure
@effie-ms effie-ms had a problem deploying to widget-test-pr-716 May 25, 2026 08:50 — with GitHub Actions Failure
@effie-ms effie-ms changed the title feat: restyle widget playground refactor(playground): redesign sidebar with nav-based layout and theme editing May 25, 2026
@effie-ms effie-ms marked this pull request as ready for review May 26, 2026 11:51
@chybisov chybisov changed the title refactor(playground): redesign sidebar with nav-based layout and theme editing feat(playground)!: redesign sidebar with nav-based layout and theme editing May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants