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

[Lens] Color options for string cells in tables #179322

Closed
Tracked by #167506
teresaalvarezsoler opened this issue Mar 25, 2024 · 6 comments · Fixed by #189895
Closed
Tracked by #167506

[Lens] Color options for string cells in tables #179322

teresaalvarezsoler opened this issue Mar 25, 2024 · 6 comments · Fixed by #189895
Assignees
Labels
Feature:Data Table Data table visualization feature Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@teresaalvarezsoler
Copy link

teresaalvarezsoler commented Mar 25, 2024

Describe the feature:
Users would like to have the ability to add colors to text/cells (non-numeric) in Lens Tables based on categorical values. This is only possible now for numerical values.

Describe a specific use case for the feature:
Some use cases include setting colours for scales (high, med, low) or differentiating elements by colour (e.g. different cluster names, services, hosts, etc.)

In scope
keyword fields, IP addresses, timestamps

Out of scope
Intervals

@teresaalvarezsoler teresaalvarezsoler added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Mar 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@stratoula stratoula added Feature:Lens and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Mar 25, 2024
@markov00 markov00 added the Feature:Data Table Data table visualization feature label Mar 27, 2024
@teresaalvarezsoler teresaalvarezsoler added loe:medium Medium Level of Effort and removed loe:medium Medium Level of Effort labels May 15, 2024
@teresaalvarezsoler teresaalvarezsoler changed the title [Lens] Color options for non-numeric cells in tables [Lens] Color options for string cells in tables May 15, 2024
@teresaalvarezsoler teresaalvarezsoler added the loe:large Large Level of Effort label May 15, 2024
@MichaelMarcialis
Copy link
Contributor

The latest design mockups for this issue have been crafted and are ready for handoff to engineering. Some key screenshots from the mockups can be found below. Please view the full Figma document for all mockups and developer notes.


Image

Image

Image

@IanLee1521
Copy link

@MichaelMarcialis - you say intervals are out of scope, but just out of curiosity, what about something like regex matches? something like *.acmecorp.example ?

For IP Addresses, would we be able to match a full string IP? not a CIDR, but a literal 1.2.3.4 ip address for example

@teresaalvarezsoler
Copy link
Author

Hi @IanLee1521, thanks for your questions. After doing a bit more research to get this ticket dev ready, we found it should be easy to support the values for IP fields. I'm changing the ticket description.

Regarding the support of regex for color assignment, it makes sense but it's a higher effort feature. I'm adding this request to the meta issue for Color mappings #167506 so we can discuss priorization with the team in the future.

@IanLee1521
Copy link

Sounds good, thank you @teresaalvarezsoler !

@IanLee1521
Copy link

This is awesome, thank you!!

@teresaalvarezsoler teresaalvarezsoler added loe:medium Medium Level of Effort and removed loe:large Large Level of Effort labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Table Data table visualization feature Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants