alterm4nn/ChronoZoom — pull request #1373 by NeilCresswell (2014-12-10 00:43:03+00:00)
Title: Improvements

# Improvements

### Touch Screen Events

1. jQuery extended to create a new hookable event called "clicktouch".
Should be used in future instead of "click" or "touchstart" events.
Enables use of either mouse click or touch-screen with a single event
that does not fire both click and touch when touch is used. Does sowithout
without needing to resort to stopPropagation calls.

2. Top right menu click events altered to use new clicktouch events.

### Automatic My Collections Display After Log In

1. When a user is not logged in and successfully logs immediately after clicking
on "My Collections", the user now automatically sees the My Collections overlay.
Clicking on the Register / Sign In icon and then logging in retains the old behaviour
of displaying the collection rather than an overlay. Reloading a page behaviour is
unaffected.

### Tours Pane (List of Tours)

1. If the user is not logged in and clicks on View Tours, then the part of the Tours
panel which explains that there are no tours for the currently displayed collection
has be reworded to say:
*"There are no tours currently in this collection."*
Previously the wording was confusing to the user as the user had no edit rights:
*"Share and present your timeline by creating a tour."*
The wording if logged in remains unchanged.

2. Bug fix on logic to display title of "My Tours" or "Tours" depending on circumstances.
Previously, if the user was logged in and viewing one of his/her collections, but
the collection was not his/her default collection then the title could be incorrect.
Also, if a user was logged in and viewing someone else's collection that had the same
name, (more probable in a classroom environment,) then the title could also be incorrect.

3. Bug fix on logic to display "Create Tour" button if user has edit rights. Now button
always displays if the user has appropriate rights.

4. Added a new link labelled "Share" next to each tour. The link provides a URL which can
be passed on to others to automatically start the tour. It should be noted that this
URL is displayed and highlighted on the message pane which appears on the left of the
page. To implement this, the message pane was altered somewhat (including CSS changes.)

5. Relabelled the "Tour" link to "View". Now the three links for each tour are:
"View", "Edit" and "Share". Also added tooltips and tidied up the links' display via CSS.

## Release Notes

1. There were no web.config changes.
2. There were no database changes.

## Related Trello Project Cards

* https://trello.com/c/NLVZxf6s/183-menu-item-tap-event
* https://trello.com/c/tSzd00zu/199-start-with-my-collections-option
* https://trello.com/c/21LK5GqX/200-change-the-no-tours-message
* https://trello.com/c/QImehUYj/206-tours-form-title-bug
* https://trello.com/c/Tdqava4Z/205-share-tour-link