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

Add pagination to table #1058

Merged
merged 15 commits into from
Dec 2, 2024
Merged

Add pagination to table #1058

merged 15 commits into from
Dec 2, 2024

Conversation

ericboucher
Copy link
Member

@ericboucher ericboucher commented Nov 20, 2024

In preparation of the reef check data that has a lot of sites, we propose to add pagination to the sites table (or virtualisation, see #1054)

Screenshot 2024-11-20 at 1 21 45 PM

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

⚠️ This pull request was not sent to the PullRequest network because the pull request is a draft.

@@ -50,7 +51,31 @@ export const SiteMarkers = ({ collection }: SiteMarkersProps) => {
},
[],
);
// zoom in and center on site marker when it's clicked

const filterSitesByViewport = useCallback(() => {
Copy link
Member Author

Choose a reason for hiding this comment

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

@K-Markopoulos is that useful or should we remove this for now?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's an improvement in performance, so it's worth keep it until we come up with a better solution.

Copy link

github-actions bot commented Nov 20, 2024

Build succeeded and deployed at https://aqualink-app-1058.surge.sh
(hash b3faeee deployed at 2024-12-02T16:11:43)

@ericboucher ericboucher marked this pull request as ready for review December 2, 2024 16:17
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ This pull request was sent to the PullRequest network for review. Expert reviewers are now being matched to your request based on the code's requirements. Stay tuned!

What to expect from this code review:
  • Comments posted to any areas of potential concern or improvement.
  • Detailed feedback or actions needed to resolve issues that are found.
  • Turnaround times vary, but we aim to be swift.

Check the status or cancel PullRequest code review here.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

PullRequest Breakdown

Reviewable lines of change

+ 177
- 99

99% TSX
1% TypeScript

Type of change

Feature - These changes are adding a new feature or improvement to existing code.

@ericboucher ericboucher merged commit 728e660 into master Dec 2, 2024
3 checks passed
@ericboucher ericboucher deleted the icon-size branch December 2, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants