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

Namespace to Gateway - Gateways list and details are slow to load elements #1140

Open
2 of 3 tasks
rustyjux opened this issue Aug 19, 2024 · 4 comments
Open
2 of 3 tasks
Labels

Comments

@rustyjux
Copy link
Contributor

API Services Portal Issue

User Story

As a API provider on the Portal,

I want page elements to consistently load quickly AND use appropriately sized skeletons during loading

so that I don't need to wait or end up clicking the wrong element when the page jumps.

Slow loads include:

  • Gateway display names in the My Gateways list
    image
  • Gateway details
    image

It's possible the slower loads are limited to dev/test, but regardless, appropriately sized skeletons would improve UX when page loads.

Test Case

ENV

  • DEV
  • TEST
  • PROD

TESTCASE

Open the page (/list or /details)

EXPECTED

  • First: Skeletons are sized to fill the loading page elements. Page does not shift when elements load.
  • Secondary: Loading all page elements takes less than X seconds (1 s? 0.5 s?)

ACTUAL

  • Loading display names (on /list) or the current Gateway details in header (on /details) often has a noticeable delay
  • Page jumps when these elements load and fill space
@rustyjux rustyjux added the jira label Aug 19, 2024
@timng-bcgov
Copy link

I couldn't find the logic for the skeletons in the codebase. Would you like to discuss what the skeletons should look like? I can make some quick mockups if it would be helpful.

@rustyjux
Copy link
Contributor Author

<Skeleton> is used throughout the Portal for loading elements and can be seen e.g. on the /detail page:
image
In that case, it just needs resizing in the props. It comes straight from Chakra - https://v1.chakra-ui.com/docs/components/feedback/skeleton

@timng-bcgov
Copy link

Thanks, with regard to sizing and to avoid layout shift, I was thinking of using separate Skeletons. Something like this:

image

@Elson9
Copy link
Contributor

Elson9 commented Oct 8, 2024

Priority: improving UX for our services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants