-
-
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
Entry Card Customization #2019
Comments
I've just hit the exact same problem. The solution is to allow interpolation in |
Another example: There are a collection of items with two fields: |
As @Undistraction mentioned above, even if I didn't have access to that subtext as I showed in my screen shots, but just interpolation -- that'd be a huge help! |
I'm having a go at it here: campus-online#9 I too was bothered with by this omission in if interest is enough, and with help for better warning: although |
@leonardodino I think it would be awesome to have that as a PR to this issue. This might be a good beta version feature at the least. |
We should have some consensus on the resulting API before time is invested in a PR (unless the PR is a proof of concept, or you're okay with potentially having a big change request on your PR). |
I saw this feature cited in the Unfortunately I'm afraid that I cannot help right now. 😕 I added a comment on a related issue, that showcases the final result of my implementation. that example, especially the |
Thanks for that @leonardodino!! |
I do have some code done, with examples below, but I'm too short on time right now to contribute it back. If anyone is interested, please don't hesitate to copy (: and contribute it upstream here. (or just use it, if time is also a constrain). examples
|| codeall the code is open-sourced at: the most relevant PR for this feature is campus-online#9 the "whole" code for the author card (the simplest one) is here. |
A little new to the whole OS thing.. Could I just take @leonardodino's implementation and open a PR with it? I'm sure I'd need to run some integrations tests, etc to make sure nothing is broken, but as long as I'm giving him due creds, would it help to get this feature out there? I'm finding that it would be super useful and would love to contribute somehow. |
@adamtaylor13 You can take the code, no problem and no creds needed (: People here were still discussing what's the best approach, so it may have some revisions from my approach. |
This was fixed in #2140. More advanced customization would be cool in the future, but the original request here is satisfied. |
👋everyone! I'm using the Netlify CMS within Gatsby; and have run into an issue for our admins around "clarity" of content.
One of the collections on our site is a documentation area. Within that are sections (or categories) that each of these "Documentation Article" collections are mapped to. Within each; there are like-named articles, such as "Overview" or "Authentication" where within the context of the frontend layout make perfect sense, but within the admin look like the same article:
I've gotten around the admin slugs by utilizing the slug param; like
slug: "{{section}}__{{title}}"
which has worked fine.Describe the solution you'd like
Ideally, what I'd like to do is show the section (or some other piece of data) alongside that title so content editors know what they're editing; without having to remember to look at the URL bar on hover.
I've read through the custom widgets tutorial but was having trouble figuring out if there was an easy way to extend those entry cards. I believe I've tracked down the render of each to https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-core/src/components/Collection/Entries/EntryCard.js but am unsure of how to add in my own logic there.
Any help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: