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

feat: add tableselector to dataset creation page #21075

Merged
merged 34 commits into from
Sep 7, 2022

Conversation

pkdotson
Copy link
Member

@pkdotson pkdotson commented Aug 12, 2022

SUMMARY

This pr adds the database selector to the leftpanel for the new dataset creation page.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

after

Screen Shot 2022-08-24 at 4 05 16 PM

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@pkdotson pkdotson changed the title feat(WIP): add tableselector to dataset creation page feat: add tableselector to dataset creation page Aug 24, 2022
@pkdotson pkdotson marked this pull request as ready for review August 24, 2022 23:06
Copy link
Member

@lyndsiWilliams lyndsiWilliams left a comment

Choose a reason for hiding this comment

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

Found a few nits, mostly theming/TS 😁

@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@@ -63,14 +64,22 @@ export function datasetReducer(
export default function AddDataset() {
// this is commented out for now, but can be commented in as the component
Copy link
Member

Choose a reason for hiding this comment

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

we can delete this comment now that we are actually using the reducer :)

Copy link
Member

Choose a reason for hiding this comment

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

+1 on this, remove the "this is commented out for now..." comment

@AAfghahi
Copy link
Member

This looks really nice. Put in a couple of thoughts, one question though re: spacing. The padding in the table section looks a bit wonky, is that what it was on the figma?

pkdotson and others added 7 commits August 25, 2022 15:46
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
…anel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

4 similar comments
@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@github-actions
Copy link
Contributor

Storybook has completed and can be viewed at

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #21075 (8a92b3e) into master (286474c) will increase coverage by 0.02%.
The diff coverage is 84.74%.

@@            Coverage Diff             @@
##           master   #21075      +/-   ##
==========================================
+ Coverage   66.58%   66.60%   +0.02%     
==========================================
  Files        1790     1790              
  Lines       68416    68478      +62     
  Branches     7287     7298      +11     
==========================================
+ Hits        45554    45610      +56     
- Misses      20986    20990       +4     
- Partials     1876     1878       +2     
Flag Coverage Δ
javascript 52.78% <84.74%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...s/CRUD/data/dataset/AddDataset/LeftPanel/index.tsx 83.92% <83.63%> (-16.08%) ⬇️
...et-frontend/src/components/TableSelector/index.tsx 76.00% <100.00%> (ø)
...d/src/views/CRUD/data/dataset/AddDataset/index.tsx 33.33% <100.00%> (+22.22%) ⬆️
...trols/DateFilterControl/components/CustomFrame.tsx 70.96% <0.00%> (-1.45%) ⬇️
...ents/controls/DateFilterControl/utils/constants.ts 100.00% <0.00%> (ø)
...taTablesPane/components/ResultsPaneOnDashboard.tsx 100.00% <0.00%> (ø)
...frontend/src/components/DatabaseSelector/index.tsx 95.23% <0.00%> (+6.34%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AAfghahi
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@AAfghahi Ephemeral environment spinning up at http://52.32.56.113:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@lyndsiWilliams lyndsiWilliams left a comment

Choose a reason for hiding this comment

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

I found a few more things, let me know if you have any questions! 😁

@@ -63,14 +64,22 @@ export function datasetReducer(
export default function AddDataset() {
// this is commented out for now, but can be commented in as the component
Copy link
Member

Choose a reason for hiding this comment

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

+1 on this, remove the "this is commented out for now..." comment

@pull-request-size pull-request-size bot added size/XL and removed size/L labels Sep 1, 2022
@yousoph
Copy link
Member

yousoph commented Sep 1, 2022

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2022

@yousoph Ephemeral environment spinning up at http://54.218.74.130:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

@pkdotson pkdotson merged commit 8c2719b into apache:master Sep 7, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

Ephemeral environment shutdown and build artifacts deleted.

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 labels Mar 13, 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/XL 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants