Skip to content

Conversation

@StephanMeijer
Copy link
Collaborator

@StephanMeijer StephanMeijer commented Nov 15, 2025

Purpose

We can now import docx and and md files just by dropping them into the docs grid area.
To do so we added a new container "docspec", which uses the docspec service to convert these formats to Blocknote format.

Import of (markdown) documents. See #1567 #1569.

Demo

Docs.1.online-video-cutter.com.mp4

@github-actions
Copy link

github-actions bot commented Nov 15, 2025

Size Change: +18.3 kB (+0.44%)

Total Size: 4.13 MB

Filename Size Change
apps/impress/out/_next/static/3a3c8a55/_buildManifest.js 0 B -906 B (removed) 🏆
apps/impress/out/_next/static/chunks/1927.js 0 B -703 kB (removed) 🏆
apps/impress/out/_next/static/chunks/8495.js 62.6 kB +1.63 kB (+2.67%)
apps/impress/out/_next/static/09c11e27/_buildManifest.js 904 B +904 B (new file) 🆕
apps/impress/out/_next/static/chunks/3211.js 719 kB +719 kB (new file) 🆕

compressed-size-action

@github-actions
Copy link

🚀 Preview will be available at https://1609-docs.ppr-docs.beta.numerique.gouv.fr/

You can use the existing account with these credentials:

  • username: docs
  • password: docs

You can also create a new account if you want to.

Once this Pull Request is merged, the preview will be destroyed.

StephanMeijer and others added 2 commits December 3, 2025 15:10
We can now import documents in formats .docx and .md.
To do so we added a new container "docspec", which
uses the docspec service to convert
these formats to Blocknote format.

More here: #1567 #1569.
Adapt the docs grid title bar to align with the
new design. We will add a upload button in a
future iteration.
@AntoLC AntoLC force-pushed the feature/doc-import branch 4 times, most recently from ece8746 to 2282095 Compare December 3, 2025 14:38
AntoLC and others added 2 commits December 3, 2025 15:44
Add import document area with drag and drop
support in the docs grid component.
We can now import docx and and md files just
by dropping them into the designated area.

We are using the `react-dropzone` library to
handle the drag and drop functionality.
Updated docspec service image from 2.0.0 to 2.4.4 to
include latest features and bug fixes.

Signed-off-by: Stephan Meijer <[email protected]>
@AntoLC AntoLC force-pushed the feature/doc-import branch from 2282095 to eeeaa0c Compare December 3, 2025 14:45
@socket-security
Copy link

socket-security bot commented Dec 5, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedreact-dropzone@​14.3.89910010085100

View full report

Added comprehensive tests covering DocSpec converter service,
converter orchestration, and document creation with file uploads.

Tests validate DOCX and Markdown conversion workflows, error
handling, service availability, and edge cases including empty
files and Unicode filenames.

Signed-off-by: Stephan Meijer <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(DocSpec) Infrastuctural integration with La Suite (Docker Compose, Helm) (DocSpec) Integration between DocSpec and La Suite Docs

3 participants