Skip to content
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

feat(breadcrumbs): added ellipsis #1301

Merged
merged 10 commits into from
Apr 28, 2024
Merged

Conversation

hoshico
Copy link
Contributor

@hoshico hoshico commented Apr 27, 2024

Closes #987

Description

made it possible to select BreadcrumbEllipsis(ellipsis).

New behavior

The places where ellipsis is used will display as ••• instead of text

Is this a breaking change (Yes/No):

No

@hoshico hoshico changed the base branch from main to v1.4 April 27, 2024 04:48
Copy link

codecov bot commented Apr 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.97%. Comparing base (4abbdab) to head (d5f9ce4).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1301      +/-   ##
==========================================
+ Coverage   91.96%   91.97%   +0.01%     
==========================================
  Files         405      405              
  Lines       61432    61470      +38     
  Branches     4060     4064       +4     
==========================================
+ Hits        56496    56540      +44     
+ Misses       4928     4922       -6     
  Partials        8        8              
Files Coverage Δ
packages/components/breadcrumb/src/breadcrumb.tsx 98.49% <100.00%> (+2.84%) ⬆️
packages/components/breadcrumb/src/index.ts 100.00% <100.00%> (ø)

@hirotomoyamada hirotomoyamada changed the base branch from v1.4 to main April 27, 2024 06:58
Copy link
Member

@taroj1205 taroj1205 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

Could you fix the spelling error in line 29 and 45 in test?
propertie -> property

We don't need template literals if interpolation and special-character handling are not needed.
Line 21 in breadcrumb.tsx

name: `BreadcrumbContext`,

should be name: "BreadcrumbContext",

@taroj1205 taroj1205 self-requested a review April 28, 2024 09:50
taroj1205
taroj1205 previously approved these changes Apr 28, 2024
Copy link
Member

@taroj1205 taroj1205 left a comment

Choose a reason for hiding this comment

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

LGTM

@taroj1205 taroj1205 self-requested a review April 28, 2024 20:33
@hirotomoyamada hirotomoyamada merged commit 4e60d16 into main Apr 28, 2024
5 checks passed
@hirotomoyamada hirotomoyamada deleted the feat/breadcrumb-ellipsis branch April 28, 2024 21:25
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.

Enable truncation in the Breadcrumb component
3 participants