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

Update immutability-helper package to v3.1.1 with TS support #6565

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

hotzenklotz
Copy link
Member

@hotzenklotz hotzenklotz commented Oct 18, 2022

As per @philippotto suggestion, I updated the immutability-helper package to v3.1.1. The updated package has been re-written in Typescript and hopefully should provide better type coverage.

@philippotto and I did a quick spot check in some reducers and were pleased that we were given proper type errors :-)

I ran the TS type coverage reporter (yarn ts-coverage) but that did not report any differences between master and this PR. 🤷

Steps to test:

  • Introduce some errors in any reducer and be greeted with (helpful?) type errors

Issues:


(Please delete unneeded items, merge only when none are left open)

@hotzenklotz hotzenklotz enabled auto-merge (squash) October 18, 2022 16:07
Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

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

sweet 🍭

@hotzenklotz hotzenklotz merged commit 8b2358a into master Oct 18, 2022
@hotzenklotz hotzenklotz deleted the immutibility-helper-update branch October 18, 2022 16:36
hotzenklotz added a commit that referenced this pull request Oct 19, 2022
…ault_volume_layer

* 'master' of github.com:scalableminds/webknossos: (21 commits)
  adds ETA calculation to voxelytics tasks (#6564)
  update immutability-helper package to v3.1.1 with TS support (#6565)
  [Skeletons] Allow deletion of root group (#6553)
  fix disappearing sidebar button (#6555)
  Enable "What's new" in navbar for everybody (#6563)
  Highlight Menu in Navbar Menu (#6558)
  refactor Select loading spinner property (#6556)
  Reload histogram when reloading layer (#6537)
  added more usage shortcuts to status bar (#6549)
  Look up annotation dataset by tracing id instead of (broken) organizationName field (#6548)
  Add links to resource creation pages (#6513)
  Improve Zarr Import UI (and general editing of datasets) (#6485)
  Remove unused dataSetName and organizationName property of protobuf objects (#6559)
  WIP: Added manual task assignment (#6551)
  Fix zarr private links for volume tracings and some minor improvements to private links UI (#6541)
  Fix stack overflow in compactMovedNodesAndEdges (#6557)
  Add backspace keyboard shortcut to delete active node (#6554)
  fix scaling in new meshfile rendering (#6552)
  Added more filters and sorting options to Projects list (#6550)
  fix double occurance of "ago" in VX progress times (#6535)
  ...
@hotzenklotz hotzenklotz mentioned this pull request Oct 19, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update immutability-helper to make use of TS typing
2 participants