Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(dx): Cypress to Playwright migration #3036

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Jul 26, 2024

  1. Browser plugin preview (#2748)

    * [WIP] webpack config setup for fast refresh + websocket server
    
    * add prod/dev hmr webpack config option
    
    * render immediately and handle AsyncMessage in startup app hook
    
    * forward ui AsyncMessages to browser via WebSockets
    
    * null check sentry transaction to fix browser error
    
    * refactor AsyncMessageChannel code for browser implementation
    
    * webpack use swc-loader for browser version + speed/bundle size plugin options
    
    * prettify browser dev preview UI
    
    * enable loading screen if startup params missing (for web serve + disconnected browser dev preview)
    
    * attempt to fix webpack build for tests
    
    * add SpeedMeasurePlugin package
    
    * create AsyncMessageChannel dev docs
    
    * replace web-preview.md ASCII data flow diagram with mermaid
    
    * use radii/spacing tokens instead of px for web preview.tsx styles
    
    Co-authored-by: Jan Six <[email protected]>
    
    * remove commented out startup handler (handled in startup.tsx useEffect now)
    
    Co-authored-by: Jan Six <[email protected]>
    
    * remove commented out code
    
    Co-authored-by: Jan Six <[email protected]>
    
    * replace px values with tokens
    
    Co-authored-by: Jan Six <[email protected]>
    
    * conditional export for AsyncMessageChannel preview env
    
    * add browser preview WEBSOCKETS_PORT env
    
    * fix typescript issue with PreviewAsyncMessageChannel.isWsConnected
    
    * add test coverage for AsyncMessageChannelPreview
    
    * Browser preview debug UI (#2803)
    
    * fix AsyncMessageChannelPreview undefined error + export WS URI
    
    * browser preview CSS file for UI fixes
    
    * create previewUtils for browser color scheme + setFigmaBrowserTheme
    
    * browser preview URL params + fullscreen/theme/action modes
    
    * two bug fixes for browser/plugin websocket preview bridge
    
    * add preview dist folder for web preview builds
    
    * [WIP] browser preview dev knowledge docs
    
    * feat(dev): request startup on browser preview page open
    
    * refactor(dev): use env vars for browser preview ws src
    
    * fix(debug): remove console.log from asyncmessagechannelpreview
    
    * fix(css): figmaloading full height css for browser preview
    
    * refactor(dev): use enums for websockets src in browser preview tsx
    
    * fix(dev): remove comments
    
    * refactor: reuse htmlClassList variable
    
    * remove unused package
    
    ---------
    
    Co-authored-by: macintoshhelper <[email protected]>
    
    ---------
    
    Co-authored-by: macintoshhelper <[email protected]>
    Co-authored-by: Jan Six <[email protected]>
    3 people authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    90906fd View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    e9a8077 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Browser plugin preview (#2748)

    * [WIP] webpack config setup for fast refresh + websocket server
    
    * add prod/dev hmr webpack config option
    
    * render immediately and handle AsyncMessage in startup app hook
    
    * forward ui AsyncMessages to browser via WebSockets
    
    * null check sentry transaction to fix browser error
    
    * refactor AsyncMessageChannel code for browser implementation
    
    * webpack use swc-loader for browser version + speed/bundle size plugin options
    
    * prettify browser dev preview UI
    
    * enable loading screen if startup params missing (for web serve + disconnected browser dev preview)
    
    * attempt to fix webpack build for tests
    
    * add SpeedMeasurePlugin package
    
    * create AsyncMessageChannel dev docs
    
    * replace web-preview.md ASCII data flow diagram with mermaid
    
    * use radii/spacing tokens instead of px for web preview.tsx styles
    
    Co-authored-by: Jan Six <[email protected]>
    
    * remove commented out startup handler (handled in startup.tsx useEffect now)
    
    Co-authored-by: Jan Six <[email protected]>
    
    * remove commented out code
    
    Co-authored-by: Jan Six <[email protected]>
    
    * replace px values with tokens
    
    Co-authored-by: Jan Six <[email protected]>
    
    * conditional export for AsyncMessageChannel preview env
    
    * add browser preview WEBSOCKETS_PORT env
    
    * fix typescript issue with PreviewAsyncMessageChannel.isWsConnected
    
    * add test coverage for AsyncMessageChannelPreview
    
    * Browser preview debug UI (#2803)
    
    * fix AsyncMessageChannelPreview undefined error + export WS URI
    
    * browser preview CSS file for UI fixes
    
    * create previewUtils for browser color scheme + setFigmaBrowserTheme
    
    * browser preview URL params + fullscreen/theme/action modes
    
    * two bug fixes for browser/plugin websocket preview bridge
    
    * add preview dist folder for web preview builds
    
    * [WIP] browser preview dev knowledge docs
    
    * feat(dev): request startup on browser preview page open
    
    * refactor(dev): use env vars for browser preview ws src
    
    * fix(debug): remove console.log from asyncmessagechannelpreview
    
    * fix(css): figmaloading full height css for browser preview
    
    * refactor(dev): use enums for websockets src in browser preview tsx
    
    * fix(dev): remove comments
    
    * refactor: reuse htmlClassList variable
    
    * remove unused package
    
    ---------
    
    Co-authored-by: macintoshhelper <[email protected]>
    
    ---------
    
    Co-authored-by: macintoshhelper <[email protected]>
    Co-authored-by: Jan Six <[email protected]>
    3 people authored and cuserox committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    c96985e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c595473 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    aa75697 View commit details
    Browse the repository at this point in the history