Skip to content

Migrate Workbench to React#4637

Merged
sharadsw merged 161 commits into
productionfrom
issue-4611
May 20, 2024
Merged

Migrate Workbench to React#4637
sharadsw merged 161 commits into
productionfrom
issue-4611

Conversation

@sharadsw

@sharadsw sharadsw commented Mar 11, 2024

Copy link
Copy Markdown
Contributor

Fixes #4611

Checklist

  • Self-review the PR after opening it to make sure the changes look good
    and self-explanatory (or properly documented)
  • Add relevant issue to release milestone

Testing instructions

Test all features described here
https://discourse.specifysoftware.org/t/the-specify-7-workbench/540

@sharadsw

sharadsw commented Mar 11, 2024

Copy link
Copy Markdown
Contributor Author

The handsontable react wrapper requires handsontable >= 12. I've upgraded it to 12.1.0 (and also fixed resulting type errors) as newer versions don't render on the Workbench for some reason. Will upgrade it to the latest version after completing migration as the migration is going to change how handsontable is rendered.

Comment thread specifyweb/frontend/js_src/lib/utils/cache/definitions.ts
@CarolineDenis CarolineDenis added this to the 7.9.5 milestone Mar 13, 2024
@maxpatiiuk

Copy link
Copy Markdown
Member

Hi
Would you prefer I review this PR every once in a while after you push a few commits, or only when you explicitly assign it to me for review/re-review?
Some devs like to get feedback right away and incrementally, while others only want it when everything looks is finished

@sharadsw

Copy link
Copy Markdown
Contributor Author

I think a review at the end would be great!

Comment thread specifyweb/frontend/js_src/lib/components/WorkBench/WbActions.tsx Outdated
Comment thread specifyweb/frontend/js_src/lib/components/WorkBench/WbView.tsx Outdated
@sharadsw
sharadsw requested a review from melton-jason May 17, 2024 14:08

@melton-jason melton-jason left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking good! 💯

It looks like one of the changes introduced an bug in which changes which are not caused by undo/redo are not triggering the save button:

Screen.Recording.2024-05-17.at.11.03.46.AM.mov

Comment thread specifyweb/frontend/js_src/lib/components/WorkBench/hooks.ts Outdated
Co-authored-by: Jason Melton <64045831+melton-jason@users.noreply.github.com>
@sharadsw
sharadsw requested a review from melton-jason May 17, 2024 16:53
Triggered by 2b4d619 on branch refs/heads/issue-4611

@melton-jason melton-jason left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work!

Comment thread specifyweb/frontend/js_src/lib/components/WbUtils/index.tsx Outdated
@sharadsw
sharadsw merged commit 1de4a30 into production May 20, 2024
@sharadsw
sharadsw deleted the issue-4611 branch May 20, 2024 12:51
@specifysoftware

Copy link
Copy Markdown

This pull request has been mentioned on Specify Community Forum. There might be relevant details there:

https://discourse.specifysoftware.org/t/specify-7-9-5-release-announcement/1751/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅Done

Development

Successfully merging this pull request may close these issues.

Migrate Workbench to React completely