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

New Page Dialogue Slow to Select Parent #906

Open
trst opened this issue Dec 29, 2016 · 2 comments
Open

New Page Dialogue Slow to Select Parent #906

trst opened this issue Dec 29, 2016 · 2 comments

Comments

@trst
Copy link

trst commented Dec 29, 2016

I have a blog with a few hundred posts (and growing) set as children to the home page. When creating a new Post, the drop down for Parent takes ages to load and has an adverse affect on the UI of the form. Performance is fine until the drop down is active.

I can think of a few work arounds:

  1. Limit how many pages are available before searching or using a plain text input
  2. Providing some mechanism to designate pages that can be parents (explicitly in frontmatter, perhaps?)
  3. Allowing some way of creating a page directly under a specified parent (perhaps as an interface plugin to add another button)

Thoughts?

@flaviocopes
Copy link
Contributor

I tested with 400+ pages and beside a slower loading of Admin (1.5s vs 0.7 with a few pages), to me the select opens quite fast (maybe 200ms of delay). On Firefox. Can you make a small screencast? Which browser are you using?

Anyway determining which pages can be parents, is a good idea to me, for example for a blog I'd never (or almost never) use a blog post as a parent. Maybe limited to some page types (e.g. I choose a blog post (Item), the parent must be a Blog page.

@trst
Copy link
Author

trst commented Dec 30, 2016 via email

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