Open edit and view pages in new tab by default
This feature was requested by @ankurdesai in https://github.com/PecanProject/bety/issues/534#issuecomment-327878052
Feature:
When opening a new view or edit link, open in new tab by default
Discussion
right-click --> open in new page has the same effect, but @ankurdesai suggests this should be default behavior
Should this actually happen by default? Primary concern is that the user would end up with many open tabs. Are there any first principles in UI/UX theory that we can use to guide this?
I too have reservations about making new tabs or windows the default. Note that if you press enter (or return) after doing a search, it is saved in the browser history. Then, if you go to edit or view a particular record, pressing the browser's back button will return you to the search results. Pressing the "All Records" button, however, won't do this; but perhaps with some programming it could. And it might be possible to programmatically save the search in the browser history without having to press enter.
I think you're right for now, right-click is fine, but also agree worth spending time looking at UI/UX guidelines and watching folks use the system. I could not replicate the browser saved search history when pressing the return button and then clicking the back arrow. In fact, in some cases, pressing back sent me to an entirely different table. This is on Chrome, Mac OS X. I last pulled and re-started bety 3 days ago.
Oh wait, I see now, pressing Browser back button does work, pressing "<- All Records" resets search. Ok.
@ankurdesai Still, if you could document the case where pressing "<- All Records" sends you to a different table, I'll look into it. That shouldn't happen.
Ok, I can't replicate it, so might have been some cache issue or something. Thanks for the convo.