focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

Custom Tabs: Consider showing page title in URL bar.

Open pocmo opened this issue 8 years ago • 18 comments

User Benefit / Why

  • Provide more information about the website users are visiting
  • Be consistent with our other products + custom tabs

From #610 and #1870.

Chrome and Firefox show the page title in the URL bar in a Custom Tab. Do we want to do that too?

pocmo avatar Mar 14 '18 14:03 pocmo

Firefox:

ct-ff

pocmo avatar Mar 14 '18 14:03 pocmo

Chrome:

ct-chrome

pocmo avatar Mar 14 '18 14:03 pocmo

The app might be able to control this by setting NO_TITLE, SHOW_PAGE_TITLE;

  • https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.html#NO_TITLE
  • https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.html#SHOW_PAGE_TITLE

pocmo avatar Mar 14 '18 14:03 pocmo

Can I work on this issue?

shikhart98 avatar Apr 11 '18 02:04 shikhart98

@shikhart98 This will need input from the UX team and prioritization from the product team first. We try to mark everything that is ready to be worked on with "help wanted": https://github.com/mozilla-mobile/focus-android/labels/help%20wanted

pocmo avatar Apr 12 '18 15:04 pocmo

Okay 👍

shikhart98 avatar Apr 13 '18 02:04 shikhart98

@brampitoyo quick input on the UI @pocmo suggested?

@pocmo is this touching the regular URL/address bar code for Focus?

bbinto avatar Apr 24 '18 17:04 bbinto

For sure. It makes a lot of sense for us to be consistent with Firefox and show the site name and URL on our custom tabs.

I do notice that the “X” button on the Firefox UI is far too large, and the font size is a bit too small. Chrome’s icon and font sizes are good for us to follow. It’s just that the font colour that Chrome uses isn’t consistent with the font colour used on the system status bar. On this, we should aim to match.

brampitoyo avatar Apr 25 '18 05:04 brampitoyo

@pocmo is this touching the regular URL/address bar code for Focus?

Yes, we would need to support two modes. If this doesn't have high priority then we could wait until our "toolbar" component is ready and use that one in Focus. The toolbar component will be able to support different modes like that.

pocmo avatar Apr 25 '18 12:04 pocmo

ETA, @pocmo, on the toolbar component? :)

bbinto avatar Apr 25 '18 17:04 bbinto

@bbinto Depends on the fenix feature prioritization.. :) I think it will take some time until the component has feature-parity with Focus. So, maybe in Q3 we can make the switch to the component.

pocmo avatar Apr 26 '18 08:04 pocmo

@pocmo @csadilek can one of the Focus engineers start on this component? We are keen to get this into Focus.

Sdaswani avatar Sep 14 '18 20:09 Sdaswani

@Sdaswani definitely! This would require bringing the toolbar component to Focus which would be great, imo.

csadilek avatar Sep 17 '18 15:09 csadilek

@vesta0 I suggest someone on the Focus team work on this in this Sprint - is that cool? Maybe @ekager's first component?

Sdaswani avatar Sep 17 '18 16:09 Sdaswani

@Sdaswani that would be good. Sounds like the toolbar component is ready and can be brought over to Focus - is that correct? If so then @ekager do you want to pick this up?

vesta0 avatar Sep 17 '18 18:09 vesta0

No @vesta0 sounds like we have to 1) integrate the toolbar component and then 2) maybe make some changes. I think @ekager can pick this up if she is free.

Sdaswani avatar Sep 17 '18 20:09 Sdaswani

I can pick this up after my current ticket in this sprint

ekager avatar Sep 17 '18 20:09 ekager

On the latest RC 93.1.1, the custom tab displays the page title in the URL bar. I'll close this issue.

lobontiumira avatar Oct 04 '21 14:10 lobontiumira