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

fix: remove -1,-1 from owners request in charts, dashboards list and propertiesModal #9989

Merged
merged 3 commits into from Jun 4, 2020

Conversation

nytai
Copy link
Member

@nytai nytai commented Jun 4, 2020

SUMMARY

followup from: #9988

This removes the problematic LIMIT -1, -1 from the request for all owners. Search is implemented however owners fetch will be limited to 25 records as per FAB defaults.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

  • CI
  • tested locally

ADDITIONAL INFORMATION

  • 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

@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2020

Codecov Report

Merging #9989 into master will increase coverage by 0.00%.
The diff coverage is 84.61%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9989   +/-   ##
=======================================
  Coverage   71.38%   71.38%           
=======================================
  Files         585      585           
  Lines       30987    30994    +7     
  Branches     3267     3270    +3     
=======================================
+ Hits        22119    22126    +7     
  Misses       8757     8757           
  Partials      111      111           
Flag Coverage Δ
#cypress 54.14% <ø> (+0.09%) ⬆️
#javascript 59.41% <84.61%> (+<0.01%) ⬆️
#python 71.58% <ø> (ø)
Impacted Files Coverage Δ
...rontend/src/explore/components/PropertiesModal.tsx 16.66% <ø> (ø)
...uperset-frontend/src/views/chartList/ChartList.tsx 61.22% <83.33%> (+0.66%) ⬆️
...frontend/src/views/dashboardList/DashboardList.tsx 66.66% <83.33%> (+0.46%) ⬆️
...erset-frontend/src/components/ListView/Filters.tsx 88.33% <100.00%> (-0.56%) ⬇️
superset-frontend/src/SqlLab/actions/sqlLab.js 66.59% <0.00%> (+0.43%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 543a3ca...257d0d4. Read the comment docs.

@nytai nytai changed the title fix: remove -1,-1 from owners request in charts and dashboards list fix: remove -1,-1 from owners request in charts, dashboards list and propertiesModal Jun 4, 2020
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 4, 2020
@@ -114,7 +111,6 @@ function SelectFilter({
let result = inputValue ? [] : [clearFilterSelect];
// only call fetch once
// TODO: allow real async search with `inputValue`
if (optionsCache.current) return optionsCache.current;
if (fetchSelects) {
const selectValues = await fetchSelects(inputValue);
Copy link
Member Author

Choose a reason for hiding this comment

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

search the current value.

@nytai nytai force-pushed the tai/fix-negative-page-vals branch 2 times, most recently from 6cb85ff to bce9ce7 Compare June 4, 2020 20:25
@nytai nytai force-pushed the tai/fix-negative-page-vals branch from bce9ce7 to 257d0d4 Compare June 4, 2020 20:51
@nytai nytai merged commit 619fbc9 into apache:master Jun 4, 2020
@nytai nytai deleted the tai/fix-negative-page-vals branch June 4, 2020 22:33
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants