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

Categories block limits preview to 10 categories #4022

Closed
bradyvercher opened this issue Dec 15, 2017 · 3 comments
Closed

Categories block limits preview to 10 categories #4022

bradyvercher opened this issue Dec 15, 2017 · 3 comments
Labels
[Feature] Blocks Overall functionality of blocks REST API Interaction Related to REST API [Type] Bug An existing feature does not function as intended

Comments

@bradyvercher
Copy link
Contributor

Issue Overview

On a site with 68 categories, only 10 show up in the Categories block preview in the editor.

Steps to Reproduce (for bugs)

  1. Add more than 10 categories and make sure they're assigned to posts.
  2. Insert a Categories block

Expected Behavior

I expected the preview to match the output on the frontend, where all the categories are displayed.

Screenshots / Video

Editor Preview

screen shot 2017-12-14 at 4 36 51 pm

Frontend View

screen shot 2017-12-14 at 4 37 13 pm

Categories Request

screen shot 2017-12-14 at 4 39 55 pm

@Soean Soean added the [Type] Bug An existing feature does not function as intended label Dec 15, 2017
@mtias mtias added the [Feature] Blocks Overall functionality of blocks label Jan 3, 2018
@noisysocks
Copy link
Member

We can't list all categories in the editor since the API has a hard limit of 100.

I think setting a higher limit (e.g. 50) and having the UI indicate that not all categories are being shown (e.g. by fading out) would be a good compromise between being fully WYSIWYG and performant.

@danielbachhuber danielbachhuber added the REST API Interaction Related to REST API label Jan 23, 2018
@danielbachhuber
Copy link
Member

Related #4623, #4632, #4622

@karmatosed karmatosed added this to the Merge Proposal milestone Jan 25, 2018
@westonruter
Copy link
Member

One alternative would be to use theServerSideRender proposed in #780.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks REST API Interaction Related to REST API [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants