Closed Bug 1956878 Opened 1 year ago Closed 1 year ago

Replace "about:home" with "Homepage" title in the tabs tray

Categories

(Firefox for Android :: Homepage, task, P3)

All
Android
task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: gl, Assigned: gl)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Attached image Image from iOS.jpg

When Homepage as a new Tab is enabled, homepage tabs have an URL of "about:home". In the tabs tray, we want to rename "about:home" that will appear as the title to "Homepage".

The task is to the following:

  • Add a Globe placeholder icon next to the displayed title for "about:home" tabs. This would appear in-place of a favicon that would be loaded using the page URL or a loaded page icon as defined by tab.content.icon, which wouldn't happen for an "about:home" url.
  • In the tabs tray, the displayed title of a tab comes from tab.toDisplayTitle() which reads the tab.content.title. To replace "about:home" with the desired "Homepage" display title, we want to set tab.content.title to "Homepage" when the homepage tab is created.

Figma: https://www.figma.com/design/HWTT1sbVrKtD2gxX3IzAM7/Home?node-id=4253-24499&t=PQqlLAF50L1tiNNy-4

Summary: Display → Replace "about:home" with "Homepage" title in the tabs tray
Keywords: leave-open
Pushed by gluong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb2b67259885 Part 1: Center the tab display title in TabGridItem r=android-reviewers,007
Pushed by gluong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5dc5d8e4ffd5 Part 2: Refactor adding a new homepage tab into a use case in FenixBrowserUseCases r=devota,android-reviewers https://hg.mozilla.org/integration/autoland/rev/b68c35a207b6 Part 3: Add a "Homepage" title for "about:home" homepage tabs r=devota,android-reviewers,android-l10n-reviewers,delphine

Backed out for causing Android Components opt build bustages.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | mozilla.components.feature.serviceworker.ServiceWorkerSupportTest.GIVEN service worker support is installed WHEN runtime is called to open a new window THEN do so and return a new EngineSession | org.mockito.exceptions.misusing.InvalidUseOfMatchersException:
Flags: needinfo?(gl)
Pushed by gluong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6167c9bcb52c Part 2: Refactor adding a new homepage tab into a use case in FenixBrowserUseCases r=devota,android-reviewers https://hg.mozilla.org/integration/autoland/rev/2583d784a067 Part 3: Add a "Homepage" title for "about:home" homepage tabs r=devota,android-reviewers,android-l10n-reviewers,delphine
Flags: needinfo?(gl)
Keywords: leave-open
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Pushed by gluong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2bb884927bca Part 4: Display a Globe placeholder icon when a page icon is not available in `TabGridItem` r=007,android-reviewers
Blocks: 1977937
Blocks: 1990603
Depends on: 1998601
No longer depends on: 1998601
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: