Skip to content

Commit b0e11eb

Browse files
committed
Updated the email notification announcing reviews and the loaded review templates.
1 parent a2511a6 commit b0e11eb

File tree

4 files changed

+35
-36
lines changed

4 files changed

+35
-36
lines changed

server/src/main/java/com/objectcomputing/checkins/services/reviews/ReviewPeriodServicesImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ private String constructReviewPeriodAnnouncementEmail(
264264
new BufferedReader(
265265
reviewPeriodAnnouncementTemplate.asReader())),
266266
reviewPeriodName, reviewPeriodName,
267-
dateAsString(startDate), dateAsString(endDate),
268267
dateAsString(launchDate),
269268
dateAsString(selfReviewDate),
270269
dateAsString(closeDate));

server/src/main/resources/db/dev/R__Load_testing_data_2024_Review_Templates.sql

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ VALUES
2424
INSERT INTO template_questions
2525
(id, question, template_id, question_number, input_type)
2626
VALUES
27-
('6330a931-840f-4402-8a4b-78f17af731d2', PGP_SYM_ENCRYPT('During the period covered by this review, I demonstrated a commitment to ensuring an exceptional client experience wherever possible.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 3, 'SLIDER');
27+
('6330a931-840f-4402-8a4b-78f17af731d2', PGP_SYM_ENCRYPT('I demonstrated a commitment to ensuring an exceptional client experience wherever possible.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 3, 'SLIDER');
2828

2929
INSERT INTO template_questions
3030
(id, question, template_id, question_number, input_type)
3131
VALUES
32-
('ec93ef57-bec6-40b4-98c5-7ba72639294a', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate your effectiveness as an individual contributor during this period?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 4, 'TEXT');
32+
('ec93ef57-bec6-40b4-98c5-7ba72639294a', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate your effectiveness as a contributor on our team?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 4, 'TEXT');
3333

3434
INSERT INTO template_questions
3535
(id, question, template_id, question_number, input_type)
3636
VALUES
37-
('f1f00c55-4a57-42fe-8024-2e87cec1e877', PGP_SYM_ENCRYPT('Can you please share, if applicable, anything that you feel may be holding you back from being a more effective individual contributor?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 5, 'TEXT');
37+
('f1f00c55-4a57-42fe-8024-2e87cec1e877', PGP_SYM_ENCRYPT('Can you please share, if applicable, anything that you feel may be holding you back from being a more effective contributor?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 5, 'TEXT');
3838

3939
INSERT INTO template_questions
4040
(id, question, template_id, question_number, input_type)
@@ -54,17 +54,17 @@ VALUES
5454
INSERT INTO template_questions
5555
(id, question, template_id, question_number, input_type)
5656
VALUES
57-
('88140f0d-659f-4340-a9b3-4c6130327ed1', PGP_SYM_ENCRYPT('I have led or helped supported the personal or professional growth of other members of our OCI team during the period covered by this review.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 9, 'SLIDER');
57+
('88140f0d-659f-4340-a9b3-4c6130327ed1', PGP_SYM_ENCRYPT('I have led or helped support the personal or professional growth of other members of our OCI team.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 9, 'SLIDER');
5858

5959
INSERT INTO template_questions
6060
(id, question, template_id, question_number, input_type)
6161
VALUES
62-
('e080a8ff-7bce-4a5b-bf29-645266548e73', PGP_SYM_ENCRYPT('During the period covered by this review, I demonstrated a commitment to ensuring an exceptional experience for our fellow team members wherever possible.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 10, 'SLIDER');
62+
('e080a8ff-7bce-4a5b-bf29-645266548e73', PGP_SYM_ENCRYPT('I demonstrated a commitment to ensuring an exceptional experience for our fellow team members wherever possible.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 10, 'SLIDER');
6363

6464
INSERT INTO template_questions
6565
(id, question, template_id, question_number, input_type)
6666
VALUES
67-
('fdad94b8-f91c-4cd5-9265-526a50a4d9c7', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate your effectiveness as a collaborator or leader during this period?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 11, 'TEXT');
67+
('fdad94b8-f91c-4cd5-9265-526a50a4d9c7', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate your effectiveness as a collaborator or leader?', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 11, 'TEXT');
6868

6969
INSERT INTO template_questions
7070
(id, question, template_id, question_number, input_type)
@@ -79,7 +79,7 @@ VALUES
7979
INSERT INTO template_questions
8080
(id, question, template_id, question_number, input_type)
8181
VALUES
82-
('d539e697-c957-4afe-a07f-19a1dd4295e5', PGP_SYM_ENCRYPT('Please share how you have demonstrated a commitment to our business during the period covered by this review (e.g., impacting our reputation and goodwill in the community, impacting revenue growth, etc.).', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 14, 'TEXT');
82+
('d539e697-c957-4afe-a07f-19a1dd4295e5', PGP_SYM_ENCRYPT('Please share how you have demonstrated a commitment to our business (e.g., impacting our reputation and goodwill in the community, impacting revenue growth, etc.).', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 14, 'TEXT');
8383

8484
INSERT INTO template_questions
8585
(id, question, template_id, question_number, input_type)
@@ -89,12 +89,12 @@ VALUES
8989
INSERT INTO template_questions
9090
(id, question, template_id, question_number, input_type)
9191
VALUES
92-
('5d48c2aa-3c0a-43fb-95e3-e717b368ff89', PGP_SYM_ENCRYPT('Please share how you have demonstrated a commitment to our values during the period covered by this review (i.e. all of us is better than any one of us, innovate courageously and mindfully, share it back).', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 16, 'TEXT');
92+
('5d48c2aa-3c0a-43fb-95e3-e717b368ff89', PGP_SYM_ENCRYPT('Please share how you have demonstrated a commitment to our values (i.e. all of us is better than any one of us, innovate courageously and mindfully, share it back).', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 16, 'TEXT');
9393

9494
INSERT INTO template_questions
9595
(id, question, template_id, question_number, input_type)
9696
VALUES
97-
('675e63dc-b5c8-47c2-bf28-6fb627dedefe', PGP_SYM_ENCRYPT('Please provide any additional information or context that you feel would be helpful in assessing your performance for the period covered by this review.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 17, 'TEXT');
97+
('675e63dc-b5c8-47c2-bf28-6fb627dedefe', PGP_SYM_ENCRYPT('Please provide any additional information or context that you feel would be helpful in assessing your performance.', '${aeskey}'), 'b4d408e8-182e-4aab-830e-57596edf9a7f', 17, 'TEXT');
9898

9999
---- Annual Review - 2024
100100
INSERT INTO feedback_templates
@@ -120,17 +120,17 @@ VALUES
120120
INSERT INTO template_questions
121121
(id, question, template_id, question_number, input_type)
122122
VALUES
123-
('8ecce381-2e39-4f33-8ead-d62d364b5891', PGP_SYM_ENCRYPT('During the period covered by this review, this team member demonstrated a commitment to ensuring an exceptional client experience wherever possible.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 4, 'SLIDER');
123+
('8ecce381-2e39-4f33-8ead-d62d364b5891', PGP_SYM_ENCRYPT('This team member demonstrated a commitment to ensuring an exceptional client experience wherever possible.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 4, 'SLIDER');
124124

125125
INSERT INTO template_questions
126126
(id, question, template_id, question_number, input_type)
127127
VALUES
128-
('59e8c428-8970-4ccb-a5af-2dd9d5f5a4e1', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate this team member''s effectiveness as an individual contributor during this period?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 5, 'TEXT');
128+
('59e8c428-8970-4ccb-a5af-2dd9d5f5a4e1', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate this team member''s effectiveness as a contributor on our team?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 5, 'TEXT');
129129

130130
INSERT INTO template_questions
131131
(id, question, template_id, question_number, input_type)
132132
VALUES
133-
('dddd120d-5c7c-4689-9f19-38980d650de1', PGP_SYM_ENCRYPT('Can you please share any qualities or behaviors, if applicable, that may be holding this person back from being a more effective individual contributor?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 6, 'TEXT');
133+
('dddd120d-5c7c-4689-9f19-38980d650de1', PGP_SYM_ENCRYPT('Can you please share any qualities or behaviors, if applicable, that may be holding this person back from being a more effective contributor?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 6, 'TEXT');
134134

135135
INSERT INTO template_questions
136136
(id, question, template_id, question_number, input_type)
@@ -150,17 +150,17 @@ VALUES
150150
INSERT INTO template_questions
151151
(id, question, template_id, question_number, input_type)
152152
VALUES
153-
('8e424109-0624-47aa-a9b5-907ed02c5b03', PGP_SYM_ENCRYPT('This team member has led or helped support the personal or professional growth of other members of our OCI team during the period covered by this review.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 10, 'SLIDER');
153+
('8e424109-0624-47aa-a9b5-907ed02c5b03', PGP_SYM_ENCRYPT('This team member has led or helped support the personal or professional growth of other members of our OCI team.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 10, 'SLIDER');
154154

155155
INSERT INTO template_questions
156156
(id, question, template_id, question_number, input_type)
157157
VALUES
158-
('bc0ad36b-b7ed-4c67-8d0b-94d9907d31f8', PGP_SYM_ENCRYPT('During the period covered by this review, this team member demonstrated a commitment to ensuring an exceptional experience for our fellow team members wherever possible.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 11, 'SLIDER');
158+
('bc0ad36b-b7ed-4c67-8d0b-94d9907d31f8', PGP_SYM_ENCRYPT('This team member demonstrated a commitment to ensuring an exceptional experience for our fellow team members wherever possible.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 11, 'SLIDER');
159159

160160
INSERT INTO template_questions
161161
(id, question, template_id, question_number, input_type)
162162
VALUES
163-
('1bc42e13-df19-42dd-8734-46b42e461425', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate this team member''s effectiveness as a collaborator or leader during this period?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 12, 'TEXT');
163+
('1bc42e13-df19-42dd-8734-46b42e461425', PGP_SYM_ENCRYPT('Can you please share any qualities, behaviors, or examples that demonstrate this team member''s effectiveness as a collaborator or leader?', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 12, 'TEXT');
164164

165165
INSERT INTO template_questions
166166
(id, question, template_id, question_number, input_type)
@@ -175,7 +175,7 @@ VALUES
175175
INSERT INTO template_questions
176176
(id, question, template_id, question_number, input_type)
177177
VALUES
178-
('98b34fdb-7ac5-4902-9d5b-d91bb35c591f', PGP_SYM_ENCRYPT('Please share how this team member has demonstrated a commitment to our business during the period covered by this review (e.g., impacting our reputation and goodwill in the community, impacting revenue growth, etc.).', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 15, 'TEXT');
178+
('98b34fdb-7ac5-4902-9d5b-d91bb35c591f', PGP_SYM_ENCRYPT('Please share how this team member has demonstrated a commitment to our business (e.g., impacting our reputation and goodwill in the community, impacting revenue growth, etc.).', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 15, 'TEXT');
179179

180180
INSERT INTO template_questions
181181
(id, question, template_id, question_number, input_type)
@@ -185,12 +185,12 @@ VALUES
185185
INSERT INTO template_questions
186186
(id, question, template_id, question_number, input_type)
187187
VALUES
188-
('af5bcbec-8367-4a24-b579-b18151fe435c', PGP_SYM_ENCRYPT('Please share how this team member has demonstrated a commitment to our values during the period covered by this review (i.e. all of us is better than any one of us, innovate courageously and mindfully, share it back).', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 17, 'TEXT');
188+
('af5bcbec-8367-4a24-b579-b18151fe435c', PGP_SYM_ENCRYPT('Please share how this team member has demonstrated a commitment to our values (i.e. all of us is better than any one of us, innovate courageously and mindfully, share it back).', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 17, 'TEXT');
189189

190190
INSERT INTO template_questions
191191
(id, question, template_id, question_number, input_type)
192192
VALUES
193-
('d41656e0-a5a9-4d28-a107-31ea171ad044', PGP_SYM_ENCRYPT('Please provide any additional information or context that you feel would be helpful in assessing this team member''s performance for the period covered by this review.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 18, 'TEXT');
193+
('d41656e0-a5a9-4d28-a107-31ea171ad044', PGP_SYM_ENCRYPT('Please provide any additional information or context that you feel would be helpful in assessing this team member''s performance.', '${aeskey}'), 'e5d22b5d-c23e-40dc-9e95-057b9876a0ea', 18, 'TEXT');
194194

195195
INSERT INTO template_questions
196196
(id, question, template_id, question_number, input_type)

server/src/main/resources/mjml/review_period_announcement.mjml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<mjml>
22
<mj-head>
33
<mj-title>%s</mj-title>
4-
<mj-preview>It's time for performance reviews!</mj-preview>
4+
<mj-preview>It is time for performance reviews</mj-preview>
55
<mj-attributes>
66
<mj-class name="preheader" color="#000000" font-size="11px" font-family="Ubuntu, Helvetica, Arial, sans-serif" padding="0px"></mj-class>
77
<mj-section background-color="#ffffff" padding="20px 20px">
@@ -14,22 +14,22 @@
1414
</mj-column>
1515
</mj-section>
1616
<mj-hero mode="fluid-height" background-url="https://lh3.googleusercontent.com/pw/AL9nZEW6o0zSXFq6gKMdO2kpj_KZa8NLCnGq8bPoyiDFKimEuXOeuo1FsE8MhLP7ZTrSIUuf3zG4WuAQE2qLPzyDSqGAYaOhHOuWpWg2ocTjXLTbU5wUe-69JFoWbFU0gW3yDV7X5yfMollI5rq7N24vUs82=w1200-h600-no" background-color="#FFF" padding="100px 0px">
17-
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900">It's Time for Performance Reviews!</mj-text>
17+
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900">What to expect from this review period...</mj-text>
1818
</mj-hero>
1919
<mj-section background-color="#ffffff">
2020
<mj-column>
2121
<mj-text>
2222
<h2>%s Starts Soon!</h2>
2323
</mj-text>
24-
<mj-text font-size="16px">It's nearly time for our next performance reviews. This review covers the period from %s through %s</mj-text>
24+
<mj-text font-size="16px">It's nearly time for our next round of performance reviews.</mj-text>
2525
<mj-text font-size="16px">Here is what to expect:
2626
<ul>
27-
<li><strong>%s</strong> - Self-reviews begin</li>
27+
<li><strong>%s</strong> - Review assignments must be approved and self-reviews begin</li>
2828
<li><strong>%s</strong> - Self-reviews must be completed</li>
29-
<li><strong>%s</strong> - Reviews must be completed</li>
29+
<li><strong>%s</strong> - All reviews must be completed</li>
3030
</ul>
3131
</mj-text>
32-
<mj-text font-size="16px">Help us make this a valuable experience for everyone!</mj-text>
32+
<mj-text font-size="16px">Your feedback helps us improve as a team! Please take the time to be thoughtful, honest, and forthcoming in your evaluation of yourself and anyone you have been asked to review.</mj-text>
3333
</mj-column>
3434
</mj-section>
3535
<mj-section background-color="#feb672" padding="10px">

web-ui/src/components/feedback_submit_form/FeedbackSubmitForm.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,17 @@ const FeedbackSubmitForm = ({
188188
{isReviewing ? 'Reviewing' : 'Submitting'} Feedback on{' '}
189189
<b>{requesteeName}</b>
190190
</Typography>
191-
{!isReviewing && (
192-
<div className="wrapper">
193-
<InfoIcon style={{ color: blue[900], fontSize: '2vh' }}>
194-
info-icon
195-
</InfoIcon>
196-
<Typography className={classes.tip}>
197-
<b>Tip of the day: </b>
198-
{tip}
199-
</Typography>
200-
</div>
201-
)}
191+
{/* {!isReviewing && ( */}
192+
{/* <div className="wrapper"> */}
193+
{/* <InfoIcon style={{ color: blue[900], fontSize: '2vh' }}> */}
194+
{/* info-icon */}
195+
{/* </InfoIcon> */}
196+
{/* <Typography className={classes.tip}> */}
197+
{/* <b>Tip of the day: </b> */}
198+
{/* {tip} */}
199+
{/* </Typography> */}
200+
{/* </div> */}
201+
{/* )} */}
202202
{!isReviewing && (
203203
<Alert className={classes.warning} severity="warning">
204204
<AlertTitle>Notice!</AlertTitle>

0 commit comments

Comments
 (0)