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

enable editor changes in sketch mode, refactor some of the code manager #2287

Merged
merged 18 commits into from
May 6, 2024

Conversation

Irev-Dev
Copy link
Collaborator

@Irev-Dev Irev-Dev commented May 2, 2024

…ges to t… (#2286)"

This reverts commit e7ab645.

implementing #2283 again, but just making sure playwright passes before merging.

Will also revolve #1558

Screenshare.-.2024-05-03.9_14_00.PM.mp4

Copy link

vercel bot commented May 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview May 6, 2024 2:56am

@Irev-Dev
Copy link
Collaborator Author

Irev-Dev commented May 3, 2024

my bet is fefbd75 will break a bunch of the onboarding and a few other things, but I think that's just because updateCodeStateEditor needs to be replaced with updateCodeEditor in most places, wanted to see where playwright is going to break though.

@Irev-Dev Irev-Dev changed the title Revert "Revert "client side sketch updating properly with direct chan… enable editor changes in sketch mode, refactor some of the code manager May 3, 2024
@@ -12,7 +12,7 @@ export default function FutureWork() {

useEffect(() => {
// We do want to update both the state and editor here.
codeManager.updateCodeStateEditor(bracket)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait so im confused you dont want to update the state for these? if that state is now never used we can nukke it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well this isn't my code so not super sure, but there were onboarding tests that failed before this change that are now passing so I think this is what we want.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updateCodeEditor is still used in a couple of more places so I'll keep it for now.

@Irev-Dev Irev-Dev merged commit 43928f8 into main May 6, 2024
16 checks passed
@Irev-Dev Irev-Dev deleted the kurt-revert-revert branch May 6, 2024 09:28
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.

2 participants