Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sailfish-browser] Use pulley menu for actions in tab page. #957

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

dcaliste
Copy link

@dcaliste dcaliste commented Dec 7, 2021

This is a suggestion to use a pulley menu instead of a toolbar with a menu in the tab list page.

There are three actions in the menu of this page at the moment :

  • open a new tab,
  • open a new private tab
  • and close all tabs.
    I've transfered these actions into a pulley menu. The only difference is that the first action opens a new tab in the current mode and the second action opens one in the other mode while the menu is using a fixed layout whatever the mode.

I've removed the toolbar since the action of the add button is in the pulley, and the back action is a normal LtoR swipe. This allows more screen estate for the tab list without loosing actions, keeping consistency with the rest of the OS.

I've moved the tab bar switching the mode to the bottom, so it can be accessed easily one handed with the thumb. Its position at the bottom is quite consistent with the toolbar of the main page view from which we are coming from to arrive on the tab list page.

As discussed in the forum (https://forum.sailfishos.org/t/browser-redesign-in-sailfish-4-2-feedback-thread/7867/68), I guess the design decision to use a toolbar with buttons and a menu was already taken. So I hope this PR will be the occasion to discuss advantages and shortcomings of both approaches and make improvements to the tab list page design in general, whatever directions they go in. In term of raw number of lines (and maintainance), this PR simplify TabGridView.qml and TabView.qml a bit already ; -)

@rainemak , @atatarov , @jpetrell and @mkenttala, I would appreciate your comments and views on this matter and thank you in advance for the time you may spend looking at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant