-
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
[Console] Fix date format autocomplete suggestions #76881
[Console] Fix date format autocomplete suggestions #76881
Conversation
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
@elasticmachine merge upstream |
Testing this. |
Hi, @jloleysens. I went through the whole list several times and I couldn't find |
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.
Please see previous comment.
I also noticed that the options are not in alphabetical order. I think that makes for a much better user experience. |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@cuff-links I believe I addressed your feedback. Great suggestion regarding alphabetical ordering! |
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.
LGTM. Tested.
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
* fix date format autocomplete suggestions * add missing completion and sort alphabetically Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* fix date format autocomplete suggestions * add missing completion and sort alphabetically Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@jloleysens This PR makes the suggestions for
Above will result in an "IllegalArgumentException" on the ES side and the correct syntax should be as the follows:
This is also evident in the screenshot linked in the previous comment. It was correct in v7.9, but broken for 7.10 and 7.11. (didn't test for 7.12, but the issue should exist as well given there is no change to the file). Any chance to fix it for 7.13? Thanks! |
Summary
Ensure Console suggests all options for
properties.format
inside a mappings object per https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html