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

Bulk Add Terms #2

Open
fireproofsocks opened this issue Oct 24, 2014 · 1 comment
Open

Bulk Add Terms #2

fireproofsocks opened this issue Oct 24, 2014 · 1 comment
Assignees

Comments

@fireproofsocks
Copy link
Member

It would save some serious time if you could add terms in bulk (e.g. from the CMP or on each Term page).

The functionality should be this:

On each Term page, include a button/link for "Quick Add". When clicked, this should pop open a modal window.

The contents of the modal window should be:

  1. A dropdown at the top listing all available Taxonomies.
  2. A textarea showing existing terms (with an X so they can be removed) and you can type in new terms. This would look very much like the "Sports" bit done for StrengthCard.

When a new taxonomy is selected in the dropdown, this should cause the page to be populated with the terms that are immediate children of the selected parent taxonomy.

On each term, there need to be 2 clickable areas:

  • Term Name: this "selects" the term and causes the list to update to show the children of the given term (something like "breadcrumbs" in Lunchbox).
  • X: this should delete the term.

All Ajax requests should return JSON data. Furthermore... I think that the parent taxonomy has all the information we need CACHED in its properties, so the responses should be really quick.

The trick will be to quickly and easily trigger the onUpdate or onDelete actions that do the heavy lifting of writing all the cache data into the resource properties.

@fireproofsocks
Copy link
Member Author

See the cmp branch. The current state of the code on the branch does not meet the requirements here. The UX isn't clean or efficient.

To clarify:

  1. On each Term page, include a button/link for "Quick Add". When clicked, this should pop open a modal window. We have a "Pages" tab on each Term page. The "Quick Add" button needs to appear there.
  2. On each Page that shows Taxonomies (i.e. on the Taxonomies tab), we need to have buttons for this Quick Edit feature. The button should be next to each taxonomy on the page.
  3. The CMP lists the available taxonomies, but y ou have to select the taxonomy again from the dropdown field. It's bad UX to have to select the thing twice.

See the attached :
taxonomies-quickedit

a) the terms should be auto-loaded when a taxonomy is selected.
b) when you click on a term, the window should navigate deeper into the hierarchy: the window shows ONLY the immediate children of the selected taxonomy or term.
c) when the X is clicked on a term, it is removed.
d) adding a new term should be triggered by typing a comma "," -- you can also have an "Add" button too (like the current solution).

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

2 participants