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

Automated plugin releases #3093

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

macintoshhelper
Copy link
Contributor

Why does this PR exist?

Closes #2708

What does this pull request do?

Sets up GitHub Actions with automated releases, with changesets integration.

Testing this change

Additional Notes (if any)

macintoshhelper and others added 2 commits July 26, 2024 20:06
* [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 <six.jan@gmail.com>

* remove commented out startup handler (handled in startup.tsx useEffect now)

Co-authored-by: Jan Six <six.jan@gmail.com>

* remove commented out code

Co-authored-by: Jan Six <six.jan@gmail.com>

* replace px values with tokens

Co-authored-by: Jan Six <six.jan@gmail.com>

* 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 <6757532+macintoshhelper@users.noreply.github.com>

---------

Co-authored-by: macintoshhelper <6757532+macintoshhelper@users.noreply.github.com>
Co-authored-by: Jan Six <six.jan@gmail.com>
Copy link

changeset-bot bot commented Aug 21, 2024

⚠️ No Changeset found

Latest commit: 7ad4f6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@macintoshhelper macintoshhelper changed the base branch from main to dx August 21, 2024 10:06
Copy link
Contributor

github-actions bot commented Aug 21, 2024

⤵️ 📦 ✨ The artifact was successfully created! Want to test it? Download it here 👀 🎁

Copy link
Contributor

github-actions bot commented Aug 21, 2024

Commit SHA:437686676feb5170994340b14c8874559e9388eb
No changes to code coverage between the base branch and the head branch

Copy link
Contributor

Commit SHA:1689aaea59e7dd11caad33519682a1c96eef6d27
Current PR reduces the test coverage percentage by 1 for some tests

* [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 <six.jan@gmail.com>

* remove commented out startup handler (handled in startup.tsx useEffect now)

Co-authored-by: Jan Six <six.jan@gmail.com>

* remove commented out code

Co-authored-by: Jan Six <six.jan@gmail.com>

* replace px values with tokens

Co-authored-by: Jan Six <six.jan@gmail.com>

* 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 <6757532+macintoshhelper@users.noreply.github.com>

---------

Co-authored-by: macintoshhelper <6757532+macintoshhelper@users.noreply.github.com>
Co-authored-by: Jan Six <six.jan@gmail.com>
@macintoshhelper macintoshhelper changed the base branch from dx to main October 21, 2024 11:59
@macintoshhelper macintoshhelper changed the base branch from main to dx October 21, 2024 11:59
@macintoshhelper macintoshhelper marked this pull request as ready for review October 23, 2024 09:44
Base automatically changed from dx to main October 24, 2024 08:33
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.

Automated releases
2 participants