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

Display of all available taxonomy terms and their type when editing a page #50

Open
mandy-kate opened this issue Feb 1, 2018 · 8 comments

Comments

@mandy-kate
Copy link

Hi, this question came up in our team and we are keen to have a discussion/see if others have experienced the same thing

As a content editor I want to easily see all available taxonomy terms associated with a site (and their taxonomy type) so I know which options are available to choose from when associating terms to a page

Currently the documentation suggests using the gridfield editor and the autocompleter to add and remove terms to a page. Which is fine but relies on knowing which terms are available to search for

We spoke with our UX designer who suggested - as a potential option - a dropdown field showing available taxonomy terms and their type. See screenshots attached with the current state and start of a potential solution, thanks.

current_state

available taxonomy terms dropdown

taxonomytermdropdownfield

@robbieaverill
Copy link
Contributor

This sounds like the feature requested at #4

@mandy-kate
Copy link
Author

mandy-kate commented Feb 1, 2018

I think...#4 is a feature for someone visiting the site. This issue is relating to a content editor using the cms backend and the ease they can associate terms with a page

@robbieaverill
Copy link
Contributor

cc @clarkepaul @sachajudd for consideration

@clarkepaul
Copy link

This functionality is already available in the CMS as a component (called multi tree dropdown field or something similar).
We just haven't swapped out the old "Link existing" feature to use the newer functionality (which is a React component). This also isn't in our to-do list, and should probably be added into the mix :)

Component which already exists:
image

@mandy-kate
Copy link
Author

OK thanks, do you mean this functionality is already available with SilverStripe 4?

@robbieaverill
Copy link
Contributor

That component is available in core. We could potentially implement it into the taxonomy module in the SS4 version by default. Do you think that example would solve your problem @mandy-kate?

@mandy-kate
Copy link
Author

Hard to say either way without trying it out? From looking at the screenshot it seems that it would? We are using silverstripe 3 though - and wont be upgrading for at least another few months

I found a component 'TreeMultiselectField' but its not the react component you refer to

@clarkepaul
Copy link

I don't get into the React dev side so not sure where or how to activate the React version of that component but its only available in SS4. Basically there is the older "Chosen" tree dropdown which I think you have found, and we now have a react variation which uses https://jedwatson.github.io/react-select/ as a base (although we have customised it a bit for our need). You can see a example of it in action in the files area used to move a file (demo.silverstripe.org/admin).
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants