Closed Bug 2082510 Opened 1 month ago Closed 16 days ago

Build certificate details sub-page layout (Fenix Trust Panel)

Categories

(Firefox for Android :: Settings, task)

All
Android
task

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: lmccracken, Assigned: lmccracken)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert, Whiteboard: [fxdroid][android-activation-trust])

Attachments

(1 external file)

Summary
Add certificate details sub-page scaffold to the Trust Panel

Description
As part of QWAC support on Android, the Trust Panel needs a new sub-page that shows certificate details for the current site. This ticket covers the sub-page scaffold and layout only. Other tickets cover the issued-to card content, the “Verified by” line, data plumbing, navigation and QWAC-specific elements.

The sub-page should contain:

A header showing the site’s domain and favicon.
A “Secure connection” section, which is the container for the certificate information.
Placeholder slots or containers for the issued-to card and “Verified by” line, so those tickets can fill them in without reworking the layout.

The layout should follow the Figma designs [link] in both light and dark themes, using existing Android components and theme attributes where possible rather than hardcoded values.

In scope

Sub-page layout and structure (Compose or XML, following the Trust Panel’s existing approach)
Header with domain and favicon, including a sensible fallback when no favicon is available
“Secure connection” section container
Light and dark theme support
Layout behaviour with large font sizes, RTL and tablet widths, as far as the scaffold is concerned

Out of scope

Issued-to card and “Verified by” content (separate tickets)
Fetching or plumbing certificate data (separate ticket)
Tap handling and navigation into and out of the page
QWAC text and EU trust mark
Pref gating
Edge states (HTTP, invalid or expired certificates, missing fields)
Focus

Acceptance criteria

The sub-page renders with the domain and favicon in the header and a “Secure connection” section.
It matches Figma in light and dark themes (spacing, typography, colours).
The favicon falls back gracefully when unavailable.
Long domains truncate or wrap sensibly rather than breaking the layout.
The layout does not clip or overlap at large font sizes, and mirrors correctly in RTL.
All user-visible strings are in strings.xml, not hardcoded.
Elements have sensible accessibility labels and a logical TalkBack reading order.
Preview or sample data is available so the layout can be reviewed without the data plumbing.

Assignee: nobody → lmccracken
Status: NEW → ASSIGNED
Attachment #9668930 - Attachment description: WIP: Bug 2082510 - Create cert details panel for QWAC compliance → Bug 2082510 - Create cert details panel for QWAC compliance
Pushed by lmccracken@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/970d3d931afd https://hg.mozilla.org/integration/autoland/rev/a6fbdda2fb5f Create cert details panel for QWAC compliance r=android-reviewers,android-l10n-reviewers,parker,cbect
Status: ASSIGNED → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch

Perfherder has detected a mozperftest performance change from push a6fbdda2fb5f06de0fd9459153cee794332909a6.

No action is required from the author; this comment is provided for informational purposes only.

Improvement Test Platform Options Absolute values [old vs new]
26% homeview-startup homeview_startup android-hw-a55-14-0-aarch64-shippable 1,158.21 ms -> 859.71 ms
26% homeview_startup_submetrics android-hw-a55-14-0-aarch64-shippable 1,158.21 ms -> 859.71 ms
26% homeview_startup_submetrics homeview_startup android-hw-a55-14-0-aarch64-shippable 1,158.21 ms -> 859.71 ms

Need Help or Information?

If you have any questions, please reach out to acseh@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: