Description

Parent issue to track a bunch of migration and deprecation tasks – with QA regression testing.

 

useBatchedFetch is using the react-query useInfiniteQuery, triggering a query and then upon fully loading that triggering a second query. For large result sets this can stack up pretty fast, fetching 10 pages at half a second (or more) per page will result in not getting the full result set for 5 seconds (or more).

useChunkedCQLFetch work elsewhere has brought the idea of chunked and parallel fetches into view, so this work is to replace useBatchedFetch with parallelised version, useParallelBatchFetch, and deprecate the older, slower hook.

We also have a useUsers hook, which can currently only fetch ~60 users before the URL limit hits. This work will also track moving our implementations over to using useChunkedUsers, which uses that useChunkedCQLFetch under the hood.

 

 

Currently all these hooks are in stripes-erm-components, but with STCOR-730 useChunkedCQLFetch will be moved to stripes-core, and more work should be done to migrate our use cases over to that, and deprecate the stripes-erm-components version.

Confluence content

Checklist

hide

TestRail: Results

Activity

Show:
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2662
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2660
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2663
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2653
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2661
Jag Goraya
updated the Linked IssuesOctober 9, 2023 at 8:45 AM
None
This issue defines ERM-2654
Owen Stephens
changed the StatusOctober 6, 2023 at 1:33 PM
In QA
Closed
Owen Stephens
updated the ResolutionOctober 6, 2023 at 1:33 PM
None
Done
Jag Goraya
updated the Linked IssuesOctober 4, 2023 at 11:35 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the Linked IssuesSeptember 27, 2023 at 11:12 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the Linked IssuesSeptember 27, 2023 at 10:16 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the SprintSeptember 25, 2023 at 10:00 AM
ERM Sprint 170, ERM Sprint 171, ERM Sprint 173, ERM Sprint 174
ERM Sprint 170, ERM Sprint 171, ERM Sprint 173, ERM Sprint 174, ERM Sprint 175
Jag Goraya
updated the Linked IssuesSeptember 25, 2023 at 9:48 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the Linked IssuesSeptember 13, 2023 at 10:28 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the SprintSeptember 11, 2023 at 10:03 AM
ERM Sprint 170, ERM Sprint 171, ERM Sprint 173
ERM Sprint 170, ERM Sprint 171, ERM Sprint 173, ERM Sprint 174
Jag Goraya
updated the Linked IssuesSeptember 11, 2023 at 9:54 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the SprintAugust 30, 2023 at 9:45 AM
ERM Sprint 170, ERM Sprint 171
ERM Sprint 170, ERM Sprint 171, ERM Sprint 173
Jag Goraya
updated the Linked IssuesAugust 30, 2023 at 9:45 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the ComponentsAugust 9, 2023 at 10:42 AM
None
stripes-erm-testing
Jag Goraya
updated the Linked IssuesAugust 9, 2023 at 9:52 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the Linked IssuesAugust 2, 2023 at 10:24 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the SprintJuly 31, 2023 at 2:29 PM
ERM Sprint 170
ERM Sprint 170, ERM Sprint 171
Jag Goraya
updated the Linked IssuesJuly 26, 2023 at 11:18 AM
None
This issue links to "Page (FOLIO Wiki)"
Jag Goraya
updated the SprintJuly 19, 2023 at 10:01 AM
None
ERM Sprint 170
Jag Goraya
updated the ReleaseJuly 19, 2023 at 10:01 AM
None
Poppy (R2 2023)
Jag Goraya
updated the Development TeamJuly 19, 2023 at 10:01 AM
None
Bienenvolk
Jag Goraya
updated the Linked IssuesJuly 19, 2023 at 10:00 AM
None
This issue relates to ERM-2969
Ethan Freestone
updated the DescriptionJuly 19, 2023 at 9:56 AM
Parent issue to track a bunch of migration and deprecation tasks – with QA regression testing.
Parent issue to track a bunch of migration and deprecation tasks – with QA regression testing.   useBatchedFetch is using the react-query useInfiniteQuery, triggering a query and then upon fully loading that triggering a second query. For large result sets this can stack up pretty fast, fetching 10 pages at half a second (or more) per page will result in not getting the full result set for 5 seconds (or more). useChunkedCQLFetch work elsewhere has brought the idea of chunked and parallel fetches into view, so this work is to replace useBatchedFetch with parallelised version, useParallelBatchFetch, and deprecate the older, slower hook. We also have a useUsers hook, which can currently only fetch ~60 users before the URL limit hits. This work will _also_ track moving our implementations over to using useChunkedUsers, which uses that useChunkedCQLFetch under the hood.     Currently all these hooks are in stripes-erm-components, but with STCOR-730 useChunkedCQLFetch will be moved to stripes-core, and more work should be done to migrate our use cases over to that, and deprecate the stripes-erm-components version.
Jag Goraya
changed the AssigneeJuly 17, 2023 at 5:31 PM
Ethan Freestone
Owen Stephens
Ethan Freestone
changed the StatusJuly 17, 2023 at 5:31 PM
In Code Review
In QA
Ethan Freestone
changed the StatusJuly 17, 2023 at 5:17 PM
In progress
In Code Review
Ethan Freestone
changed the AssigneeJuly 17, 2023 at 4:11 PM
Unassigned
Ethan Freestone
Ethan Freestone
changed the StatusJuly 17, 2023 at 4:11 PM
Draft
In progress
Ethan Freestone
created the IssueJuly 17, 2023 at 4:01 PM

Something went wrong on our end

If this keeps happening, share this information with your admin, who should contact support.

Hash LVERXE Trace aac12731571245ffbe753eb1e8256dfe

Details

Assignee

Owen Stephens

Reporter

Ethan Freestone

Priority

TBD

Sprint

None

Development Team

Bienenvolk

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
TestRail: Cases
TestRail: Runs
 

Flag notifications