Skip to content

Fix: useApiFetch reactions, added spec & OffsetList pagination reset #4558

Martin Santangelo requested to merge fix/useapifetch into develop

Ticket(s) / Related Merge Requests

#4558 (closed)

Summary of Changes

  • Fixed useApiFetch reactions when URL or skip option changes
  • Added spec to the useApiFetch hook
  • Fixed the reset of the pagination flag hasMore in the OffsetList component

Testing Considerations

  • Open the supermind console and scroll to reach the end of the list in the inbound
  • Move to the outbound tab
  • Scroll
  • It should load more pages (ensure that you have more than 12 items)

Regression Scope

Since it fixes some useApiFetch issues it may affect many modules

Platform Affected (web, mobile, etc)

both

Developer Testing Completed

ios sim

Screenshots

useapifetch

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Merge request reports