Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

fix: auto fetch more items in dashboard page , project list , dataset page for big screens #255

Merged
merged 12 commits into from Jul 1, 2022

Conversation

nina992
Copy link
Contributor

@nina992 nina992 commented Jun 21, 2022

Overview

After adding infinite scroll and for big monitors the page only shows limit number of items and the scroll bar didn't appear so the system didn't fetch all items related to this list.

What I've done

fix this and auto fetch the items when the page is too large

What I haven't done

How I tested

Screenshot

Which point I want you to review particularly

Memo

@netlify
Copy link

netlify bot commented Jun 21, 2022

Deploy Preview for reearth-web ready!

Name Link
🔨 Latest commit 2853276
🔍 Latest deploy log https://app.netlify.com/sites/reearth-web/deploys/62bea57e2e8129000845d02a
😎 Deploy Preview https://deploy-preview-255--reearth-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nina992 nina992 changed the title fix: Auto fetch more items in dashboard page , project list , dataset page for big screens fix: auto fetch more items in dashboard page , project list , dataset page for big screens Jun 21, 2022
@codecov
Copy link

codecov bot commented Jun 21, 2022

Codecov Report

Merging #255 (2853276) into main (fd46316) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #255   +/-   ##
=======================================
  Coverage   51.33%   51.33%           
=======================================
  Files          56       56           
  Lines        1165     1165           
  Branches      182      182           
=======================================
  Hits          598      598           
  Misses        505      505           
  Partials       62       62           

src/util/AutoFetchMore.ts Outdated Show resolved Hide resolved
nina992 and others added 6 commits June 27, 2022 14:57
Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
…x.tsx

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
…x.tsx

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
nina992 and others added 2 commits June 28, 2022 09:11
Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
@nina992 nina992 marked this pull request as ready for review June 30, 2022 20:17
@nina992 nina992 merged commit fb8bf98 into main Jul 1, 2022
@nina992 nina992 deleted the infinit-scroll-dashboard branch July 1, 2022 09:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants