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

[Field formatters] provide guidance to user on bit formatting #154188

Open
Tracked by #163011
drewdaemon opened this issue Mar 31, 2023 · 6 comments
Open
Tracked by #163011

[Field formatters] provide guidance to user on bit formatting #154188

drewdaemon opened this issue Mar 31, 2023 · 6 comments
Labels
Feature:FieldFormatters Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@drewdaemon
Copy link
Contributor

Describe the feature:
Right now, the way you specify a bit field format is by selecting bytes and creating a numeral.js pattern that specifies that what you really want is bits.

Screenshot 2023-03-27 at 18 06 56

Could we make this more clear by providing some copy around the input or some inline documentation?

@drewdaemon drewdaemon added Feature:FieldFormatters Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) labels Mar 31, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@drewdaemon
Copy link
Contributor Author

cc @dej611 @stratoula for visibility

@kertal
Copy link
Member

kertal commented Apr 11, 2023

Maybe there could be a section to provide helpful examples? I assume you were working on something, could you care what was your use case? An actual example is always helpful, thx!

@drewdaemon
Copy link
Contributor Author

@kertal due to some requests around bit formatting on the Lens metric, we were evaluating adding a bit field formatter. We decided that wasn't high priority since you can already use the bytes formatter with a custom numeral.js format pattern.

However, it seemed like this workaround wasn't very clear from our UI (i.e. the user might look for a bits field formatter in the list). That's why we created this issue.

@kertal
Copy link
Member

kertal commented Apr 12, 2023

Maybe we should relabel it into something like Bits & Bytes

@drewdaemon
Copy link
Contributor Author

Maybe we should relabel it into something like Bits & Bytes

Not a bad idea.

@KOTungseth KOTungseth added loe:small Small Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Apr 13, 2023
@kertal kertal added the Icebox label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:FieldFormatters Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
None yet
Development

No branches or pull requests

4 participants