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

Ensure the loading indicator and the refresh button animated at the correct time. #3363

Merged
merged 6 commits into from
Jan 18, 2019

Conversation

KlapTrap
Copy link
Contributor

@KlapTrap KlapTrap commented Jan 18, 2019

The top blue loading indicator should show:

  1. When fetching a page that isn't in the cache
    1a) When changing page
  2. When a search or filter change makes the list fetch new data from the backend
    This happens in two cases:
    1) On a none-local list.
    2) On a list that is currently showing the "too many entities" message. See Scalability: Application Wall #2895

The refresh button should animate:

  1. When clicking on the refresh button
  2. When we poll for data (i.e. a fetch has been requested but the page number and params haven't changed) - see the application instance table for an example of polling refreshes.

With one CF connected the apps list loads twice, this is fixed here #3313.

fixes #3305

@cfdreddbot
Copy link

✅ Hey KlapTrap! The commit authors and yourself have already signed the CLA.

@codecov
Copy link

codecov bot commented Jan 18, 2019

Codecov Report

Merging #3363 into v2-master will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@              Coverage Diff              @@
##           v2-master    #3363      +/-   ##
=============================================
- Coverage      70.48%   70.46%   -0.03%     
=============================================
  Files            661      661              
  Lines          29194    29194              
  Branches        6667     6670       +3     
=============================================
- Hits           20578    20572       -6     
- Misses          8616     8622       +6

Copy link
Contributor

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

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

LGTM, will merge once passed gates

@richard-cox richard-cox merged commit f8dfdc0 into v2-master Jan 18, 2019
@richard-cox richard-cox deleted the re-fix-loading-indicator branch January 18, 2019 14:41
KlapTrap added a commit that referenced this pull request Jan 29, 2019
* v2-master: (34 commits)
  v2/v3 api docs updates
  Fix create-services script used to set CF up for E2E tests
  Only prevent copy & paste in confirm dialog for production
  Fix for bug causing intermittment E2E Test failures on org tests (#3366)
  Allow e2e createService 3 attempts at creating service
  Weekly updaye 18 January (#3365)
  Change log for 2.3.0 (#3364)
  Ensure the loading indicator and the refresh button animated at the correct time. (#3363)
  Fix fetching of stats in app wall for some cases when list is maxed (#3360)
  Fix CF-Level Metrics permissions check (#3348)
  About Page Title customization support (#3356)
  Revert loading indicator fixes
  Fix app state to allow start action for offline while updating (#3350)
  Fix display of percent tooltip on metrics chart (#3361)
  Ensure the SCM type is included in store keys (#3353)
  Manually make the date selector date a moment object (#3352)
  Fix filter panel size on services and marketplace pages (#3358)
  Tidy up org spce reducer logic
  Remove full stops from empty list messages - fixes #3340
  Fix search by space name in manage users space roles table - fixes #3329
  ...
KlapTrap added a commit that referenced this pull request Feb 11, 2019
* v2-master: (639 commits)
  Stop paginationResetPagination from added invalid fields
  Update status_updates.md
  Updates
  Patch the image version in the chart, so reuse-values can work
  Fix upgrade when using --reuse-values
  Avoid need to change service name
  Add test for upgrading with --reuse-values
  Fix for --reuse-values
  Fix helm repo link when geneating an RC (#3369)
  Improve handling of maxed state and observables (#3370)
  Update cf-api-v3.md
  v2/v3 api docs updates
  Fix create-services script used to set CF up for E2E tests
  Only prevent copy & paste in confirm dialog for production
  Fix for bug causing intermittment E2E Test failures on org tests (#3366)
  Allow e2e createService 3 attempts at creating service
  Weekly updaye 18 January (#3365)
  Change log for 2.3.0 (#3364)
  Ensure the loading indicator and the refresh button animated at the correct time. (#3363)
  Fix fetching of stats in app wall for some cases when list is maxed (#3360)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix list loading/refreshing indicator in maxed/non-local lists
3 participants