-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TPA skeleton loader #1189
Fix TPA skeleton loader #1189
Conversation
6aab063
to
1227568
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1189 +/- ##
==========================================
+ Coverage 84.20% 84.22% +0.01%
==========================================
Files 126 126
Lines 2393 2396 +3
Branches 679 680 +1
==========================================
+ Hits 2015 2018 +3
Misses 358 358
Partials 20 20 ☔ View full report in Codecov by Sentry. |
1227568
to
7173933
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking intended behavior.
<Icon src={Institution} className="institute-icon" /> | ||
{formatMessage(messages['enterprise.login.btn.text'])} | ||
</Hyperlink> | ||
)} | ||
|
||
{thirdPartyAuthApiStatus === PENDING_STATE ? ( | ||
<Skeleton className="tpa-skeleton" height={36} count={2} /> | ||
{thirdPartyAuthApiStatus === PENDING_STATE || true ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not mistaken, this expression will always evaluate to true
because ===
has a higher precedence than ||
(reference). Is it the intended behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was my testing code and was accidentally merged. The latest commit in the PR doesn't have it.
380c7c4
to
3b6778e
Compare
* feat: update TPA skeleton * fix: Prevent wrong appearance of skeleton after second tab click --------- Co-authored-by: Stanislav Lunyachek <[email protected]>
Description
There are two changes in this PR
JIRA
VAN-1837
How Has This Been Tested?
Locally
Screenshots/sandbox (optional):
Merge Checklist
Post-merge Checklist