You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/03/23 22:44:30 UTC

[GitHub] [superset] ktmud opened a new pull request #13758: feat(explore): adhoc column formatting for Table chart

ktmud opened a new pull request #13758:
URL: https://github.com/apache/superset/pull/13758


   ### SUMMARY
   
   Add ad-hoc per-column formatting to table chart so users can change things like column width and d3 format after querying. 
   
   Most logics are built in `superset-ui`, with this PR: https://github.com/apache-superset/superset-ui/pull/1019
   
   The only change in `superset-frontend` is to pass chart state to controls.
   
   Closes #10729 .
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] github-actions[bot] commented on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-812352826


   @ktmud Ephemeral environment creation is currently limited to committers.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9156f089ffb96fe765d67766cc015cf3d7df2faa?el=desc) (9156f08) will **decrease** coverage by `0.71%`.
   > The diff coverage is `75.00%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head 840ffb5. Consider uploading reports for the commit 840ffb5 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   77.83%   77.11%   -0.72%     
   ==========================================
     Files         934      936       +2     
     Lines       47320    47302      -18     
     Branches     5913     5917       +4     
   ==========================================
   - Hits        36831    36478     -353     
   - Misses      10346    10674     +328     
   - Partials      143      150       +7     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.69% <66.66%> (-2.35%)` | :arrow_down: |
   | javascript | `63.70% <75.00%> (-0.93%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `95.57% <75.00%> (-1.70%)` | :arrow_down: |
   | [...et-frontend/src/components/CertifiedIcon/index.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2VydGlmaWVkSWNvbi9pbmRleC50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...tend/src/visualizations/FilterBox/controlPanel.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3Zpc3VhbGl6YXRpb25zL0ZpbHRlckJveC9jb250cm9sUGFuZWwuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CustomFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0N1c3RvbUZyYW1lLnRzeA==) | `16.00% <0.00%> (-76.00%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/AdvancedFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0FkdmFuY2VkRnJhbWUudHN4) | `26.92% <0.00%> (-73.08%)` | :arrow_down: |
   | [...erset-frontend/src/common/hooks/useUrlShortener.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbW1vbi9ob29rcy91c2VVcmxTaG9ydGVuZXIudHM=) | `50.00% <0.00%> (-42.86%)` | :arrow_down: |
   | [...teFilterControl/components/DateFunctionTooltip.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0RhdGVGdW5jdGlvblRvb2x0aXAudHN4) | `58.33% <0.00%> (-41.67%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CommonFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NvbW1vbkZyYW1lLnRzeA==) | `41.66% <0.00%> (-41.67%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `59.25% <0.00%> (-40.75%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/CalendarFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NhbGVuZGFyRnJhbWUudHN4) | `46.15% <0.00%> (-38.47%)` | :arrow_down: |
   | ... and [61 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [73a2cc3...840ffb5](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9d0bb3a3ba38c2289d77e87dfe572c57c51ef7c7?el=desc) (9d0bb3a) will **increase** coverage by `0.33%`.
   > The diff coverage is `80.95%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head d95514d. Consider uploading reports for the commit d95514d to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   + Coverage   76.78%   77.11%   +0.33%     
   ==========================================
     Files         935      936       +1     
     Lines       47292    47302      +10     
     Branches     5895     5917      +22     
   ==========================================
   + Hits        36311    36478     +167     
   + Misses      10824    10674     -150     
   + Partials      157      150       -7     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.69% <64.70%> (+1.38%)` | :arrow_up: |
   | javascript | `63.70% <78.12%> (-0.01%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...frontend/src/components/Checkbox/CheckboxIcons.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2hlY2tib3gvQ2hlY2tib3hJY29ucy50c3g=) | `85.71% <ø> (ø)` | |
   | [...ontend/src/components/URLShortLinkButton/index.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvVVJMU2hvcnRMaW5rQnV0dG9uL2luZGV4LmpzeA==) | `100.00% <ø> (ø)` | |
   | [...src/dashboard/components/filterscope/treeIcons.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2ZpbHRlcnNjb3BlL3RyZWVJY29ucy5qc3g=) | `100.00% <ø> (ø)` | |
   | [...rontend/src/explore/components/EmbedCodeButton.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9FbWJlZENvZGVCdXR0b24uanN4) | `80.76% <ø> (ø)` | |
   | [...ore/components/controls/AnnotationLayerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Bbm5vdGF0aW9uTGF5ZXJDb250cm9sLmpzeA==) | `82.85% <ø> (+17.14%)` | :arrow_up: |
   | [...explore/components/controls/ColorPickerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Db2xvclBpY2tlckNvbnRyb2wuanN4) | `85.00% <ø> (ø)` | |
   | [...plore/components/controls/FilterBoxItemControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9GaWx0ZXJCb3hJdGVtQ29udHJvbC5qc3g=) | `73.58% <ø> (ø)` | |
   | [...re/components/controls/TimeSeriesColumnControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9UaW1lU2VyaWVzQ29sdW1uQ29udHJvbC5qc3g=) | `57.40% <ø> (ø)` | |
   | [...rc/explore/components/controls/ViewportControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9WaWV3cG9ydENvbnRyb2wuanN4) | `82.60% <ø> (ø)` | |
   | [superset-frontend/src/views/CRUD/alert/types.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3ZpZXdzL0NSVUQvYWxlcnQvdHlwZXMudHM=) | `100.00% <ø> (ø)` | |
   | ... and [72 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [3c4591e...d95514d](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (6b11461) into [master](https://codecov.io/gh/apache/superset/commit/47890743091eabe3ae22c1b46329d548fec592fa?el=desc) (4789074) will **increase** coverage by `0.00%`.
   > The diff coverage is `83.33%`.
   
   > :exclamation: Current head 6b11461 differs from pull request most recent head 73166b5. Consider uploading reports for the commit 73166b5 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@           Coverage Diff           @@
   ##           master   #13758   +/-   ##
   =======================================
     Coverage   78.09%   78.09%           
   =======================================
     Files         934      934           
     Lines       47345    47395   +50     
     Branches     5937     5964   +27     
   =======================================
   + Hits        36972    37013   +41     
   - Misses      10229    10238    +9     
     Partials      144      144           
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.03% <80.00%> (+<0.01%)` | :arrow_up: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...tend/src/SqlLab/components/ScheduleQueryButton.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NjaGVkdWxlUXVlcnlCdXR0b24udHN4) | `28.12% <ø> (ø)` | |
   | [...perset-frontend/src/explore/components/Control.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sLnRzeA==) | `92.00% <50.00%> (-3.46%)` | :arrow_down: |
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `92.99% <100.00%> (-4.28%)` | :arrow_down: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [4789074...73166b5](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ktmud merged pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
ktmud merged pull request #13758:
URL: https://github.com/apache/superset/pull/13758


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ktmud commented on a change in pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
ktmud commented on a change in pull request #13758:
URL: https://github.com/apache/superset/pull/13758#discussion_r604232492



##########
File path: superset-frontend/src/explore/components/ControlPanelsContainer.tsx
##########
@@ -128,17 +128,23 @@ export class ControlPanelsContainer extends React.Component<ControlPanelsContain
   }
 
   renderControl({ name, config }: CustomControlItem) {
-    const { actions, controls } = this.props;
+    const { actions, controls, chart, exploreState } = this.props;
     const { visibility } = config;
 
     // If the control item is not an object, we have to look up the control data from
     // the centralized controls file.
     // When it is an object we read control data straight from `config` instead
-    const controlData = {
+    let controlData = {
       ...config,
       ...controls[name],
       name,
     };

Review comment:
       Done




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9156f089ffb96fe765d67766cc015cf3d7df2faa?el=desc) (9156f08) will **decrease** coverage by `0.71%`.
   > The diff coverage is `75.00%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head 95b2c8d. Consider uploading reports for the commit 95b2c8d to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   77.83%   77.11%   -0.72%     
   ==========================================
     Files         934      936       +2     
     Lines       47320    47302      -18     
     Branches     5913     5917       +4     
   ==========================================
   - Hits        36831    36478     -353     
   - Misses      10346    10674     +328     
   - Partials      143      150       +7     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.69% <66.66%> (-2.35%)` | :arrow_down: |
   | javascript | `63.70% <75.00%> (-0.93%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `95.57% <75.00%> (-1.70%)` | :arrow_down: |
   | [...et-frontend/src/components/CertifiedIcon/index.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2VydGlmaWVkSWNvbi9pbmRleC50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...tend/src/visualizations/FilterBox/controlPanel.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3Zpc3VhbGl6YXRpb25zL0ZpbHRlckJveC9jb250cm9sUGFuZWwuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CustomFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0N1c3RvbUZyYW1lLnRzeA==) | `16.00% <0.00%> (-76.00%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/AdvancedFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0FkdmFuY2VkRnJhbWUudHN4) | `26.92% <0.00%> (-73.08%)` | :arrow_down: |
   | [...erset-frontend/src/common/hooks/useUrlShortener.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbW1vbi9ob29rcy91c2VVcmxTaG9ydGVuZXIudHM=) | `50.00% <0.00%> (-42.86%)` | :arrow_down: |
   | [...teFilterControl/components/DateFunctionTooltip.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0RhdGVGdW5jdGlvblRvb2x0aXAudHN4) | `58.33% <0.00%> (-41.67%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CommonFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NvbW1vbkZyYW1lLnRzeA==) | `41.66% <0.00%> (-41.67%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `59.25% <0.00%> (-40.75%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/CalendarFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NhbGVuZGFyRnJhbWUudHN4) | `46.15% <0.00%> (-38.47%)` | :arrow_down: |
   | ... and [61 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [73a2cc3...95b2c8d](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (05dcab2) into [master](https://codecov.io/gh/apache/superset/commit/762101018b64e8d9edd4ad0a28363b96b3c9e9e5?el=desc) (7621010) will **decrease** coverage by `0.15%`.
   > The diff coverage is `83.33%`.
   
   > :exclamation: Current head 05dcab2 differs from pull request most recent head 73166b5. Consider uploading reports for the commit 73166b5 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   78.25%   78.09%   -0.16%     
   ==========================================
     Files         934      934              
     Lines       47320    47325       +5     
     Branches     5937     5947      +10     
   ==========================================
   - Hits        37028    36958      -70     
   - Misses      10148    10215      +67     
   - Partials      144      152       +8     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `54.62% <80.00%> (-1.41%)` | :arrow_down: |
   | javascript | `66.28% <66.66%> (-0.01%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...tend/src/SqlLab/components/ScheduleQueryButton.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NjaGVkdWxlUXVlcnlCdXR0b24udHN4) | `28.12% <ø> (ø)` | |
   | [...perset-frontend/src/explore/components/Control.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sLnRzeA==) | `91.66% <50.00%> (-3.79%)` | :arrow_down: |
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `97.34% <100.00%> (+0.07%)` | :arrow_up: |
   | [...t-frontend/src/dashboard/containers/SliceAdder.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL1NsaWNlQWRkZXIuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...c/dashboard/components/dnd/AddSliceDragPreview.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2RuZC9BZGRTbGljZURyYWdQcmV2aWV3LmpzeA==) | `35.71% <0.00%> (-64.29%)` | :arrow_down: |
   | [...et-frontend/src/dashboard/actions/sliceEntities.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9hY3Rpb25zL3NsaWNlRW50aXRpZXMuanM=) | `12.90% <0.00%> (-58.07%)` | :arrow_down: |
   | [...frontend/src/dashboard/components/AddSliceCard.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0FkZFNsaWNlQ2FyZC5qc3g=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [...set-frontend/src/dashboard/reducers/datasources.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXRhc291cmNlcy5qcw==) | `57.14% <0.00%> (-42.86%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/actions/datasources.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9hY3Rpb25zL2RhdGFzb3VyY2VzLmpz) | `15.78% <0.00%> (-42.11%)` | :arrow_down: |
   | [...rontend/src/dashboard/components/dnd/handleDrop.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2RuZC9oYW5kbGVEcm9wLmpz) | `65.38% <0.00%> (-30.77%)` | :arrow_down: |
   | ... and [20 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [4789074...73166b5](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] etr2460 commented on a change in pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
etr2460 commented on a change in pull request #13758:
URL: https://github.com/apache/superset/pull/13758#discussion_r603674164



##########
File path: superset-frontend/src/explore/components/ControlPanelsContainer.tsx
##########
@@ -128,17 +128,23 @@ export class ControlPanelsContainer extends React.Component<ControlPanelsContain
   }
 
   renderControl({ name, config }: CustomControlItem) {
-    const { actions, controls } = this.props;
+    const { actions, controls, chart, exploreState } = this.props;
     const { visibility } = config;
 
     // If the control item is not an object, we have to look up the control data from
     // the centralized controls file.
     // When it is an object we read control data straight from `config` instead
-    const controlData = {
+    let controlData = {
       ...config,
       ...controls[name],
       name,
     };

Review comment:
       actually, why not just
   
   ```suggestion
       const controlData = {
         ...config,
         ...controls[name],
         ...(config.mapStateToProps?.length === 3 ? config.mapStateToProps(exploreState, controls[name], chart) : {}),
         name,
       };
   ```




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924






-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9d0bb3a3ba38c2289d77e87dfe572c57c51ef7c7?el=desc) (9d0bb3a) will **increase** coverage by `0.31%`.
   > The diff coverage is `74.35%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head d95514d. Consider uploading reports for the commit d95514d to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   + Coverage   76.78%   77.09%   +0.31%     
   ==========================================
     Files         935      938       +3     
     Lines       47292    47420     +128     
     Branches     5895     5968      +73     
   ==========================================
   + Hits        36311    36560     +249     
   + Misses      10824    10711     -113     
   + Partials      157      149       -8     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.69% <64.70%> (+1.38%)` | :arrow_up: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...frontend/src/components/Checkbox/CheckboxIcons.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2hlY2tib3gvQ2hlY2tib3hJY29ucy50c3g=) | `83.33% <ø> (ø)` | |
   | [...ontend/src/components/URLShortLinkButton/index.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvVVJMU2hvcnRMaW5rQnV0dG9uL2luZGV4LmpzeA==) | `100.00% <ø> (ø)` | |
   | [...src/dashboard/components/filterscope/treeIcons.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2ZpbHRlcnNjb3BlL3RyZWVJY29ucy5qc3g=) | `100.00% <ø> (ø)` | |
   | [...rontend/src/explore/components/EmbedCodeButton.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9FbWJlZENvZGVCdXR0b24uanN4) | `80.76% <ø> (ø)` | |
   | [...ore/components/controls/AnnotationLayerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Bbm5vdGF0aW9uTGF5ZXJDb250cm9sLmpzeA==) | `82.85% <ø> (+17.14%)` | :arrow_up: |
   | [...explore/components/controls/ColorPickerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Db2xvclBpY2tlckNvbnRyb2wuanN4) | `85.00% <ø> (ø)` | |
   | [...plore/components/controls/FilterBoxItemControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9GaWx0ZXJCb3hJdGVtQ29udHJvbC5qc3g=) | `73.58% <ø> (ø)` | |
   | [...re/components/controls/TimeSeriesColumnControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9UaW1lU2VyaWVzQ29sdW1uQ29udHJvbC5qc3g=) | `57.40% <ø> (ø)` | |
   | [...rc/explore/components/controls/ViewportControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9WaWV3cG9ydENvbnRyb2wuanN4) | `82.60% <ø> (ø)` | |
   | [superset-frontend/src/views/CRUD/alert/types.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3ZpZXdzL0NSVUQvYWxlcnQvdHlwZXMudHM=) | `100.00% <ø> (ø)` | |
   | ... and [79 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [3c4591e...d95514d](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (6b11461) into [master](https://codecov.io/gh/apache/superset/commit/47890743091eabe3ae22c1b46329d548fec592fa?el=desc) (4789074) will **decrease** coverage by `0.37%`.
   > The diff coverage is `83.33%`.
   
   > :exclamation: Current head 6b11461 differs from pull request most recent head 73166b5. Consider uploading reports for the commit 73166b5 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   78.09%   77.71%   -0.38%     
   ==========================================
     Files         934      934              
     Lines       47345    47395      +50     
     Branches     5937     5964      +27     
   ==========================================
   - Hits        36972    36832     -140     
   - Misses      10229    10405     +176     
   - Partials      144      158      +14     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.79% <80.00%> (-2.24%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...tend/src/SqlLab/components/ScheduleQueryButton.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NjaGVkdWxlUXVlcnlCdXR0b24udHN4) | `28.12% <ø> (ø)` | |
   | [...perset-frontend/src/explore/components/Control.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sLnRzeA==) | `92.00% <50.00%> (-3.46%)` | :arrow_down: |
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `92.99% <100.00%> (-4.28%)` | :arrow_down: |
   | [...t-frontend/src/dashboard/containers/SliceAdder.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL1NsaWNlQWRkZXIuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...c/dashboard/components/dnd/AddSliceDragPreview.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2RuZC9BZGRTbGljZURyYWdQcmV2aWV3LmpzeA==) | `35.71% <0.00%> (-64.29%)` | :arrow_down: |
   | [...et-frontend/src/dashboard/actions/sliceEntities.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9hY3Rpb25zL3NsaWNlRW50aXRpZXMuanM=) | `12.90% <0.00%> (-58.07%)` | :arrow_down: |
   | [...frontend/src/dashboard/components/AddSliceCard.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0FkZFNsaWNlQ2FyZC5qc3g=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [...set-frontend/src/dashboard/reducers/datasources.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXRhc291cmNlcy5qcw==) | `57.14% <0.00%> (-42.86%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/actions/datasources.js](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9hY3Rpb25zL2RhdGFzb3VyY2VzLmpz) | `15.78% <0.00%> (-42.11%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CommonFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NvbW1vbkZyYW1lLnRzeA==) | `41.66% <0.00%> (-41.67%)` | :arrow_down: |
   | ... and [23 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [4789074...73166b5](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] commented on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9d0bb3a3ba38c2289d77e87dfe572c57c51ef7c7?el=desc) (9d0bb3a) will **decrease** coverage by `1.09%`.
   > The diff coverage is `67.56%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head d95514d. Consider uploading reports for the commit d95514d to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   76.78%   75.68%   -1.10%     
   ==========================================
     Files         935      937       +2     
     Lines       47292    47337      +45     
     Branches     5895     5922      +27     
   ==========================================
   - Hits        36311    35827     -484     
   - Misses      10824    11329     +505     
   - Partials      157      181      +24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `47.10% <70.00%> (-5.20%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...frontend/src/components/Checkbox/CheckboxIcons.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2hlY2tib3gvQ2hlY2tib3hJY29ucy50c3g=) | `83.33% <ø> (ø)` | |
   | [...ontend/src/components/URLShortLinkButton/index.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvVVJMU2hvcnRMaW5rQnV0dG9uL2luZGV4LmpzeA==) | `100.00% <ø> (ø)` | |
   | [...src/dashboard/components/filterscope/treeIcons.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2ZpbHRlcnNjb3BlL3RyZWVJY29ucy5qc3g=) | `100.00% <ø> (ø)` | |
   | [...rontend/src/explore/components/EmbedCodeButton.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9FbWJlZENvZGVCdXR0b24uanN4) | `80.76% <ø> (ø)` | |
   | [...ore/components/controls/AnnotationLayerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Bbm5vdGF0aW9uTGF5ZXJDb250cm9sLmpzeA==) | `82.85% <ø> (+17.14%)` | :arrow_up: |
   | [...explore/components/controls/ColorPickerControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Db2xvclBpY2tlckNvbnRyb2wuanN4) | `85.00% <ø> (ø)` | |
   | [...plore/components/controls/FilterBoxItemControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9GaWx0ZXJCb3hJdGVtQ29udHJvbC5qc3g=) | `73.58% <ø> (ø)` | |
   | [...re/components/controls/TimeSeriesColumnControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9UaW1lU2VyaWVzQ29sdW1uQ29udHJvbC5qc3g=) | `57.40% <ø> (ø)` | |
   | [...rc/explore/components/controls/ViewportControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9WaWV3cG9ydENvbnRyb2wuanN4) | `82.60% <ø> (ø)` | |
   | [superset-frontend/src/views/CRUD/alert/types.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3ZpZXdzL0NSVUQvYWxlcnQvdHlwZXMudHM=) | `100.00% <ø> (ø)` | |
   | ... and [142 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [3c4591e...d95514d](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (05dcab2) into [master](https://codecov.io/gh/apache/superset/commit/9156f089ffb96fe765d67766cc015cf3d7df2faa?el=desc) (9156f08) will **increase** coverage by `0.10%`.
   > The diff coverage is `91.30%`.
   
   > :exclamation: Current head 05dcab2 differs from pull request most recent head 421335e. Consider uploading reports for the commit 421335e to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   + Coverage   77.83%   77.93%   +0.10%     
   ==========================================
     Files         934      938       +4     
     Lines       47320    47776     +456     
     Branches     5913     6087     +174     
   ==========================================
   + Hits        36831    37235     +404     
   - Misses      10346    10396      +50     
   - Partials      143      145       +2     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | javascript | `66.28% <90.47%> (+1.65%)` | :arrow_up: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...tend/src/SqlLab/components/ScheduleQueryButton.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NjaGVkdWxlUXVlcnlCdXR0b24udHN4) | `28.12% <ø> (ø)` | |
   | [...ontrols/AnnotationLayerControl/AnnotationLayer.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Bbm5vdGF0aW9uTGF5ZXJDb250cm9sL0Fubm90YXRpb25MYXllci5qc3g=) | `84.28% <ø> (ø)` | |
   | [...mponents/controls/AnnotationLayerControl/index.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9Bbm5vdGF0aW9uTGF5ZXJDb250cm9sL2luZGV4LmpzeA==) | `8.57% <ø> (ø)` | |
   | [...ponents/controls/DndColumnSelectControl/Option.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EbmRDb2x1bW5TZWxlY3RDb250cm9sL09wdGlvbi50c3g=) | `100.00% <ø> (ø)` | |
   | [.../src/explore/components/controls/SelectControl.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9TZWxlY3RDb250cm9sLmpzeA==) | `94.30% <ø> (+0.55%)` | :arrow_up: |
   | [.../explore/components/controls/TextControl/index.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9UZXh0Q29udHJvbC9pbmRleC50c3g=) | `87.50% <ø> (-0.88%)` | :arrow_down: |
   | [...perset-frontend/src/explore/components/Control.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sLnRzeA==) | `92.00% <50.00%> (-3.46%)` | :arrow_down: |
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `89.87% <80.00%> (-7.40%)` | :arrow_down: |
   | [...ontrols/DndColumnSelectControl/DndColumnSelect.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EbmRDb2x1bW5TZWxlY3RDb250cm9sL0RuZENvbHVtblNlbGVjdC50c3g=) | `58.06% <100.00%> (+35.48%)` | :arrow_up: |
   | [...ontrols/DndColumnSelectControl/DndFilterSelect.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EbmRDb2x1bW5TZWxlY3RDb250cm9sL0RuZEZpbHRlclNlbGVjdC50c3g=) | `30.15% <100.00%> (+20.91%)` | :arrow_up: |
   | ... and [20 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [a144249...421335e](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] etr2460 commented on a change in pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
etr2460 commented on a change in pull request #13758:
URL: https://github.com/apache/superset/pull/13758#discussion_r603672798



##########
File path: superset-frontend/src/explore/components/ControlPanelsContainer.tsx
##########
@@ -128,17 +128,23 @@ export class ControlPanelsContainer extends React.Component<ControlPanelsContain
   }
 
   renderControl({ name, config }: CustomControlItem) {
-    const { actions, controls } = this.props;
+    const { actions, controls, chart, exploreState } = this.props;
     const { visibility } = config;
 
     // If the control item is not an object, we have to look up the control data from
     // the centralized controls file.
     // When it is an object we read control data straight from `config` instead
-    const controlData = {
+    let controlData = {
       ...config,
       ...controls[name],
       name,
     };
+    if (config.mapStateToProps?.length === 3) {

Review comment:
       what does this mean? maybe a comment to show why it's necessary?




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ktmud commented on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
ktmud commented on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810604105


   It seems emotion's `css={{ ... }}` prop is not picked up when used inside a `node_modules` library. Will investigate and find a fix.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ktmud commented on a change in pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
ktmud commented on a change in pull request #13758:
URL: https://github.com/apache/superset/pull/13758#discussion_r603699708



##########
File path: superset-frontend/src/explore/components/ControlPanelsContainer.tsx
##########
@@ -128,17 +128,23 @@ export class ControlPanelsContainer extends React.Component<ControlPanelsContain
   }
 
   renderControl({ name, config }: CustomControlItem) {
-    const { actions, controls } = this.props;
+    const { actions, controls, chart, exploreState } = this.props;
     const { visibility } = config;
 
     // If the control item is not an object, we have to look up the control data from
     // the centralized controls file.
     // When it is an object we read control data straight from `config` instead
-    const controlData = {
+    let controlData = {
       ...config,
       ...controls[name],
       name,
     };
+    if (config.mapStateToProps?.length === 3) {

Review comment:
       I updated the comments




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (97db4c2) into [master](https://codecov.io/gh/apache/superset/commit/9156f089ffb96fe765d67766cc015cf3d7df2faa?el=desc) (9156f08) will **decrease** coverage by `0.71%`.
   > The diff coverage is `75.00%`.
   
   > :exclamation: Current head 97db4c2 differs from pull request most recent head 421335e. Consider uploading reports for the commit 421335e to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13758      +/-   ##
   ==========================================
   - Coverage   77.83%   77.11%   -0.72%     
   ==========================================
     Files         934      936       +2     
     Lines       47320    47302      -18     
     Branches     5913     5917       +4     
   ==========================================
   - Hits        36831    36478     -353     
   - Misses      10346    10674     +328     
   - Partials      143      150       +7     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `53.69% <66.66%> (-2.35%)` | :arrow_down: |
   | javascript | `63.70% <75.00%> (-0.93%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `95.57% <75.00%> (-1.70%)` | :arrow_down: |
   | [...et-frontend/src/components/CertifiedIcon/index.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ2VydGlmaWVkSWNvbi9pbmRleC50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...tend/src/visualizations/FilterBox/controlPanel.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3Zpc3VhbGl6YXRpb25zL0ZpbHRlckJveC9jb250cm9sUGFuZWwuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CustomFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0N1c3RvbUZyYW1lLnRzeA==) | `16.00% <0.00%> (-76.00%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/AdvancedFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0FkdmFuY2VkRnJhbWUudHN4) | `26.92% <0.00%> (-73.08%)` | :arrow_down: |
   | [...erset-frontend/src/common/hooks/useUrlShortener.ts](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbW1vbi9ob29rcy91c2VVcmxTaG9ydGVuZXIudHM=) | `50.00% <0.00%> (-42.86%)` | :arrow_down: |
   | [...teFilterControl/components/DateFunctionTooltip.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0RhdGVGdW5jdGlvblRvb2x0aXAudHN4) | `58.33% <0.00%> (-41.67%)` | :arrow_down: |
   | [...trols/DateFilterControl/components/CommonFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NvbW1vbkZyYW1lLnRzeA==) | `41.66% <0.00%> (-41.67%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `59.25% <0.00%> (-40.75%)` | :arrow_down: |
   | [...ols/DateFilterControl/components/CalendarFrame.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9jb250cm9scy9EYXRlRmlsdGVyQ29udHJvbC9jb21wb25lbnRzL0NhbGVuZGFyRnJhbWUudHN4) | `46.15% <0.00%> (-38.47%)` | :arrow_down: |
   | ... and [61 more](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [a144249...421335e](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-810737924


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=h1) Report
   > Merging [#13758](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=desc) (6b11461) into [master](https://codecov.io/gh/apache/superset/commit/47890743091eabe3ae22c1b46329d548fec592fa?el=desc) (4789074) will **increase** coverage by `0.00%`.
   > The diff coverage is `83.33%`.
   
   > :exclamation: Current head 6b11461 differs from pull request most recent head 73166b5. Consider uploading reports for the commit 73166b5 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13758/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree)
   
   ```diff
   @@           Coverage Diff           @@
   ##           master   #13758   +/-   ##
   =======================================
     Coverage   78.09%   78.09%           
   =======================================
     Files         934      934           
     Lines       47345    47350    +5     
     Branches     5937     5945    +8     
   =======================================
   + Hits        36972    36976    +4     
   - Misses      10229    10230    +1     
     Partials      144      144           
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.03% <80.00%> (+<0.01%)` | :arrow_up: |
   | javascript | `66.28% <66.66%> (-0.01%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...tend/src/SqlLab/components/ScheduleQueryButton.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NjaGVkdWxlUXVlcnlCdXR0b24udHN4) | `28.12% <ø> (ø)` | |
   | [...perset-frontend/src/explore/components/Control.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sLnRzeA==) | `91.66% <50.00%> (-3.79%)` | :arrow_down: |
   | [.../src/explore/components/ControlPanelsContainer.tsx](https://codecov.io/gh/apache/superset/pull/13758/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Db250cm9sUGFuZWxzQ29udGFpbmVyLnRzeA==) | `97.34% <100.00%> (+0.07%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=footer). Last update [4789074...73166b5](https://codecov.io/gh/apache/superset/pull/13758?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ktmud commented on pull request #13758: feat(explore): adhoc column formatting for Table chart

Posted by GitBox <gi...@apache.org>.
ktmud commented on pull request #13758:
URL: https://github.com/apache/superset/pull/13758#issuecomment-812347955


   /testenv up


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org