Repository navigation
fix(console): keep long passkey origins inside the enable dialog - #14395
Merged
Merged
Conversation
The dialog content is a grid item, so its min-width defaulted to its content and a long android:apk-key-hash origin pushed the domain options and footer past the dialog's edge instead of truncating.
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
This PR adjusts the
One low-severity finding remains about the e2e bounding-box assertion, noted in the findings. Reviewed commit: 58b9479 |
🟢 Tier S · Ready to mergeThe enable-passkeys dialog now allows its body grid item to shrink so long Android origins stay within the panel. A mocked e2e regression test covers the layout with a long origin.
📂 Walkthrough · 2
Reviewed |
This was referenced Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The Enable passkeys dialog overflows its panel when a project has an Android app with a signing certificate fingerprint. The
android:apk-key-hash:…origin is long, and the dialog body is a grid item whosemin-widthdefaults to its content, so the truncated origin still widened the body: the domain options, the origins box and the footer buttons spilled past the dialog's right edge.Adding
min-w-0to the body lets the origin truncate inside the dialog as intended.Found while reshooting the screenshots for the passkeys docs (#14389).
Test plan
a long Android origin stays inside the enable dialogasserts the origins box ends within the dialog. It fails onmainand passes with this change.console.mocked.passkeys.spec.ts: 17 passed.Related: appwrite-labs/cloud#5805