In the shift signup interface, you get a "Filter by Department" view option populated with the departments you are assigned to. However, while you can also show Public shifts, you cannot filter those by department. This public view can get extremely cluttered, and force you to go into list view to be able to see what's actually there. It would be a nice usability improvement to be able to filter by any department shown, since someone can sign up for Public shifts in departments outside of their assigned depts. Example image below showing the problem below. Even limiting the view to a single day, it's impossible to identify a number of those shifts, and only the dark blue ones are able to be department filtered by things i'm assigned to.
Currently that entire filter sits within a check if user has any assigned departments.
|
{% if assigned_depts_list|length >= 1 %} |
and then appends departments from that list to the filter dropdown
|
{% for opt, label in assigned_depts_list %} |
unclear if the calendar appended to the bottom returns any list usable details at render time where a public shifts view toggle could return the set of departments now shown, but it would seem sensible for that assigned department check to be placed within a check for the state of public_button_on/public_button_off, and if on then replace the assigned_depts_list check with a simple list of all departments if no subset can be determined.
In the shift signup interface, you get a "Filter by Department" view option populated with the departments you are assigned to. However, while you can also show Public shifts, you cannot filter those by department. This public view can get extremely cluttered, and force you to go into list view to be able to see what's actually there. It would be a nice usability improvement to be able to filter by any department shown, since someone can sign up for Public shifts in departments outside of their assigned depts. Example image below showing the problem below. Even limiting the view to a single day, it's impossible to identify a number of those shifts, and only the dark blue ones are able to be department filtered by things i'm assigned to.
Currently that entire filter sits within a check if user has any assigned departments.
ubersystem/uber/templates/staffing/shifts.html
Line 190 in 011ac8a
and then appends departments from that list to the filter dropdown
ubersystem/uber/templates/staffing/shifts.html
Line 195 in 011ac8a
unclear if the calendar appended to the bottom returns any list usable details at render time where a public shifts view toggle could return the set of departments now shown, but it would seem sensible for that assigned department check to be placed within a check for the state of public_button_on/public_button_off, and if on then replace the assigned_depts_list check with a simple list of all departments if no subset can be determined.