Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

User should be able to get optional guided tour in a PageElement. #106

Closed
anders-kiaer opened this issue Sep 24, 2018 · 3 comments
Closed
Assignees

Comments

@anders-kiaer
Copy link
Collaborator

anders-kiaer commented Sep 24, 2018

The user should have the option of getting a "guided tour" around a PageElement.

Especially for the more complex, specialized visualizations, this is a useful way of giving more in-depth explanations not practical to give through title and labels/legends.

Several libraries exist to facilitate this, e.g. the MIT licensed library http://bootstraptour.com/.

image

@eivindjahren eivindjahren self-assigned this Oct 2, 2018
@eivindjahren eivindjahren mentioned this issue Oct 5, 2018
4 tasks
@anders-kiaer
Copy link
Collaborator Author

anders-kiaer commented Oct 10, 2018

@eivindjahren Ref. status meeting this week, here are some suggested steps for the Map which could perhaps be added as default tour provided by that PageElement 🙂

Note: As an extra detail, the steps in a "standard tour" will depend somewhat on the data given. When we extend the map to have an horizontal slider (e.g. time axis), and the input data inludes that dimension, that should also be part of the standard tour (and correspondingly not a part of the tour when input data doesn't include that dimension). But I would guess this is not a big issue as long as Map, which knows the input data, itself provides the "standard tour".

[{
  'element': '#svg_map',
  'title': 'Map',
  'placement': 'top',
  'content': ('The map can be moved and zoomed the way you usually interact with '
              'web maps.<br><br>Click&nbsp;&amp;&nbsp;drag to move the map, and '
              'roll the mouse wheel (or do the two finger pinch gesture if on a '
              'mobile device) to zoom.')
}, {
  'element': '#svg_controls > #g_scale',
  'title': 'Map scale',
  'placement': 'bottom',
  'content': 'The map scale will change according to the level of zoom you choose.'
}, {
  'element': '#svg_controls > #g_compass',
  'title': 'Map compass',
  'placement': 'left',
  'content': ('In addition to show the current map orientation, you can click '
              'and drag the compass in order to rotate the map.')
}, {
  'element': '#svg_controls > #g_slider',
  'title': 'Layer axis',
  'placement': 'auto',
  'content': 'Scroll through the different layers using the vertical slider.'
}]

@eivindjahren
Copy link
Contributor

eivindjahren commented Oct 11, 2018

The functionality is now implemented in #123, but there are no default tours for any page elements. We will look at default tours for some of our visualizations (such as map) in the future.

@anders-kiaer
Copy link
Collaborator Author

Moved the remaning part of this issue to #133.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants