Problem/Motivation
When the user is in edit mode and clicks around different editable on the page, on the first click the tray opens providing visual feedback that there are editing options available. However on the next click on a new item the form in the tray changes instantaneously. Since the form is outside the users area of focus and often the form is quite similar to the form that preceded it the change is barely perceptible.
Proposed resolution
On the load of each new form into the tray, fade and slide out the current form and fade and slide in the new form with a delay of at least one second. Both the fade and the motion should provide enough affordance to the user that a change has taken place.
Remaining tasks
- Add the animation
- Usability test
- Cross-browser test
User interface changes
New forms animate in to the tray
API changes
None
Data model changes
None
Comments
Comment #2
Bojhan CreditAttribution: Bojhan as a volunteer and commentedI would assume it slides in? Fading works, but feels more adapt to a modal not a right-side slider.
Comment #3
tkoleary CreditAttribution: tkoleary at Acquia commented@bojhan
It slides in the first time. The issue is that once the tray is open and you click to a *different* block the tray does not close and open again, only the form changes and it changes without animation. So for example if I go from the search form block to any custom block, the only visual change is the block description, so the transition is very easy to miss.
We could close and open the tray again every time the user clicks on a new block, but I think that's overkill, so what I'm suggesting is keeping the tray in place but sliding out the first form and sliding in the second, which I think should be enough movement to catch the user's eye.
The fade-out is just an additional effect to add emphasis.
Comment #4
Bojhan CreditAttribution: Bojhan as a volunteer and commented@tkoleary Makes sense - lets give it a try. We tried this with collapsing but the animation proofed to be to laggy.
Comment #5
tkoleary CreditAttribution: tkoleary at Acquia commentedThis issue is dealt with in the patch at #2790855: Rework animation for standard dialog system. Closing as duplicate
Comment #6
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)