logseq / logseq/db-test

Importing an empty page with one tag from EDN does take 11 seconds

Open
#994 0 comments 0 reactions 1 assignee View on GitHub

@megayu is already working on this.

Since Jul 14, 2026.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

I think that's way too long. A user can't understand why it's taking so long. It should be instant.

Demo: https://youtu.be/2jwlVf3FZtI?si=P3fdsN7cI0IIy74f&t=1

### Reproduce the Bug

1. Import from EDN

```
{:pages-and-blocks
[{:page
{:build/tags #{:user.class/Firma-HacVBUZC}, :block/title "Apfel"},
:blocks [{:block/title ""} {:block/title ""}]}],
:classes {:user.class/Firma-HacVBUZC {:block/title "Firma"}},
:logseq.db.sqlite.export/export-type :page}
```

### Expected Behavior

The task should be completed instandly.

There should be an option to go to the new page. Maybe move me there, or better show notification "Page X sucessfully imported. **Go to page**"

WHEN imports or any other task in UI take longer than half a second, show progress bar. The user thinks the program hangs when nothing happens!

### Screenshots

_No response_

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

NixOS 26.05.4193.a50de1b7d8a5
Logseq-linux-x86_64-2.0.1-alpha+nightly.20260710

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.