[3.21] Show last used bagde only if there are more than one login method#5948
[3.21] Show last used bagde only if there are more than one login method#5948
Conversation
🦋 Changeset detectedLatest commit: 0ec73f4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
There was a problem hiding this comment.
Pull Request Overview
Backport to conditionally display the last login indicator for password logins only when multiple authentication methods are available.
- Introduces a helper constant to clarify the display condition for the last login indicator.
- Replaces inline conditional with the new variable.
- Adds a changeset entry (with a spelling issue).
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/auth/components/LoginPage/LoginPage.tsx | Adds explicit boolean for showing last login indicator and uses it in JSX. |
| .changeset/smart-singers-open.md | Adds release note (contains spelling and minor grammatical issues). |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.21 #5948 +/- ##
========================================
Coverage 65.17% 65.17%
========================================
Files 1446 1446
Lines 25065 25066 +1
Branches 5112 5113 +1
========================================
+ Hits 16335 16336 +1
- Misses 8139 8686 +547
+ Partials 591 44 -547 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Scope of the change
Backport of #5947