-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add a dedicated tag widget #391
Comments
Additionally, there's some details we should hash out:
I'm sure there'll be more to discuss, but those are my initial thoughts. |
My comments!
|
Limiting tags to a list may be a good route for the initial implementation if it proves to be simpler, but ideally, specifying them in the config would be optional. @Benaiah we can optimize metadata collection as discussed in the past to simplify autocompletion. Tags per collection, and waiting for a filtered view, totally agree. |
@biilmann interested to hear your thoughts on this. |
nb. still not ready until tags supported decaporg/decap-cms#391
Here's what I'm thinking for requirements: Configuration
Tag list editing
Widget UI
|
What is the lastet on this issue? |
Actually this requires the relation widget to select values from a single entry rather than the current behavior of selecting the entire entry. There's an issue somewhere but I'm not seeing it atm. Also root level arrays in data files would also make sense with this. Sent with GitHawk |
Circling back - discussion in #1100 (comment) is probably still our best plan - handle the concept of selecting one or more values, whether from a list in the config or from other entries, with a single widget. The path forward would look something like:
This means the tags aren't in a single source-of-truth file necessarily, but they can be.
The above example would result in a select field that can select from a list of unique values used across entries in the I'd expect the above behavior to be pretty standard (selecting from the same field in other entries of the current collection), so |
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. |
Did this ever get done? |
Sort of - multi select is now supported for the select widget, so you can use that for a static list of tags defined in the config. More robust support is still forthcoming, so this should remain open. Sent with GitHawk |
Remaining work for this issue will be covered under #1489. |
- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
Tagging can be manually implemented, but it requires work for the implementation
- What is the expected behavior?
Tagging should be a built-in feature. It should include out of the box (updated with suggestions from below):
All of that said, tagging should still be a plugin feature that can be swapped out, that makes use of existing widget functionality as much as possible.
The text was updated successfully, but these errors were encountered: