Skip to content
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

Page hangs on search when clicking detail view in search box #2321

Closed
4 tasks done
arcqiufeng opened this issue Apr 30, 2023 · 1 comment
Closed
4 tasks done

Page hangs on search when clicking detail view in search box #2321

arcqiufeng opened this issue Apr 30, 2023 · 1 comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@arcqiufeng
Copy link

arcqiufeng commented Apr 30, 2023

Describe the bug

Maybe it is not a bug but a performance issue.

I found an alpha 75 update and couldn't wait to update it to see if the detail view issue for searches had been fixed.

The problem still exists. When the detail view is turned off (it's grayed out by default and not enabled, so don't click on it), everything is fine and works fine. When I click on the details button, the whole page stops responding.

My vitepress site has about 98 markdown files totaling about 1.70M. They are all in Chinese. Is this too heavy for local search engines?

Reproduction

Page hangs on search if click on detailview in search box

Expected behavior

Expected it works on detail mode.

System Info

npx envinfo --system --npmPackages vitepress --binaries --browsers

  System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz
    Memory: 48.61 GB / 63.73 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.64), ChromiumDev (114.0.1793.0)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vitepress: ^1.0.0-alpha.51 => 1.0.0-alpha.75

Additional context

No response

Validations

@arcqiufeng arcqiufeng added the bug: pending triage Maybe a bug, waiting for confirmation label Apr 30, 2023
@brc-dd
Copy link
Member

brc-dd commented Apr 30, 2023

Duplicate of #2262

@brc-dd brc-dd marked this as a duplicate of #2306 Apr 30, 2023
@brc-dd brc-dd closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2023
@brc-dd brc-dd marked this as a duplicate of #2262 Apr 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants