Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] You can now choose to open links in new tabs


There is now a new setting that allows Orion users to choose whether links open in the same tab, or open in a new tab.

In my development work, I find that when editing files, I mostly wanted to open a few at once, and from the navigator I mostly want to keep it around. I think most people use a combination of keyboard and mouse clicks to achieve this. We seem to all have our favourite ways of working. This setting hopes to extend the choices a little more.


(See attached file: setting.png)

Go to the settings page, choose the General category and you can switch to opening tabs in new pages too, if you like.

It was very helpful to me to have a second subject to work with in settings too - to understand the patterns better, and to see how generalized it could be. I also used this opportunity to move settings to use the preferences service, instead of local storage directly.

That was a learning experience too. It took some trial and error for me properly understand preferences, and I learned too that there are limitations.

Also, I'm very undecided about the value of async calls for these settings. I much preferred the simplicity that direct local storage calls gave me. I do recognize that when it comes to storing the settings data in distributed way, that I may gain more value from asyn calls - but it really does introduce complexity. I noticed too that with some inconsistent client coding approaches, that I had to use my head a lot to manage scopes in a couple of different ways for those places that use the preferences service. Just some observations.

I’m still phasing in all of the places where links will react to a choice of opening in a new tab. For now files from the navigation will respond, and commands in the navigation bar will respond. I’ll phase search results in next.

It's all very fresh, so please let me know what you think and if you see any flaws.


Anton

Attachment: setting.png
Description: PNG image


Back to the top