Show incoming request notification and implement dismissal
This commit is contained in:
parent
fe89de8b11
commit
97d3616ed9
17 changed files with 688 additions and 52 deletions
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#26232a",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#19171c",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000003d",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#e2dfe7",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#8b8792",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#e2dfe7",
|
||||
"size": 12,
|
||||
"background": "#19171c",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#8b8792",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#e2dfe7",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#efecf4",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000001f",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#26232a",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#585260",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#26232a",
|
||||
"size": 12,
|
||||
"background": "#efecf4",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#585260",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#1c1c1c",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#070707",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#00000052",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#f1f1f1",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#9c9c9c",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#f1f1f1",
|
||||
"size": 12,
|
||||
"background": "#0e0e0e80",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#9c9c9c",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#f8f8f8",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#d5d5d5",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000001f",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#2b2b2b",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#474747",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#2b2b2b",
|
||||
"size": 12,
|
||||
"background": "#f1f1f1",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#717171",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#073642",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#002b36",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000003d",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#eee8d5",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#93a1a1",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#eee8d5",
|
||||
"size": 12,
|
||||
"background": "#002b36",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#93a1a1",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#eee8d5",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#fdf6e3",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000001f",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#073642",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#586e75",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#073642",
|
||||
"size": 12,
|
||||
"background": "#fdf6e3",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#586e75",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#293256",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#202746",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000003d",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#dfe2f1",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#979db4",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#dfe2f1",
|
||||
"size": 12,
|
||||
"background": "#202746",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#979db4",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
|
@ -474,6 +474,21 @@
|
|||
"notification": {
|
||||
"margin": {
|
||||
"top": 10
|
||||
},
|
||||
"background": "#dfe2f1",
|
||||
"corner_radius": 6,
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "#f5f7ff",
|
||||
"width": 1
|
||||
},
|
||||
"shadow": {
|
||||
"blur": 16,
|
||||
"color": "#0000001f",
|
||||
"offset": [
|
||||
0,
|
||||
2
|
||||
]
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
|
@ -481,8 +496,7 @@
|
|||
"margin": {
|
||||
"right": 10,
|
||||
"bottom": 10
|
||||
},
|
||||
"background": "#ff0000"
|
||||
}
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
|
@ -1659,5 +1673,48 @@
|
|||
"padding": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"incoming_request_notification": {
|
||||
"header_avatar": {
|
||||
"height": 12,
|
||||
"width": 12,
|
||||
"corner_radius": 6
|
||||
},
|
||||
"header_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#293256",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"left": 4
|
||||
}
|
||||
},
|
||||
"header_height": 18,
|
||||
"body_message": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#5e6687",
|
||||
"size": 12,
|
||||
"margin": {
|
||||
"top": 6,
|
||||
"bottom": 6
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
"family": "Zed Sans",
|
||||
"color": "#293256",
|
||||
"size": 12,
|
||||
"background": "#f5f7ff",
|
||||
"padding": 4,
|
||||
"corner_radius": 6,
|
||||
"margin": {
|
||||
"left": 6
|
||||
}
|
||||
},
|
||||
"dismiss_button": {
|
||||
"color": "#5e6687",
|
||||
"icon_width": 8,
|
||||
"icon_height": 8,
|
||||
"button_width": 8,
|
||||
"button_height": 8
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue