question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add color picker to change color

See original GitHub issue

Feature request

<Please note by far the quickest way to get a new feature is to file a Pull Request.> <We will consider your request but it may be closed,> <if it's something we're not actively planning to work on> <or it does not match our visison of this software.>

Description

As a color blind person, I want a color picker in the legend, at the metric color settings and at the edge metric settings so that I can choose other color to see the difference between red and green better and so that I can personalize the look of CodeCharta.

Acceptance criteria

Color metric settings:

  • for each color (currently green, yellow, red and orange) there is a clickable color icon and a description, what the color represent, under the color range.
  • if a user hover over a color icon, a brush icon appears
  • if a user select a color icon, a colorpicker opens on the left side (the image shows an example).
  • in the colorpicker the user can pick an color or set an hexadecimal color code to change the selected color.
  • the color will be updated in the legend once the user has chosen the color
  • function white positive buildings is deleted colorpicker_color metrics

Edge metric settings:

  • for each color there is a clickable color icon and a description, what the color represent, under the height slider.
  • if a user hover over a color icon, a brush icon appears
  • if a user select a color icon, a colorpicker opens on the left side (the image shows an example).
  • in the colorpicker the user can pick an color or set an hexadecimal color code to change the selected color.
  • the color will be updated in the legend once the user has chosen the color edgeMetricColor

Legend:

  • each color icon is a clickable icon
  • if a user hover over a color icon, a brush pen appears
  • if a user select a color icon, a colorpicker opens on the left side (the image shows an example).
  • in the colorpicker the user can pick an color or set an hexadecimal color code to change the selected color.
  • the color will be updated in the other color settings once the user has chosen the color legend_color

Assumptions & Exclusions

The image shows only an example of a colorpicker how it could look. If you find an already developed color picker, which fits to CodeCharta and your code, take it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Gaugi28commented, Dec 11, 2020

@shaman-apprentice I agree too, a good idea!

1reaction
BridgeARcommented, Dec 11, 2020

@shaman-apprentice I agree, especially with the new UI, since we allow to change the colors of the specific range.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize Photoshop color pickers and swatches
Change the Color Picker · Choose Edit > Preferences > General (Windows) or Photoshop > Preferences > General (Mac OS). · Choose a...
Read more >
<input type="color"> - HTML: HyperText Markup Language
<input> elements of type color provide a user interface element that lets a user specify a color, either by using a visual color...
Read more >
How to change background color using color picker without ...
You can add onchange event on your colorpicker so that your function will get called and then simply change your background color ....
Read more >
Add Color Picker to Your Web App - JavaScript in Plain English
In this article, we will look at two quick ways to add a color picker widget to your web app using HTML and...
Read more >
HTML Color Picker - W3Schools
HTML Color Picker · Pick a Color: · Or Enter a Color: · Or Use HTML5: · Selected Color: · Lighter / Darker:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found