Closed Bug 1948633 Opened 1 year ago Closed 11 months ago

[composable toolbar] Display Toolbar - show pageOrigin from from DisplayState

Categories

(Firefox for Android :: Toolbar, task, P2)

All
Android
task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: petru, Assigned: petru)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(4 files, 1 obsolete file)

An important functionality of the BrowserToolbar is to show information about the current webpage - the title and URL or an optional hint.
Refer to the current implementation of OriginView for the functionality and scenarios needing to be supported.

For configuring the data to be displayed DisplayState should allow passing a pageOrigin object with the following properties:

data class PageOrigin(
	val title: String?,
	val url: String?,
	val hint: String?,
	val onClick: BrowserToolbarEvent?,
	val onLongClick: BrowserToolbarEvent?,
)
See Also: → 1948653
See Also: → 1948671
See Also: → 1948726
See Also: → 1948729
See Also: → 1948731
Blocks: 1948762
Blocks: ct-display-updates
No longer blocks: 1948591
Assignee: nobody → petru
Status: NEW → ASSIGNED
See Also: → 1962168
Pushed by plingurar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f61bd95b4fc1 part 1 - Upstream FadedText to compose.base r=android-reviewers,007 https://hg.mozilla.org/integration/autoland/rev/ddbf11016857 part 2 - Ensure proper alignment and no fading if text fits r=android-reviewers,tchoh https://hg.mozilla.org/integration/autoland/rev/4844ed893da8 part 3 - Render pageOrigin from the state r=android-reviewers,android-l10n-reviewers,delphine,tchoh https://hg.mozilla.org/integration/autoland/rev/370bd27c409e part 4 - Use pageOrigin in samples and Fenix r=android-reviewers,tchoh
See Also: → 1962332

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Comment on attachment 9480814 [details]
Bug 1948633 - Use enums for page origin's fadeDirection and textGravity properties r=#android-reviewers

Revision D246562 was moved to bug 1962332. Setting attachment 9480814 [details] to obsolete.

Attachment #9480814 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: