hotspots: Add backend support for tutorial hotspots.

This commit adds the backend support for a new style of tutorial which
allows for highlighting of multiple areas of the page with hotspots that
disappear when clicked by the user.
This commit is contained in:
Amy Liu
2017-01-23 16:48:35 -08:00
committed by Tim Abbott
parent 33c130a603
commit 6f061beb46
16 changed files with 220 additions and 2 deletions

View File

@@ -23,6 +23,11 @@ function dispatch_normal_event(event) {
admin.update_default_streams_table();
break;
case 'hotspots':
hotspots.show(event.hotspots);
page_params.hotspots = event.hotspots;
break;
case 'muted_topics':
muting_ui.handle_updates(event.muted_topics);
break;