Android icon indicating copy to clipboard operation
Android copied to clipboard

Omnibar position option

Open 0nko opened this issue 1 year ago • 1 comments

Task/Issue URL:

Description

This is a feature branch for the omnibar position project.

0nko avatar Aug 09 '24 16:08 0nko

  • #4885 Graphite: 5 dependent PRs (#4886 Graphite, #4940 Graphite, #4941 Graphite and 2 others) 👈
  • develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @0nko and the rest of your teammates on Graphite Graphite

0nko avatar Aug 09 '24 16:08 0nko

The big issue is that when the omnibar is at the bottom we are over the web content, and not properly pushing it to the top. That makes it so any content at the bottom of the viewport is behind the omnibar.

@malmstein Thanks for the review. I will fix this in a separate PR. The rest of the comments should be addressed now.

I added steps for testing different scenarios in the PR description.

0nko avatar Sep 12 '24 10:09 0nko

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @0nko and the rest of your teammates on Graphite Graphite

malmstein avatar Sep 18 '24 21:09 malmstein

@malmstein I’ve addressed your comments but I also had to make some additional changes:

  • I changed the way we check if the feature flag is enabled. There are many places that check the position value. To avoid adding a feature flag check everywhere, I added a plugin that checks on process start and modifies the data store.
  • I updated the JS that checks the scrollability of a website and it’s now able to correctly determine that theguardian.com and similar sites have a non-scrollable elements at the front
  • I found that the omnibar is scrollable when showing autocomplete (a behavior that is present in production) and I made it fixed

0nko avatar Sep 23 '24 08:09 0nko

@malmstein I’ve updated the test instructions to include tests of the feature flag, as well.

0nko avatar Sep 23 '24 14:09 0nko