diff --git a/CHANGELOG.md b/CHANGELOG.md
index e933ca54..4ddf0ce2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
## [Unreleased]
## Changed
@@ -15,6 +14,9 @@ and this project adheres to
- π(doc) minor README.md formatting and wording enhancements
- β»οΈStop setting a default title on doc creation #634
+## Fixed
+
+- β»οΈ(frontend) improve table pdf rendering
## [2.2.0] - 2025-02-10
@@ -35,7 +37,6 @@ and this project adheres to
- π(frontend) fix cursor breakline #609
- π(frontend) fix style pdf export #609
-
## [2.1.0] - 2025-01-29
## Added
@@ -51,7 +52,7 @@ and this project adheres to
## Changed
- π(frontend) add abilities on doc row #581
-- π(frontend) improve DocsGridItem responsive padding #582
+- π(frontend) improve DocsGridItem responsive padding #582
- π§(backend) Bump maximum page size to 200 #516
- π(doc) Improve Read me #558
@@ -63,7 +64,6 @@ and this project adheres to
- π₯(backend) remove "content" field from list serializer # 516
-
## [2.0.1] - 2025-01-17
## Fixed
@@ -118,12 +118,11 @@ and this project adheres to
- β‘οΈ(e2e) reduce flakiness on e2e tests #511
-
## Fixed
+
- π(frontend) update doc editor height #481
- π(frontend) add doc search #485
-
## [1.9.0] - 2024-12-11
## Added
@@ -145,21 +144,18 @@ and this project adheres to
- π(frontend) Fix hidden menu on Firefox #468
- π(backend) fix sanitize problem IA #490
-
## [1.8.2] - 2024-11-28
## Changed
- β»οΈ(SW) change strategy html caching #460
-
## [1.8.1] - 2024-11-27
## Fixed
- π(frontend) link not clickable and flickering firefox #457
-
## [1.8.0] - 2024-11-25
## Added
@@ -188,7 +184,6 @@ and this project adheres to
- π(frontend) users have view access when revoked #387
- π(frontend) fix placeholder editable when double clicks #454
-
## [1.7.0] - 2024-10-24
## Added
@@ -216,7 +211,6 @@ and this project adheres to
- π₯(helm) remove infra related codes #366
-
## [1.6.0] - 2024-10-17
## Added
@@ -239,7 +233,6 @@ and this project adheres to
- π(backend) fix nginx docker container #340
- π(frontend) fix copy paste firefox #353
-
## [1.5.1] - 2024-10-10
## Fixed
@@ -274,7 +267,6 @@ and this project adheres to
- π§(backend) fix configuration to avoid different ssl warning #297
- π(frontend) fix editor break line not working #302
-
## [1.4.0] - 2024-09-17
## Added
@@ -295,7 +287,6 @@ and this project adheres to
- π(backend) Fix forcing ID when creating a document via API endpoint #234
- π Rebuild frontend dev container from makefile #248
-
## [1.3.0] - 2024-09-05
## Added
@@ -320,7 +311,6 @@ and this project adheres to
- π₯(frontend) remove saving modal #213
-
## [1.2.1] - 2024-08-23
## Changed
@@ -328,7 +318,6 @@ and this project adheres to
- β»οΈ Change ordering docs datagrid #195
- π₯(helm) use scaleway email #194
-
## [1.2.0] - 2024-08-22
## Added
@@ -352,14 +341,14 @@ and this project adheres to
- β‘οΈ(CI) only e2e chrome mandatory #177
## Removed
-- π₯(helm) remove htaccess #181
+- π₯(helm) remove htaccess #181
## [1.1.0] - 2024-07-15
## Added
-- π€‘(demo) generate dummy documents on dev users #120
+- π€‘(demo) generate dummy documents on dev users #120
- β¨(frontend) create side modal component #134
- β¨(frontend) Doc grid actions (update / delete) #136
- β¨(frontend) Doc editor header information #137
@@ -370,12 +359,11 @@ and this project adheres to
- β»οΈ(frontend) create a doc from a modal #132
- β»οΈ(frontend) manage members from the share modal #140
-
## [1.0.0] - 2024-07-02
## Added
-- π(frontend) Manage the document's right (#75)
+- π(frontend) Manage the document's right (#75)
- β¨(frontend) Update document (#68)
- β¨(frontend) Remove document (#68)
- π³(docker) dockerize dev frontend (#63)
@@ -409,7 +397,6 @@ and this project adheres to
- π(CI) Remove trigger workflow on push tags on CI (#68)
- π₯(frontend) Remove coming soon page (#121)
-
## [0.1.0] - 2024-05-24
## Added
@@ -417,7 +404,6 @@ and this project adheres to
- β¨(frontend) Coming Soon page (#67)
- π Impress, project to manage your documents easily and collaboratively.
-
[unreleased]: https://github.com/numerique-gouv/impress/compare/v2.2.0...main
[v2.2.0]: https://github.com/numerique-gouv/impress/releases/v2.2.0
[v2.1.0]: https://github.com/numerique-gouv/impress/releases/v2.1.0
diff --git a/src/frontend/apps/impress/package.json b/src/frontend/apps/impress/package.json
index a6a0d29e..290c80a8 100644
--- a/src/frontend/apps/impress/package.json
+++ b/src/frontend/apps/impress/package.json
@@ -15,6 +15,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
+ "@ag-media/react-pdf-table": "2.0.1",
"@blocknote/core": "0.23.2",
"@blocknote/mantine": "0.23.2",
"@blocknote/react": "0.23.2",
diff --git a/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx b/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx
index 5faf70a8..8e99b2db 100644
--- a/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx
+++ b/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx
@@ -27,6 +27,8 @@ import { Doc } from '@/features/docs/doc-management';
import { TemplatesOrdering, useTemplates } from '../api/useTemplates';
import { downloadFile, exportResolveFileUrl } from '../utils';
+import { Table } from './blocks/Table';
+
enum DocDownloadFormat {
PDF = 'pdf',
DOCX = 'docx',
@@ -114,6 +116,7 @@ export const ModalExport = ({ onClose, doc }: ModalExportProps) => {
: 1.17;
return (