You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "justinpark (via GitHub)" <gi...@apache.org> on 2024/02/06 00:26:01 UTC
[PR] fix(explore): allow free-form d3 format on custom column formatting [superset]
justinpark opened a new pull request, #27023:
URL: https://github.com/apache/superset/pull/27023
### SUMMARY
Similar to other D3 formats that accept free-form values for various customization of number formatters, this commit enables the use of free-form D3 format values in custom column formatters.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
https://github.com/apache/superset/assets/1392866/560b9341-83d3-4407-abc3-8cbe3167c384
After:
https://github.com/apache/superset/assets/1392866/4b4aa866-f68f-400d-9c3c-77c2ed54febf
### TESTING INSTRUCTIONS
Go to explore and add a number column
Select "Customize" and the column to change the value format
Type a custom D3 format like `.2s`
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] 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
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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
Re: [PR] fix(explore): allow free-form d3 format on custom column formatting [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on PR #27023:
URL: https://github.com/apache/superset/pull/27023#issuecomment-1949383537
I was just banging my head against this as a user this week! Thanks for this 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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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
Re: [PR] fix(explore): allow free-form d3 format on custom column formatting [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #27023:
URL: https://github.com/apache/superset/pull/27023#issuecomment-1928579287
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/27023?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Comparison is base [(`2cd7135`)](https://app.codecov.io/gh/apache/superset/commit/2cd7135a515b28e58d8240292efc16388fee0f17?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 67.17% compared to head [(`09ed2f7`)](https://app.codecov.io/gh/apache/superset/pull/27023?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 67.17%.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #27023 +/- ##
=======================================
Coverage 67.17% 67.17%
=======================================
Files 1899 1899
Lines 74354 74354
Branches 8266 8266
=======================================
Hits 49945 49945
Misses 22360 22360
Partials 2049 2049
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/27023/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [javascript](https://app.codecov.io/gh/apache/superset/pull/27023/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.92% <ø> (ø)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/superset/pull/27023?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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
Re: [PR] fix(explore): allow free-form d3 format on custom column formatting [superset]
Posted by "justinpark (via GitHub)" <gi...@apache.org>.
justinpark merged PR #27023:
URL: https://github.com/apache/superset/pull/27023
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
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