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: Grab datasets initially onMount #13160

Merged
merged 8 commits into from Feb 18, 2021
Merged

fix: Grab datasets initially onMount #13160

merged 8 commits into from Feb 18, 2021

Conversation

hughhhh
Copy link
Member

@hughhhh hughhhh commented Feb 16, 2021

SUMMARY

User now will be able to see the top 20 datasets, without having to type in the SaveDataModal.autocomplete

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

dataset_onload

Closes #12822

TEST PLAN

  1. Goto sql lab
  2. Run a query
  3. Click Explore
  4. Click on Overwrite Dataset
  5. See dropdown show dataset available

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


const response = await makeApi({
method: 'GET',
endpoint: '/api/v1/dataset',
Copy link
Member

Choose a reason for hiding this comment

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

do we need to pass in the user id like below on line 342? What's the difference in the api response if you don't?

@pull-request-size pull-request-size bot added size/M and removed size/S labels Feb 17, 2021
@pull-request-size pull-request-size bot added size/S and removed size/M labels Feb 17, 2021
Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

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

Nice!

@hughhhh hughhhh merged commit d48b894 into master Feb 18, 2021
@hughhhh hughhhh deleted the hugh/overwrite-ds branch February 18, 2021 02:12
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.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/S 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sql lab] Overwrite dataset dropdown does not show available datasets
4 participants