Skip to content

Conversation

@AndreiBaicu26
Copy link
Contributor

To succesfully implement the Breadcrumbs component we would require the truncated element from UEC. We copied the component in SWC so we do not create a new dependency to UEC.

Related issue(s)

#4100

How has this been tested?

  • Test case 1
    1. Opened storybook
    2. Hover over truncated elements
    3. The tooltip appears.
  • Test case 2
    1. Opened storybook
    2. Hover over non-truncated elements
    3. The tooltip should not appear

Screenshots (if appropriate)

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2024

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.97 0.96 0.97
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this?

Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but note that the SEO scores on Netlify URLs are artifically constrained to 0.92.

Transfer Size

Category Latest Main Branch
Total 244.253 kB 228.583 kB 228.464 kB 🏆
Scripts 60.111 kB 54.282 kB 🏆 54.295 kB
Stylesheet 48.636 kB 42.448 kB 42.292 kB 🏆
Document 5.818 kB 5.141 kB 🏆 5.165 kB
Third Party 126.712 kB 126.712 kB 126.712 kB

Request Count

Category Latest Main Branch
Total 46 43 43
Scripts 35 35 35
Stylesheet 5 5 5
Document 1 1 1
Third Party 2 2 2

@AndreiBaicu26 AndreiBaicu26 requested a review from Westbrook March 5, 2024 12:05
Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

There are a couple of interactions that require testing before this code meets the higher requirements of this library, see: https://output.circle-artifacts.com/output/job/90cd7104-b24e-4b7d-ae41-865a34e8dceb/artifacts/0/coverage/lcov-report/tools/truncated/src/Truncated.ts.html

@AndreiBaicu26 AndreiBaicu26 requested a review from Westbrook March 7, 2024 15:23
@Westbrook
Copy link
Contributor

Can you catch this up to main for the review?

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2024

Tachometer results

Currently, no packages are changed by this PR...

Copy link
Contributor

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

LGTM!

@AndreiBaicu26 AndreiBaicu26 merged commit 82aca36 into main Mar 8, 2024
@AndreiBaicu26 AndreiBaicu26 deleted the abaicu/truncated branch March 8, 2024 07:39
AndreiBaicu26 added a commit that referenced this pull request Mar 8, 2024
AndreiBaicu26 added a commit that referenced this pull request Mar 8, 2024
@AndreiBaicu26 AndreiBaicu26 restored the abaicu/truncated branch March 8, 2024 10:01
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.

3 participants