Wanted to share the Drupal core Shortcuts module. I’ve seen this before and meant to share but I don’t think I see it here on the forum, perhaps I mentioned in chat. Alas, some may find it useful as a way to quickly navigate to assets or any other pages that are frequently used.
The module allows you to create “shortcut sets” that are collections of links. Each user can choose a single shortcut set that is available at the top toolbar. Most pages (including assets/logs/other entities) have a star icon that makes it easy to add links to the user’s current shortcut set. Links can also include query parameters which is cool because you can provide filters to the Assets/Logs table views (only show assets with a given flag, or animals of a specified breed).
Note: this is a drupal core module that can only be enabled by the farmOS site admin. I believe it also requires a permission to allow other users to use it.
Wonder if a simple farm_shortcut shim module in farmOS core would make any sense? At the very least it could provide the necessary permission to all “managed” roles, any necessary configuration (?), and show as an option in the /farm/settings/modules form.
Hmm maybe I missed something when I enabled it, because @pat is getting “Access Denied” when trying to add shortcuts. But it’s working on @AmberS’s instance.
I enabled the shortcut module and added these two permissions to the authenticated role:
access shortcuts
customize shortcut links
I think that’s the same thing I did on @AmberS’s (double checked the permissions and they are the same) - but maybe I’m forgetting something?
(Another reason why it might be nice to have a farm_shortcut module that sets all this up, so I don’t have to remember how to do it manually. )
The only other difference I can think of is that @pat’s instance has translations enabled. I wonder if that is affecting things? I will have to test more when I have some time…
Sorry @pat - hopefully I just forgot something and we didn’t discover some strange Drupal core bug here.