Skip to content

Improve login layout#1437

Merged
nooreldeenmansour merged 4 commits intomainfrom
improve-login-layout
Apr 17, 2026
Merged

Improve login layout#1437
nooreldeenmansour merged 4 commits intomainfrom
improve-login-layout

Conversation

@nooreldeenmansour
Copy link
Copy Markdown
Member

Closes #1263

UDENG-9622

forked branch PR: #1266

This was created to run e2e tests

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.11%. Comparing base (15c4664) to head (f679b56).
⚠️ Report is 60 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1437      +/-   ##
==========================================
+ Coverage   87.05%   87.11%   +0.05%     
==========================================
  Files          93       93              
  Lines        6367     6356      -11     
  Branches      111      111              
==========================================
- Hits         5543     5537       -6     
+ Misses        768      764       -4     
+ Partials       56       55       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adombeck
Copy link
Copy Markdown
Contributor

Looks like the e2e-tests indeed need to be adapted to the changes on this branch

@nooreldeenmansour
Copy link
Copy Markdown
Member Author

Looks like the e2e-tests indeed need to be adapted to the changes on this branch

I'll close the older PR in favor of this one, will check and update the relevant e2e tests in this branch

@nooreldeenmansour nooreldeenmansour marked this pull request as ready for review April 14, 2026 18:54
@nooreldeenmansour
Copy link
Copy Markdown
Member Author

The URL/code matching should now be working fine, but I had to make the regex backwards compatible for the migration tests. please take another look and tell me what u think

Comment thread pam/internal/adapter/nativemodel.go
@nooreldeenmansour nooreldeenmansour merged commit 1f7d986 into main Apr 17, 2026
56 of 67 checks passed
@nooreldeenmansour nooreldeenmansour deleted the improve-login-layout branch April 17, 2026 13:37
Comment thread pam/internal/adapter/nativemodel.go
nooreldeenmansour added a commit that referenced this pull request Apr 17, 2026
Replace hardcoded extra spaces in the URL/Code format strings with a shared `formatAlignedFields` helper that computes padding at runtime based on label widths. This ensures consistent visual alignment regardless of label length, making the output safe for future translations.

Follow-up to #1437
nooreldeenmansour added a commit that referenced this pull request Apr 17, 2026
Replace hardcoded extra spaces in the URL/Code format strings with a shared `formatAlignedFields` helper that computes padding at runtime based on label widths. This ensures consistent visual alignment regardless of label length, making the output safe for future translations.

Follow-up to #1437
nooreldeenmansour added a commit that referenced this pull request Apr 17, 2026
Replace hardcoded extra spaces in the URL/Code format strings with a shared `formatAlignedFields` helper that computes padding at runtime based on label widths. This ensures consistent visual alignment regardless of label length, making the output safe for future translations.

Follow-up to #1437
nooreldeenmansour added a commit that referenced this pull request Apr 17, 2026
Replace hardcoded extra spaces in the URL/Code format strings with a shared `formatAlignedFields` helper that computes padding at runtime based on label widths. This ensures consistent visual alignment regardless of label length, making the output safe for future translations.

Follow-up to #1437
nooreldeenmansour added a commit that referenced this pull request Apr 22, 2026
Replace hardcoded extra spaces in the URL/Code format strings with a
shared `formatAlignedFields` helper that computes padding at runtime
based on label widths. This ensures consistent visual alignment
regardless of label length, making the output safe for future
translations.

Follow-up to #1437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve layout of CLI login prompt without QR code

3 participants