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

Improved Loading Behavior/Pagination #207

Closed
Tracked by #284
maparr opened this issue Aug 23, 2023 · 3 comments · Fixed by #214
Closed
Tracked by #284

Improved Loading Behavior/Pagination #207

maparr opened this issue Aug 23, 2023 · 3 comments · Fixed by #214
Labels
enhancement New feature or request

Comments

@maparr
Copy link

maparr commented Aug 23, 2023

Description

Currently, when scrolling through the Explorer on the spacemeshos/explorer-frontend, the loading behavior at the end of the page can be confusing for users. It's difficult to determine whether the page is still loading or if it has reached the end of the available data. This can be particularly problematic for users with slower internet connections.

This feature request proposes an enhancement to the loading behavior and suggests implementing improved pagination to provide a smoother and clearer user experience.

Proposed Solutions

  1. Delayed Loader: Introduce a delayed loader that triggers after approximately 300ms if no results are displayed. This will give users a clear indication that the page is still loading and prevent the confusion between loading and reaching the end of the page.

  2. Always Load More: Implement a continuous loading mechanism where additional data is loaded proactively as the user scrolls. This can be done by pre-loading a couple of pages of data in advance, so users don't encounter an abrupt stop when scrolling to the end.

  3. Normal Pagination: Consider switching to a standard pagination model where users manually click to load the next page of results. This can provide a more predictable and controlled browsing experience.

Reproduction Steps

  1. Visit the Explorer page.
  2. Begin scrolling down the page to simulate reaching the end.
  3. Observe the loading behavior and how it might be unclear whether the page is loading or at its end.

Acceptance Criteria

  1. The loading behavior is enhanced to clearly indicate when the page is still loading data.
  2. Users with slower internet connections can easily distinguish between loading and reaching the end of the page.
  3. The user experience during scrolling is improved, avoiding abrupt stops and confusion.
  4. If pagination is implemented, it functions reliably and intuitively.
  5. The solution aligns with the overall design and usability principles of the spacemeshos/explorer-frontend.

This feature request aims to enhance the user experience on the Explorer page by addressing the loading behavior and potentially implementing a more user-friendly pagination mechanism. Your consideration and feedback on this proposal are greatly appreciated.

@maparr maparr added the enhancement New feature or request label Aug 23, 2023
@maparr maparr changed the title Improved Loading Behavior and Pagination Improved Loading Behavior/Pagination Aug 23, 2023
@lrettig
Copy link
Member

lrettig commented Sep 8, 2023

I ran into this issue today - there's currently no way to view more than the past 40 layers. It doesn't auto-load more and there's no "more" button and no pagination:

image

@lrettig
Copy link
Member

lrettig commented Sep 8, 2023

Strange - now auto load is working for me on the layers page, but it wasn't a few minutes ago

@lrettig
Copy link
Member

lrettig commented Sep 13, 2023

Note: some community members did some basic troubleshooting here: https://discord.com/channels/623195163510046732/623195511331225620/1151503556143239189

@kacpersaw kacpersaw linked a pull request Nov 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants