Default to different random color when adding items (OD-1302)
Jerome St-Louis opened 3 years ago

When adding items e.g., to Custom fields enumerations, currently all items seem to default to the same blue color. It would be much easier if instead a different random color not already used was automatically picked for each item being added. This would be particularly helpful when setting up a custom field with tens of different possible values.

  • Robin Shen commented 3 years ago

    I do not think this is a good idea, as different color often has different meaning (priority, severity etc). While a blue color is neutual and can be a sensible default.

  • Jerome St-Louis commented 3 years ago

    @robin Perhaps a button to explicitly assign random colors to all enumeration values instead then?

    Perhaps from a set of colors from palettes within certain saturations / hues / values that avoid using some colors reserved for such meanings.

    I have about 300 custom field values to assign colors because I don't want all of them to have the same colors :)

  • Robin Shen changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 3 years ago

    That will be unnecessarily complicated for most cases. To add massive number of custom fields, you may consider to use the restful api to add them programmatically:

    http://localhost:6610/~help/api/io.onedev.server.rest.SettingResource/setIssueSetting

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1302
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover