Skip to content

Isolated JavalabEditor Redux refactor#47445

Merged
bencodeorg merged 20 commits intostagingfrom
ben/javalab-editor-refactor-redux-isolated
Aug 3, 2022
Merged

Isolated JavalabEditor Redux refactor#47445
bencodeorg merged 20 commits intostagingfrom
ben/javalab-editor-refactor-redux-isolated

Conversation

@bencodeorg
Copy link
Copy Markdown
Contributor

This PR breaks off tabs/core editor refactor work (ie, moving state into Redux to enable future breaking up of JavalabEditor). One thing I'd like in this review is a quick check that we still believe that this is a good direction to go in -- I don't know how much space we have to continue breaking up JavalabEditor in our schedule, and this PR does effectively make things a bit more complicated than they were before in the meantime.

Some more details -- this PR isolates commits up to this commit from this PR from other changes that were merged in from Sanchit's refactor work. Changes up to that point were reviewed in that PR.

This PR adds updates to JavalabEditorTest.js, which should be reviewed here.

Testing story

Ran through JavalabEditor unit tests successfully locally.

@bencodeorg bencodeorg requested a review from a team August 2, 2022 16:59
Copy link
Copy Markdown
Contributor

@sanchitmalhotra126 sanchitmalhotra126 left a comment

Choose a reason for hiding this comment

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

LGTM! I do think it's still worthwhile to merge this change even if we're not immediately following up with further refactors. I don't think it really affects the readability or complexity all that much since all the naming and logic is the same, it's just coming from redux. And with this merged, I feel like picking up further refactor work will be easier down the road. That being said, I've also been working off of this code for a while now so I may be biased :) curious how others feel as well.

Copy link
Copy Markdown
Contributor

@molly-moen molly-moen left a comment

Choose a reason for hiding this comment

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

LGTM! We should have time to finish this up after summer swarms, and since we've done so much on it already I think it's worth doing :)

@bencodeorg bencodeorg merged commit b5c79d1 into staging Aug 3, 2022
@bencodeorg bencodeorg deleted the ben/javalab-editor-refactor-redux-isolated branch August 3, 2022 20:36
@bencodeorg
Copy link
Copy Markdown
Contributor Author

Thanks to you both for the input!

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