Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Improve services loading responsiveness (sidebar) #153

Merged

Conversation

saulotoledo
Copy link
Contributor

Fixes #152 by adding loaders to the services.

Please note that the order of the services changes after the data is fully loaded. That happens because the data returned by the backend have a different order. The default behavior in the UI is to track the data by using the same order returned by the backend. We could hide this by adding a single loader for all services instead. However, this PR does not intent to change such behavior.

The image below shows the fix:

apigility_ui_slow_services_fix

@saulotoledo saulotoledo force-pushed the improve_sidebar_responsiveness branch from f2e52d8 to 6e8d238 Compare July 20, 2019 22:05
@saulotoledo
Copy link
Contributor Author

Hi @weierophinney. Let me know if you prefer the solution with one loader than having the order of the services changing as commented above. In the first case the API returns the list ordered by name. We cannot predict the order of the services in the first time.

How do you handle the dist folder in the project? I see that you have a compiled version in the repository.

Copy link
Member

@michalbundyra michalbundyra left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@michalbundyra michalbundyra added this to the 1.3.12 milestone Sep 27, 2019
@michalbundyra michalbundyra merged commit 6e8d238 into zfcampus:master Nov 24, 2019
michalbundyra added a commit that referenced this pull request Nov 24, 2019
Improve services loading responsiveness (sidebar)
michalbundyra added a commit that referenced this pull request Nov 24, 2019
michalbundyra added a commit that referenced this pull request Nov 24, 2019
michalbundyra added a commit that referenced this pull request Nov 24, 2019
@michalbundyra
Copy link
Member

Thanks, @saulotoledo!

More fixes like that are very welcome!

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

Successfully merging this pull request may close these issues.

Apigility UI shows empty service names while loading (sidebar)
2 participants