-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add custom formatting for Date Nanos Format #42445
Add custom formatting for Date Nanos Format #42445
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins test this |
💚 Build Succeeded |
Pinging @elastic/kibana-app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, tested it locally in Chrome, works. We kindly would request some changes to the Samples table, it would be neat if it offered some date_nanos
content. Currently you're extending the DateFormatEditor
. Would you be so kind to adapt it by copying the DateFormatEditor
component code (remove extending). Then it would be easy to implement some date_nanos
related changes. That would be awesome, thx a lot for you effort!
e40aa82
to
34c4e9d
Compare
… code for date nanos
@kertal duplicated the code from
|
You can disregard my last comment, I figured it out. I'll add samples and try to add the tests as well. |
Ready for review again |
jest, test this |
💚 Build Succeeded |
I will review this PR as soon as a can, looks very good at the first sight, thank you for you patiences |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, tested locally in Chrome
Nice work! thanks a lot! i will update the PR, since it's outdated, do IE11 check, just to be sure, and then I'll merge it |
…ustom-formatting-date-nanos
* Add custom formatting for Date Nanos format * Add date nanoseconds samples * Add jest test for DateNanosFormatEditor
…p-metrics-selectall * 'master' of github.com:elastic/kibana: (306 commits) [ML] Adding job overrides to the module setup endpoint (elastic#42946) [APM] Fix missing RUM url (elastic#42940) close socket timeouts without message (elastic#42456) Upgrade elastic/charts to 8.1.6 (elastic#42518) [ML] Delete old AngularJS data visualizer and refactor folders (elastic#42962) Add custom formatting for Date Nanos Format (elastic#42445) [Vega] Shim new platform - vega_fn.js -> vega_fn.js , use ExpressionFunction (elastic#42582) add socket.getPeerCertificate to KibanaRequest (elastic#42929) [Automation] ISTANBUL PRESET PATH is not working fine with constructor(private foo) (elastic#42683) [ML] Data frames: Updated stats structure. (elastic#42923) [Code] fixed the issue that the repository can not be deleted in some cases. (elastic#42841) [kbn-es] Support for passing regex value to ES (elastic#42651) Connect to Elasticsearch via SSL when starting kibana with `--ssl` (elastic#42840) Add Elasticsearch SSL support for integration tests (elastic#41765) Fix duplicate fetch in Visualize (elastic#41204) [DOCS] TSVB and Timelion clean up (elastic#42953) [Maps] [File upload] Fix maps geojson upload hanging on index step (elastic#42623) [APM] Use rounded bucket sizes for transaction distribution (elastic#42830) [yarn.lock] consistent resolve domain (elastic#42969) [Uptime] [Test] Repurpose unit test assertions to avoid flakiness (elastic#40650) ...
IE11 said yes, so welcome to Kibana 7.4 @bartvanremortel! 👍 |
Summary
Fixes: #38831
Adds custom formatting (FieldFormatEditor) for Date Nanos by extending the Date's field formatter and mounting it
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
- [ ] This was checked for breaking API changes and was labeled appropriately