Active
Project:
farmOS
Version:
4.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2026 at 15:35 UTC
Updated:
29 Apr 2026 at 16:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
m.stentaI think this would allow us to remove the Admin Toolbar module as a dependency. See: #3449462: Future of Admin Toolbar if Toolbar is removed from Drupal core
Comment #3
m.stentaAdding some related issues for reference...
Comment #4
m.stentaAlso curious about the "New API for icon management" in Drupal core: https://www.drupal.org/node/3490350
Perhaps we can leverage this instead of all the random CSS rules we have for customizing toolbar icons.
Related discussion in Gin: #3510801: Update Core Navigation Icon Overrides
Comment #5
m.stentaI have started a
4.x-navigationbranch in my fork to start exploring/chipping way at this: https://github.com/farmOS/farmOS/compare/4.x...mstenta:farmOS:4.x-naviga...My approach is basically:
The Navigation module has its own logo configuration, separate from the Gin theme. I added a commit to set that to the same logo, but it doesn't look great. Navigation expects a 40x40 logo (square aspect ratio), but ours is 100x25 (rectangular). It's displaying, but we'll need to make it look better...
Other initial observations:
See the attached screenshot.
Comment #6
m.stentaAnother related observation:
The submit buttons for forms get moved up into the top right, as well (same place as action links).
The consistency of this is nice, but it is a pretty disruptive UX change... anyone who expects to find a form submit button at the bottom of the page will be confused until they find it in the top right.
Notably, Gin already does this in our entity edit forms (when editing assets, logs, etc). But it does not do it for other forms (eg: quick forms), so that's where the change would be.
Comment #7
m.stentaAttached a screenshot of the planting quick form to show what I mean.
Comment #8
m.stentaI'm also seeing some issues with action links and primary/secondary tabs on assets/logs...
The "Edit" and "Revisions" are missing entirely. And only one action link is showing ("Add Log: Seeding" in the screenshot).
It seems that Navigation moves the primary tabs up into a dropdown next to the action links. I'm not sure where the secondary tabs are. We have some special logic to make Drupal's normal entity primary tabs ("View", "Edit", "Revisions") into secondary tabs, so that we can add our own primary tabs like "Logs". So we'll have to figure out how to rework things with Navigation...
Attaching two screenshots for comparison.