Needs work
Project:
Office Hours
Version:
8.x-1.x-dev
Component:
Code - widget
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2026 at 21:25 UTC
Updated:
16 Nov 2026 at 10:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mortona2k commentedComment #5
johnvIndeed, this is better.
Although the dropbutton was less prominent in the UI.
And the 'Add season' may be interpreted by the user as being outside of the field .
Can you fix that the season titles are updated, when a new season is added?
Comment #8
mortona2k commentedI made some adjustments to improve UX:
Desktop
Mobile
Comment #9
johnvThe 'Delete season' button takes up too much space.
One would:
- open the season to be deleted
- see a (drop)button in-line with season name/from/to
- press the dropbutton.
I think Drupal UI is moving to dropbuttons (as in an 'Operations' table column)
Comment #10
mortona2k commentedI am trying to understand what you're proposing.
Here is the current widget for a single season on 1.x, rendered in my theme:
The delete button is in line with season name/from/to. But it's not a dropbutton. If it was, what else would be in it?
I may have misinterpreted #5, I wasn't sure what you meant by "Although the dropbutton was less prominent in the UI." I took that to mean that the delete button should be outside of the details so it's easier to use without having to expand it.
I tried putting this in a table first, with an operations column for the button. However, that made the layout too rigid and added unnecessary headers. The table is already pretty wide, so it needs to collapse somehow for tablet/mobile.
The wide table in the widget is already causing problems in claro.
Do you like the new groupings at least? Help me understand more about what you're looking for and I'll take another shot.
Comment #11
johnv"current widget for a single season on 1.x," This looks fine.
I do not really care about button ore dropbutton - some people do. It would now only contain the 'Delete season' operation.
For the responsiveness. Please check #3297121: Make Office hours form responsive on mobile.