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

Fix some issues with tabs tray + enable proper Fennec style full screen layout + add onboarding setup for tabs tray layout #69

Merged
merged 2 commits into from
Sep 7, 2020

Conversation

abhijitvalluri
Copy link
Collaborator

Following issues fixed in tabs tray:

The third issue is a bug in upstream Fenix! They did not do sufficient UI testing of the tabs tray! They set the color for the button incorrectly so that in light theme when using private mode the button is set to white color on a white background! Making it impossible to see. This is because they use primary text color as the color of the button, but primary text color is white in private mode. But for the light theme this makes it impossible to see as light theme background is also white. So, I set it to the primary text color of the current theme to fix the issue.

Following issues fixed in tabs tray:
* Place the tab indicator at the top for top tabs tray layout
* Disable reverse layout for compact tabs as it messes with the layout
* Make the new tab button visible in private mode in light theme

The third issue is a bug in upstream Fenix! They did not do sufficient
UI testing of the tabs tray!
@abhijitvalluri
Copy link
Collaborator Author

It is too late in the night, so I am not posting any screenshots of the issues/fixes. I will post later tomorrow.

@abhijitvalluri
Copy link
Collaborator Author

This PR fixes #55. And this PR also resolves some of the issues raised in #65.

@abhijitvalluri
Copy link
Collaborator Author

Screenshots for the bugs fixed

Tab indicator position for top tabs tray

DIsable reverse tab order for compact tabs

Compact tabs cause a lot of issues with the layout when reverse tab order is also selected. So now when compact tabs are selected the reverse tab order setting (shown in the white box in the image below) is disabled and is set to false to avoid this issue. Reverse tab order is incompatible with compact tabs.

New tab button is visible in light theme in private mode

@abhijitvalluri abhijitvalluri changed the title Fix some issues with tabs tray [DO NOT MERGE YET!] Fix some issues with tabs tray Sep 6, 2020
@abhijitvalluri
Copy link
Collaborator Author

DO NOT MERGE YET!

I have some more changes in the pipeline that I want to add to this.

@abhijitvalluri abhijitvalluri changed the title [DO NOT MERGE YET!] Fix some issues with tabs tray Fix some issues with tabs tray + enable proper Fennec style full screen layout + add onboarding setup for tabs tray layout Sep 7, 2020
@abhijitvalluri
Copy link
Collaborator Author

Yo! This can be reviewed and merged now!

I enabled a truly Fennec style tabs screen layout. This time it looks almost exactly like a Fennec clone, with a full screen layout, a back button to close the tabs tray, less space wasted at the top for the buttons, etc. This mode has only the open and closed positions, and does not behave like a tray that can be opened half way!

And I also enabled an onboarding setup for the tabs tray layout. The onboarding is the screen you see when you fresh install the app and it lets you configure some basic options and then start browsing. Now, at the end of the list you can also configure your preferred tabs tray layout! So new users who fresh install can choose their layout. This should make life easier for folks as there are numerous settings available under "Customize" settings screen and it can get confusing and daunting to set these properly to give you a good layout.

So the onboarding screen gives you two simple choices:

  • Old Fennec style (default)
  • New Fenix style

The old Fennec style is now the default for a fresh install.

Demo and screenshots!

Demo of the onboarding process

onboarding demo

Old Fennec style onboarding and screenshot of actual layout

New Fenix style onboarding and screenshot of actual layout

@abhijitvalluri
Copy link
Collaborator Author

Now, this also resolves #73!

Copy link
Collaborator

@interfect interfect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

@interfect interfect merged commit 625289d into fork-maintainers:fork Sep 7, 2020
@abhijitvalluri abhijitvalluri deleted the tabstray_fixes branch September 13, 2020 14:31
@abhijitvalluri abhijitvalluri restored the tabstray_fixes branch September 13, 2020 14:31
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.

2 participants