#1302  Default to different random color when adding items
Closed
Jerome St-Louis opened 1 year 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 1 year 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 1 year 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' 1 year ago
Previous Value Current Value
Open
Closed
Robin Shen commented 1 year 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 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1302
Please wait...
Page is in error, reload to recover