Email Colors Match UI Colors #1012

Merged
merged 1 commit into from May 3, 2016

Conversation

Projects
None yet
2 participants
@Calvinp
Contributor

Calvinp commented Apr 28, 2016

This changes the color of the status bar in emails sent by Singularity to match the colors of the event being reported in the UI.

@@ -1,6 +1,18 @@
package com.hubspot.singularity;
public enum SingularityEmailType {
- TASK_LOST, TASK_KILLED, TASK_FINISHED_SCHEDULED, TASK_FINISHED_LONG_RUNNING, TASK_FINISHED_ON_DEMAND, TASK_FINISHED_RUN_ONCE, TASK_FAILED, TASK_SCHEDULED_OVERDUE_TO_FINISH,
- TASK_KILLED_DECOMISSIONED, TASK_KILLED_UNHEALTHY, REQUEST_IN_COOLDOWN, SINGULARITY_ABORTING, REQUEST_REMOVED, REQUEST_PAUSED, REQUEST_UNPAUSED, REQUEST_SCALED, TASK_FAILED_DECOMISSIONED
+ TASK_LOST("#D9534F"), TASK_KILLED("#777777"), TASK_FINISHED_SCHEDULED("#5CB85C"), TASK_FINISHED_LONG_RUNNING("#5CB85C"),

This comment has been minimized.

@Calvinp

Calvinp May 2, 2016

Contributor

If at any point in the future it is desired to change the color of one of the email types, this is the place to change it.

@Calvinp

Calvinp May 2, 2016

Contributor

If at any point in the future it is desired to change the color of one of the email types, this is the place to change it.

@ssalinas

This comment has been minimized.

Show comment
Hide comment
@ssalinas

ssalinas May 3, 2016

Member

Thanks @Calvinp , this looks good

Member

ssalinas commented May 3, 2016

Thanks @Calvinp , this looks good

@ssalinas ssalinas merged commit a9fa945 into master May 3, 2016

1 of 2 checks passed

continuous-integration/travis-ci/push The Travis CI build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ssalinas ssalinas deleted the email-colors branch May 3, 2016

@ssalinas ssalinas modified the milestone: 0.6.0 May 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment