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: update sql toolbar styling #12164

Merged

Conversation

eschutho
Copy link
Member

SUMMARY

Styling of the toolbar according to designs

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

NEW:
_DEV__Superset

TEST PLAN

visual testing only (other test should still pass)

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-io
Copy link

codecov-io commented Dec 21, 2020

Codecov Report

Merging #12164 (d259c2d) into feat-sql-toolbar (9a88223) will decrease coverage by 0.86%.
The diff coverage is 57.62%.

Impacted file tree graph

@@                 Coverage Diff                  @@
##           feat-sql-toolbar   #12164      +/-   ##
====================================================
- Coverage             64.13%   63.27%   -0.87%     
====================================================
  Files                   484      971     +487     
  Lines                 31888    48118   +16230     
  Branches                  0     4794    +4794     
====================================================
+ Hits                  20451    30446    +9995     
- Misses                11437    17479    +6042     
- Partials                  0      193     +193     
Flag Coverage Δ
javascript 61.77% <57.62%> (?)
python 64.20% <ø> (+0.07%) ⬆️

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

Impacted Files Coverage Δ
superset-frontend/src/components/Timer.tsx 95.83% <ø> (ø)
...perset-frontend/src/common/components/Dropdown.tsx 62.16% <22.22%> (ø)
...end/src/SqlLab/components/RunQueryActionButton.tsx 68.42% <62.06%> (ø)
...erset-frontend/src/SqlLab/components/SqlEditor.jsx 53.62% <100.00%> (ø)
superset-frontend/src/common/components/index.tsx 100.00% <100.00%> (ø)
superset/reports/commands/alert.py 86.66% <0.00%> (-6.67%) ⬇️
superset/views/chart/views.py 88.09% <0.00%> (-5.56%) ⬇️
superset/viz.py 59.86% <0.00%> (-4.64%) ⬇️
superset/reports/commands/update.py 89.55% <0.00%> (-2.50%) ⬇️
superset/db_engine_specs/presto.py 82.40% <0.00%> (-2.44%) ⬇️
... and 507 more

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 9a88223...d259c2d. Read the comment docs.

@eschutho eschutho changed the title Elizabeth/sql toolbar styling feat: update sql toolbar styling Dec 21, 2020
@eschutho eschutho force-pushed the elizabeth/sqlToolbar-styling branch from f162e54 to a36940c Compare December 22, 2020 00:47
@eschutho eschutho force-pushed the elizabeth/sqlToolbar-styling branch from a36940c to 6cb010e Compare December 22, 2020 00:52
@@ -20,7 +20,7 @@ import React from 'react';
import { styled } from '@superset-ui/core';
// eslint-disable-next-line no-restricted-imports
import { Menu as AntdMenu, Dropdown, Skeleton } from 'antd';
import { DropDownProps } from 'antd/lib/dropdown';
import { DropDownProps as AnddDropdownProps } from 'antd/lib/dropdown';
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
import { DropDownProps as AnddDropdownProps } from 'antd/lib/dropdown';
import { DropDownProps as AntdDropdownProps } from 'antd/lib/dropdown';

<>
<i
className="fa fa-stop"
style={{ display: 'inline-block', marginRight: '10px' }}
Copy link
Member

Choose a reason for hiding this comment

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

can we set this as var above the build text vs inline

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, thanks. I meant to come back to that.

@eschutho
Copy link
Member Author

restarting cypress

@eschutho eschutho closed this Dec 22, 2020
@eschutho eschutho reopened this Dec 22, 2020
@hughhhh hughhhh self-requested a review December 22, 2020 21:54
@betodealmeida betodealmeida merged commit 0e64ceb into apache:feat-sql-toolbar Dec 22, 2020
eschutho added a commit to preset-io/superset that referenced this pull request Dec 23, 2020
* save quite

* working func for ctas and cvas

* fixing errors

* fix type errors

* fix things

* fix

* styling for toolbar

* adjust styling

Co-authored-by: hughhhh <hughmil3s@gmail.com>
@eschutho eschutho deleted the elizabeth/sqlToolbar-styling branch February 27, 2021 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants