Shortcut module puts a form for settings alongside my user account at user/%user/shortcuts

This is wrong.
Things I can edit that are to do with my account and my personal use of Drupal go below user/%user/edit -- such as which theme I use, which blocks I see, etc.
The shortcuts form should either go below user/%user/edit as a tab, or as a fieldset inside user/%user/edit.
I think the latter is preferable, as it's a form with just a single field.

Comments

bleen’s picture

Priority: Critical » Normal
StatusFileSize
new9.44 KB

I'm not sure that this is a critical issue ... but I agree that the user shortcut settings should be moved. This patch does exactly that...

bleen’s picture

Status: Active » Needs review

Here testbot ... here boy

bleen’s picture

Issue tags: +#d7ux
StatusFileSize
new9.44 KB

I had a small error in my original patch ("edit" links were not working properly next to the shortcut set names) ... this patch fixes it

bleen’s picture

StatusFileSize
new9.41 KB

Blaaarg! Whitespace (I swear I'm getting better about this)

bleen’s picture

Issue tags: +Usability

adding tag so it shows up in usability queue (not sure why #d7ux didn't do the trick)

David_Rothstein’s picture

Subscribing. It does seem to make sense to at least make it a tab.

I haven't looked too carefully at the patch, but there's a bit of a tricky issue here - for site administrators, they need to sometimes be able to view shortcut sets outside of the context of an individual user account, whereas for non-site-administrators, they need to be able to have a clear place that they get redirected to (within their user account) to when they click the "edit shortcuts" link in the toolbar.

Also, to the extent that an overall strategy for the UI is being discussed at #680500: Shortcuts violate Drupal UI standards, that issue is probably relevant for this one.

jhodgdon’s picture

Status: Needs review » Needs work

Just as a note: The OpenID module also puts its form on the same level as the existing Shortcuts module. So if you are going to make this fix, it should apply to OpenID as well. Both are doing similar things (editing settings related to your acocunt).

David_Rothstein’s picture

That's true, and contrib modules put a lot of editable things up there too. It's not clear there's an overall standard. Basically, in the absence of a standard, it seems like only things that are supposed to be "visible" should be in the top level like that.

Probably neither shortcuts nor OpenID need to be particularly visible, so could be underneath the edit page, as its own tab.

bleen’s picture

Version: 7.x-dev » 8.x-dev

clearly this isnt happening in D7

Bojhan’s picture

From my point of view this is the correct decision, we want to core adhere to this standard. If we can get a code review on this its RTBC from me.

Bojhan’s picture

What is strange, is that we are moving something which was a page, to something that is just a form. We will need to increase the usability of this thing if we want to do that.

jibran’s picture

Title: user shortcut settings is in the wrong place » Move shortcut settings from user/%user/shortcuts to user/%user/edit
Version: 8.0.x-dev » 8.2.x-dev
Category: Bug report » Task
Issue summary: View changes
Status: Needs work » Active
Issue tags: -#d7ux +Needs issue summary update

This is not a bug at all nothing is broken, it is a task so I moved it to 8.2.x. This is pure usability issue and we need wire frame to start working on this so I changed the status to active.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dww’s picture

FWIW, this change would solve a usability problem the owners are having with a site I just launched for them.

They mostly have a 1:1 mapping of roles to shortcut sets (so #1122816: Assign shortcut set to role would be a win), but not always (I hope #1122816 will allow overrides and simply defines an initial default set). When they create new accounts, they can assign a role on the account form, but they have to wait until the user account exists, remember to click the rather easy-to-miss link to the new user's account page in the green success message (the /admin/people/create form redirects to itself on success, not the new user's account page), then find the shortcuts tab, then wait for a new page to load, and finally select the right shortcut set for the user they just created. There's also a race condition if the new user logs in before the admin does all this, and sees a default set, not the intended set for their account. Worse, if you change the shortcut set for a currently logged-in user, it appears you need to do a full cache

It'd be much better for them to be able to select the shortcut set directly on the account creation form, which I believe this issue would enable.

Thanks,
-Derek

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

manuel.adan’s picture

Status: Active » Closed (duplicate)
Related issues: +#2446195: Move the {shortcut_set_users} table to a proper field on the user entity

This change will be implicitly done when the shortcut set user assignment has been moved from the current DB table to a regular user entity field.