Status: To Do
Fix Version/s: None
Sprint:SUIT Sprint 2019-02, SUIT Sprint 2019-03, SUIT Sprint 2019-04, SUIT Sprint 2019-05, SUIT Sprint 2019-07, SUIT Sprint 2019-08, SUIT Sprint 2019-09
Team:Science User Interface
This ticket is to implement colormap changes to use names in the form of strings.
Before implementing this ticket, it will be necessary to reach consensus on the names of the colormaps.
IPAC FIRELFY ticket: https://jira.ipac.caltech.edu/browse/FIREFLY-138
It's already implicit from David Shupe's above comment, but I would strongly suggest decoupling the API string names of the color maps from any text displayed for them in the UI, e.g., in tooltips.
I would also suggest that we refactor things a bit so that the list of color maps known to Firefly (i.e., ones for which it has implementation code available) can be larger than the list of color maps that are exposed through the UI.
Two reasons for the above:
- If we withdraw a colormap from the UI, this will not immediately break external (i.e., user) code that refers to that colormap via the API.
- It would be nice for the selection and order of colormaps in the UI to be application-configurable.
The first-draft implementation of DM-15427 used the following names, which might be an appropriate starting point.