Skip to content

feat(react): add middle-ellipsis-text component for text truncation#75

Open
chakrihacker wants to merge 7 commits intomainfrom
UIC-548-add-middle-truncate
Open

feat(react): add middle-ellipsis-text component for text truncation#75
chakrihacker wants to merge 7 commits intomainfrom
UIC-548-add-middle-truncate

Conversation

@chakrihacker
Copy link
Contributor

Changes

Please describe both what is changing and why this is important. Include:

  • Add Text Truncation for SSO Provider attributes to use middle ellipses, instead of end
Screen.Recording.2026-02-04.at.3.55.06.PM.mov

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

🚀 Preview deployment

Branch: refs/pull/75/merge
Commit: 9902e6b

📝 Preview URL: https://auth0-universal-components-l3np95jbi-okta.vercel.app


Updated at 2026-02-17T15:12:19.137Z

@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 92.72727% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.34%. Comparing base (546a888) to head (ecb39a7).
⚠️ Report is 34 commits behind head on main.

Files with missing lines Patch % Lines
...c/components/auth0/shared/middle-ellipsis-text.tsx 95.00% 5 Missing ⚠️
...s/react/src/components/auth0/shared/data-table.tsx 70.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   84.30%   86.34%   +2.04%     
==========================================
  Files         137      138       +1     
  Lines       11617    12006     +389     
  Branches     1500     1630     +130     
==========================================
+ Hits         9794    10367     +573     
+ Misses       1823     1639     -184     

☔ 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.

@chakrihacker chakrihacker added the bug Something isn't working label Feb 6, 2026
@@ -0,0 +1,142 @@
import * as React from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as per the new structure this should be under components/auth0/shared

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments