mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
hotspots: Add 'type' field to objects in 'hotspots' array.
This commit adds a 'type' field to the objects in 'hotspots' array sent in 'hotspots' events. We have explicitly added this field as we eventually plan to have two type of onboarding steps, 'hotspots' and 'one_time_notice'. This will help clients to easily identify them.
This commit is contained in:
committed by
Tim Abbott
parent
ac8af3d6de
commit
df379b5e86
@@ -334,6 +334,7 @@ def check_heartbeat(
|
||||
|
||||
_hotspot = DictType(
|
||||
required_keys=[
|
||||
("type", str),
|
||||
("name", str),
|
||||
("title", str),
|
||||
("description", str),
|
||||
|
||||
Reference in New Issue
Block a user