villebro opened a new pull request #11326: URL: https://github.com/apache/incubator-superset/pull/11326
### SUMMARY Currently the chart data endpoint always shows data as being cached. This differs from how the legacy endpoint works, which for the first or forced load doesn't show the `cached` pill. This changes the behaviour on the new endpoint to work similar to how the old one works. ### Expected behaviour (legacy endpoint) In this video we can see how the `CACHED` pill is deactivated when the data is force refreshed:  ### Current behaviour (v1 chart data endpoint) Here we see the new data endpoint before the change. Note how the `CACHED` pill is always active:  ### New behaviour (v1 chart data endpoint) Here we see the new data endpoint after the change:  ### TEST PLAN <!--- What steps should be taken to verify the changes --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
