Skip to content

🐛(frontend) Handle Breadcrumbs overflow - #695

Open
PanchoutNathan wants to merge 2 commits into
mainfrom
fix/8
Open

🐛(frontend) Handle Breadcrumbs overflow#695
PanchoutNathan wants to merge 2 commits into
mainfrom
fix/8

✨(frontend) collapse breadcrumbs when they overflow

1f7e3a6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 30, 2026 in 55s

Annotations

Check warning on line 64 in src/frontend/apps/e2e/__tests__/app-drive/breadcrumbs-overflow.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=suitenumerique_drive&issues=AZ3ZUAkXfDERzwLpksIs&open=AZ3ZUAkXfDERzwLpksIs&pullRequest=695

Check warning on line 144 in src/frontend/apps/drive/src/features/ui/components/breadcrumbs/Breadcrumbs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=suitenumerique_drive&issues=AZ3ZgJvrspj1wY140iNB&open=AZ3ZgJvrspj1wY140iNB&pullRequest=695

Check failure on line 182 in src/frontend/apps/drive/src/features/explorer/components/embedded-explorer/EmbeddedExplorerGridBreadcrumbs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=suitenumerique_drive&issues=AZ3ZUAo7fDERzwLpksIt&open=AZ3ZUAo7fDERzwLpksIt&pullRequest=695

Check warning on line 132 in src/frontend/apps/drive/src/features/ui/components/breadcrumbs/Breadcrumbs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=suitenumerique_drive&issues=AZ3ZgJvrspj1wY140iNA&open=AZ3ZgJvrspj1wY140iNA&pullRequest=695