-
Notifications
You must be signed in to change notification settings - Fork 40
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
[UX] Remove ordering/weight from the vocabularies listing page & style consistently with other admin pages #2029
Comments
One of the reason, display taxonomy terms we need taxonomy menu tree order by weight. But in this vocabularies orderable ui when there are a lot of terms, the reordering fails. Remaining tasks might include a more integrated solution or kill the tabledrag on this page. |
I'm not talking about terms, but the vocabularies themselves. |
Yes, I have no reason to keep it. |
I don't see any reason either. Drop tabledrag and order alphabetically. |
I created a pr, but I wasn't sure what to replace 'draggable' with so I replaced it with an empty string for now, what should I do now? |
@arjunK2004 we should also remove the weight field from the |
...actually, I don't see why this page should be a form any more if we remove the ordering/weight. |
FTR, this is also being deprecated in D8: https://www.drupal.org/project/drupal/issues/3008064 |
Nice, let's kill the form too :) that might make this no longer a good
first issue... But we'll see!
…On Sat, Jun 15, 2019, 6:40 AM Gregory Netsas ***@***.***> wrote:
Does this order / value do anything on Backdrop sites?
FTR, this is also being deprecated in D8:
https://www.drupal.org/project/drupal/issues/3008064
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2029?email_source=notifications&email_token=AADBER4UWNPCJ4JKV26DLZTP2TWLBA5CNFSM4CKVY3R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYYM3Y#issuecomment-502367855>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBER7CQHD5WUOVJU344YDP2TWLBANCNFSM4CKVY3RQ>
.
|
Yep, @arjunK2004 do you still feel like giving it a crack? |
@jenlampton can you please have a look at the comment in https://www.drupal.org/project/drupal/issues/3008064#comment-12824205 and also the use case in https://www.drupal.org/project/drupal/issues/7684 and let me know what you think re these? Are they too "specific"? My concern is that if we completely remove vocabulary weight, we may be breaking people's sites that rely on this functionality; and if the weight of vocabularies is indeed used, we'd be removing the option for people to be able to adjust that via the admin UI. Having said the above, I have searched for |
... So I wonder how one would achieve this (and if it is possible):
|
@klonos my instinct is that removing these things is still fine for Backdrop, but you do make me hesitate about whether we should do it in 1.x or first deprecate it, but wait till 2.x to do the actual removal.
Theres no information here about what the "filters" are, but from the screenshot, I'd guess they are on a view? Those filters are usually ordered by their position in the views UI, and in order to do do something different we are already in the land of custom-coding, so this is not something that should be supported in core anyway.
Hm, this brings up another thought... Do we have a "weight" in the vocabulary json file? If so, should we remove that too? This now becomes an API change. Maybe a follow-up issue? However... The use-case here would not work in Backdrop anyway because the vocabulary weight is no longer in the database. Someone would need to add special handling to get the vocabulary data from config (its not a db join anymore). |
I was thinking that we can deal with the UI bit in this issue here, and do it in 1.x. Then file a follow-up for deprecation/removal of API-related things. |
Wan't clear if this needed testing. But, I took a look in the sandbox and played around for a bit. Works for me! |
Depending on which change gets merged first, either the PR for this issue or for #3402 will need to be updated accordingly. |
Thanks for working on this @docwilmot 🙏🏼 ...a couple of minor comments left in the PR, but otherwise looks good 👍🏼 |
The PR looks good to me too, I've left a few comments in the PR as well for a (micro)performance optimization. |
Fixed |
This is RTBC from me now, but I expect it will conflict with #3402. Whichever gets in first, the other may need to be updated. |
Thanks for filing this @jenlampton, and for the various PRs over the years @docwilmot, @arjunk04, and @klonos. Feedback and testing by all of you and @Hipfox, @BWPanda, and @stpaultim appreciated. Good job closing out an issue from 5+ years ago! 🎉 I've merged backdrop/backdrop#3703 into 1.x and 1.19.x. |
Is this left over from Drupal 6 when they all used to be thrown into the same form element? Does this order / value do anything on Backdrop sites? If not, can we please kill the tabledrag on this page? It's confusing to users.
PR by @arjunK2004: backdrop/backdrop#2736PR by @klonos: backdrop/backdrop#2749PR by @klnoos (created by jenlampton) backdrop/backdrop#3127PR by @docwilmot (based on above PR) backdrop/backdrop#3703
The text was updated successfully, but these errors were encountered: