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

Fix Deploy button #385

Merged
merged 33 commits into from
Sep 26, 2023
Merged

Fix Deploy button #385

merged 33 commits into from
Sep 26, 2023

Conversation

alextaing
Copy link
Contributor

@alextaing alextaing commented Sep 25, 2023

The Deploy button had unexpected behavior since Git data (canPush) was not properly updated using HMR. This PR makes sure that on Studio save, updated Git data is sent to Studio. A new type of HMR message was added between studio which handles exclusively Git data, as to not pollute the current HMR message type which is purely studio data from the studio data virtual module.

Streamlined the deploy button playwright test to only screenshot the deploy button at three stages: before change, after change, and after deploy.

J=SLAP-2944
TEST=manual,auto

@alextaing alextaing added the wip label Sep 25, 2023
@alextaing alextaing removed the wip label Sep 25, 2023
oshi97
oshi97 previously approved these changes Sep 25, 2023
@alextaing alextaing merged commit 66cd396 into main Sep 26, 2023
15 checks passed
@alextaing alextaing deleted the dev/gitdata-hmr branch September 26, 2023 12:50
@alextaing alextaing mentioned this pull request Sep 26, 2023
alextaing added a commit that referenced this pull request Sep 26, 2023
## Features
- Layouts can now be added when adding a page. This new step is at the
very end of the Add Page process (#376).
- The Live Preview Button now opens up to the current active page
instead the PageJS landing page (#379).

## Changes
- Updated icons for Components, Containers, and Layouts (#378)!
- The current selected viewport is now highlighted in the dropdown to
keep track of the current viewport (#386).

## Fixes
- The page settings now correctly refers to scope as "Content Scope"
(#381).
- Buggy deploy button behavior has been fixed (#385).
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.

3 participants