Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51d8d33

Browse files
committed
feat(notifications): add golden file for custom appearance
1 parent a420f37 commit 51d8d33

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ l', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; color: #020617=
4141
r: 1px solid #e2e8f0; border-radius: 8px; background-color: #fff; text-alig=
4242
n: left; font-size: 14px; line-height: 1.5;">
4343
<div style=3D"text-align: center;">
44-
<img src=3D"https://custom.application" alt=3D"CustomApplication Lo=
45-
go" style=3D"height: 40px;" />
44+
<img src=3D"https://custom.application/logo.png" alt=3D"Custom Appl=
45+
ication Logo" style=3D"height: 40px;" />
4646
</div>
4747
<h1 style=3D"text-align: center; font-size: 24px; font-weight: 400; m=
4848
argin: 8px 0 32px; line-height: 1.5;">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"_version": "1.1",
3+
"msg_id": "00000000-0000-0000-0000-000000000000",
4+
"payload": {
5+
"_version": "1.1",
6+
"notification_name": "Workspace Deleted",
7+
"notification_template_id": "00000000-0000-0000-0000-000000000000",
8+
"user_id": "00000000-0000-0000-0000-000000000000",
9+
"user_email": "[email protected]",
10+
"user_name": "Bobby",
11+
"user_username": "bobby",
12+
"actions": [
13+
{
14+
"label": "View workspaces",
15+
"url": "http://test.com/workspaces"
16+
},
17+
{
18+
"label": "View templates",
19+
"url": "http://test.com/templates"
20+
}
21+
],
22+
"labels": {
23+
"initiator": "autobuild",
24+
"name": "bobby-workspace",
25+
"reason": "autodeleted due to dormancy"
26+
},
27+
"data": null
28+
},
29+
"title": "Workspace \"bobby-workspace\" deleted",
30+
"title_markdown": "Workspace \"bobby-workspace\" deleted",
31+
"body": "Hi Bobby,\n\nYour workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
32+
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
33+
}

0 commit comments

Comments
 (0)