-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Column data links to trigger filters in back-end tables #1716
Comments
Looking at the Categories panel, the links from there to the articles panel use "categories" as the search criteria. There's no option to search one or the other, so that makes that an easy win. I've updated the OP to reflect this. We could actually do this in 4.8.8 if we can come up with a sort of convention so people know that clicking the link will filter the content on the Articles panel, rather than opening the Categories panel (or whichever panel the link refers). |
Well, we have have the following text string in 4.8.8 now...
...so that can be the tooltip and EDIT: I'd have to move that string to 'admin-side' or (probably preferable) to 'common' but since I haven't synced it to Crowdin yet that's trivial. |
I'm all for it then. If you could kindly move that string to either admin-side or common depending on whether this is applicable on the front-end too, I'll have a play with the Articles panel later and we can see if we like it. EDIT: Then again, see below. |
Actually, hang on. We don't know in each row how many of these are actually available so this string isn't much use here. The |
Is it a problem to introduce a counter? Would be handy for UX I think. |
Also, since our multi-edit actions are performed by Ajax, we'd have to make sure we recalculate the counters in case you delete articles or mass reassign categories. It may be wired up to do that already and just returns the entire (paginated) HTML block that we replace. Not sure; would have to test it. A counter that joins the articles table to the category table (and sections table, and user table, and tags table in future) might make the query pretty heavy. |
This would be the most consistent behaviour.
Initially it was, but when thinking about it further it would be useful to keep it permanently visible.
If this proves problematic, we could just settle for the category link being the search filter, with a simple tooltip. However, the ideal UX would be the edit/filter combination IMO, as you suggested. |
Okay, let's leave string wrangling alone for now. I'll tinker with the panel to see what's possible. If the query turns into a tyrannosaurus rex wading through treacle when we start getting to a few thousand articles, we'll abandon it and just try the filter approach with a generic tooltip term, and no counter. |
In various panels, there's an opportunity to make more items in each row clickable. e.g. on the Articles panel:
Considerations:
When filtering by article category, which do we filter by? Only the corresponding category (1 or 2) depending on what's been clicked? Or filter by both all the time? Or somehow permit both. Also project forward to when we repurpose Keywords as Tags. What will we display on the panel here, and what would clicking a tag (if we permit that or even show the column) do?Lots to think about, but if we're careful and consistent, this can be an asset to back-end navigation and/or content management.
The text was updated successfully, but these errors were encountered: