Skip to content

UN-4505 [DEV] Add the v1 DocumentViewer with toolbar, zoom, keys and scroll handle - #2408

Open
muhammad-ali-e wants to merge 21 commits into
UN-4504-v1-pdf-highlightsfrom
UN-4505-v1-pdf-toolbar
Open

muhammad-ali-e wants to merge 21 commits into
UN-4504-v1-pdf-highlightsfrom
UN-4505-v1-pdf-toolbar

UN-4505 Drop a waiting scroll as soon as the source changes

9ca6a28
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 3, 2026 in 1m 22s

Annotations

Check warning on line 320 in frontend/src/v1/components/patterns/document-viewer/PdfPageList.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Non-interactive elements should not be assigned mouse or keyboard event listeners.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJYR7DYswbAG0VvN&open=AaGGsJYR7DYswbAG0VvN&pullRequest=2408

Check warning on line 45 in frontend/src/v1/components/patterns/document-viewer/ViewerToolbar.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJZ27DYswbAG0VvP&open=AaGGsJZ27DYswbAG0VvP&pullRequest=2408

Check warning on line 162 in frontend/src/v1/components/patterns/document-viewer/PdfPageList.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJYR7DYswbAG0VvM&open=AaGGsJYR7DYswbAG0VvM&pullRequest=2408

Check warning on line 312 in frontend/src/v1/components/patterns/document-viewer/PdfPageList.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`tabIndex` should only be declared on interactive elements.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJYR7DYswbAG0VvO&open=AaGGsJYR7DYswbAG0VvO&pullRequest=2408

Check warning on line 11 in frontend/src/v1/lib/pdf/zoom.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=Zipstack_unstract&issues=AaGGsJZ77DYswbAG0VvT&open=AaGGsJZ77DYswbAG0VvT&pullRequest=2408

Check warning on line 115 in frontend/src/v1/components/patterns/document-viewer/ViewerToolbar.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJZ27DYswbAG0VvR&open=AaGGsJZ27DYswbAG0VvR&pullRequest=2408

Check warning on line 118 in frontend/src/v1/components/patterns/document-viewer/DocumentViewer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJZ47DYswbAG0VvS&open=AaGGsJZ47DYswbAG0VvS&pullRequest=2408

Check warning on line 66 in frontend/src/v1/components/patterns/document-viewer/ViewerToolbar.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGGsJZ27DYswbAG0VvQ&open=AaGGsJZ27DYswbAG0VvQ&pullRequest=2408