Skip to content

Add Notion import #1050

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

Draft
wants to merge 74 commits into
base: feature/doc-dnd
Choose a base branch
from

Conversation

clarani
Copy link

@clarani clarani commented Jun 3, 2025

⚠️ THIS PR IS STILL A DRAFT ⚠️

🌟 Contributors: @emersion @Tguisnet @Castavo @NicolasRitouet @clarani
💻 Project of the Hack Days Hackathon

Purpose

The goal of this feature is to allow users to import notion workspace into Docs in 1 clic.

The user can connect to Notion by clicking on a button, select the pages he/she wants to import and the pages are directly imported into Docs.
A progress bar displays the import progression.

A lot of Notion block types are handled:

  • column
  • heading
  • text and text formatting
  • checkbox
  • bullet and numbered list
  • child page
  • callout
  • images

The unsupported blocks are replaced by a textual warning. The database pages from Notion are ignored since Docs does not handle databases for the moment.

For later

  • The import is quite long since the Notion API is slow. An improvement would be to make the import run in the background.
  • We don't not handle the import errors for the moment.

emersion and others added 30 commits June 2, 2025 17:00
Warning : there's a gotcha in the framework, see READMEs in code
Signed-off-by: Baptiste Prevot <[email protected]>
We don't want to copy this over to the Docker daemon, since this
directory can be quite large.
Without this, Podman will not use the built image when starting the
project.
Signed-off-by: Baptiste Prevot <[email protected]>
@emersion
Copy link
Contributor

emersion commented Jun 5, 2025

Ref #1049 which adds custom blocks support to y-provider.

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.

6 participants