Bug 1956878 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

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()](https://searchfox.org/mozilla-central/rev/0b765f1050f3cb0674ab266e7692e6dad9d249a1/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt#251) which reads the [tab.content.title](https://searchfox.org/mozilla-central/rev/0b765f1050f3cb0674ab266e7692e6dad9d249a1/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ext/TabSessionState.kt#56). 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

Back to Bug 1956878 Comment 0