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

Sites navigation in "destroy" sites list is very slow #36

Open
slaFFik opened this issue Nov 9, 2024 · 1 comment
Open

Sites navigation in "destroy" sites list is very slow #36

slaFFik opened this issue Nov 9, 2024 · 1 comment

Comments

@slaFFik
Copy link
Contributor

slaFFik commented Nov 9, 2024

I configured the 1.9.0-beta2 with 4 directories set in sites_directories.
They are nested:

    "sites_directory" => [
        '$HOME/Projects',
        '$HOME/Projects/one',
        '$HOME/Projects/two',
        '$HOME/Projects/three/four',
    ],

Now, when I run wpsites destroy - I get a list of 13 sites, and the navigation between them to pick one is very slow. It's like a full 1 second or so after each arrow-down press.

image

The situation is better when the number of sites in the list is 6 (I removed the last directory for sites_directory) - so it's definitely related to the number of sites in a list.

@andrewjmead
Copy link
Owner

I tried to recreate this but I wasn't able to. Is it still an issue on your end?

It's not doing anything special when the current selection is changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants