In Aloha UI and other web-apps I typically make massive use of many browser-tabs and multiple browser windows side-by-side on large screens.
I open them by right-click on the link, then "open in new tab" or "open in new window" (typical browser feature in context menus for any anchor-tags). Or even faster, I hammer the middle button and have stuff loaded in background as tabs, especially when the content loads slowly...
After switching to Lightning Experience, I found at least in the new Setup, this habit is mostly not good anymore. The reason is, that on most a-tags the href-attribute is now href="javascript:void(0)" and the loading happens by event-handlers. I think the reason is a SPA-pattern in mind, where the Setup-tree stays put an only the content will be replaced by ajax.
Now it would have been nice, that the href-attrs had been populated with the URLs in addition to the event-handling for SPA-page-loads, e.g.
- Users > Users : it could be href=
https://eu5.lightning.force.com/one/one.app?source=aloha#/setup/page?nodeId=ManageUsers&address=%2F005%3FisUserEntityOverride%3D1%26retURL%3D%252Fsetup%252Fhome&t=1445014622085
- Users > Profiles : it could be href=
https://eu5.lightning.force.com/one/one.app?source=aloha#/setup/page?nodeId=Profiles&address=%2Fsetup%2Fui%2Fprofilelist.jsp%3Fsetupid%3DProfiles%26retURL%3D%252Fsetup%252Fhome&t=1445014669372
Since all the difference is after the #, it should work fine also for SPA-usecases and might have been resulted in the best of both worlds... but currently, we get only the event-mechanism and rather useless hrefs, stripping some standard browser features.
For me that feels very uncomfortable. Is there a way to improve the navigation somehow by configuration or workarounds? If not, are there plans to improve this by Salesforce or should we better get used to live with lots of href="javascript:void(0)" in the UI...?
An other thing is, that the title-tag does not update on navigation. It sticks at just "Lightning Experience", where it was "All Users ~ Salesforce" and "User Profiles ~ Salesforce" in Aloha for the above example. Side-effect of this situation is, that the navigation-history and deep-links get a very poor feeling since all pages (or partials) are indistinctively labeled just "Lightning Experience" in the history and at deep-links. (Also a SPA-sideeffect IMO. Probably a simple update of the title-tag on navigation could make it perfect)
Any feedback, suggestions or workarounds are welcome!