Skip to content

Add Notion import #1050

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 63 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
Copy link
Contributor

emersion commented Jun 5, 2025

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

@emersion emersion force-pushed the feature/doc-dnd branch 2 times, most recently from 645bfcc to d3685ef Compare June 22, 2025 08:59
Copy link

gitguardian bot commented Jun 22, 2025

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@emersion
Copy link
Contributor

Note, this depends on #701 for nested documents.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants