-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Post listing grid view boxes too big #1341
Comments
Yeah, they were never supposed to stay that way, more info should definitely be shown in the grid boxes - same goes for list view, too. |
What info should be there. I can pick it up (I mean make a PR) |
Awesome! We still need design, so I'm not certain this is ready to roll, but feel free to take a swing. We'll want to use inferred fields, which try to smartly determine things like author, date, etc, for each entry. There's a set of constants that show what fields are being inferred, and you can see how inferred fields are already used to get the entry title here: |
Is there a structure of how it should be displayed and what content should be inside? Also, the inferred constants don't have a date field, that would be useful in the boxes. |
That's why I mentioned the need for design here. As far as what to display, I'd just go with the available inferred fields, namely
Agreed, but I'd recommend opening a separate issue and handling that in a different PR to keep this moving. Determining what fields to infer the date from and how best to display it would slow this PR down unnecessarily. |
See old grid card design with images here: https://0-7-6--cms-demo.netlify.com/#/collections/posts |
According to this design We have:
and sometimes a user might add more widgets to the collection and showing all the content on the gird can get messy. Is there some rules or prioritization for NetlifyCMS that only selected content will be shown? |
No, back then we just showed everything but cut off the overflow. |
Hmm... 🤔 What if we design every element which will be shown on the grid or list view, but we will add the option where users can select which content they want to see, the same concept can be used for list and grid view. |
That's always been the plan, just hasn't been a priority. |
Anyone working on this? Would really like to see image preview in my collections. Happy to contribute. |
It's currently not claimed by anyone |
@charlie-s we'd love the contribution - comment here or in Gitter if you have any questions while checking this out. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Following up on @mittalyashu comment, how about just a list of field names to be shown? Or has this box more config options already? |
- Do you want to request a feature or report a bug?
Feature
- What is the current behaviour?
Grid boxes for post listing are too big if they only display title
- If the current behaviour is a bug, please provide the steps to reproduce.
- What is the expected behaviour?
Boxes should add more information about the post or become smaller
The text was updated successfully, but these errors were encountered: