Skip to content

WeekCalendar design update#1608

Open
devmount wants to merge 6 commits intomainfrom
bugs/1465-week-calendar-design-update
Open

WeekCalendar design update#1608
devmount wants to merge 6 commits intomainfrom
bugs/1465-week-calendar-design-update

Conversation

@devmount
Copy link
Copy Markdown
Collaborator

@devmount devmount commented Mar 31, 2026

Description of the Change

This changes applies the latest design changes for the WeekCalendar component. Included:

  • Blocked times (either due to user configuration or calendar event conflict) are now visually displayed as gray hatched in Bookers and Dashboard view
  • The Bookers view now has a hover effect for selectable time slots
  • The WeekCalendar.vue component now has an additional prop disabled to indicate, if users can select something (disabled=false, default) or not (disabled=true).
  • The schedule-store.ts now has a function to calculate available time slots directly in the fronted (as equivalent to controller/calendar::available_slots_from_schedule in the backend). This was done to omit another async backend request and keep performance up.
  • Additional types were introduced to handle grid items

Benefits

Alignment and consistency with designs.

Screenshots

Dashboard page:

image image

Bookers page:

image image

Known issues / things to improve

  • Dark mode: We don't exactly have designs for dark mode, so I went with a (hopefully) reasonable default.

Related tickets

Closes #1465

@devmount devmount marked this pull request as draft March 31, 2026 20:13
@devmount devmount self-assigned this Apr 1, 2026
@devmount devmount marked this pull request as ready for review April 1, 2026 14:23
@rwood-moz
Copy link
Copy Markdown
Contributor

Looks good! One comment I have, and it might be a design question, but is there a reason why we are not aligning the existing appointments with the time lines? When I look at my dashboard calendar it looks like my existing appointments actually start earlier than they are actually scheduled for.

For example this appointment starts at 2pm but visually looks to me like it starts at 1:55pm maybe:

Screenshot 2026-04-01 at 1 47 17 PM

Compare the main dashboard calendar on current production where it is aligned:

Screenshot 2026-04-01 at 1 46 44 PM

Maybe this misalignment might cause our users some confusion?

Note with this PR on the bookee page we are aligning the available timeslots with the timelines which makes sense to me:

Screenshot 2026-04-01 at 1 49 51 PM

@devmount
Copy link
Copy Markdown
Collaborator Author

devmount commented Apr 1, 2026

@rwood-moz Yes, this is indeed a question for design (@laurelterlesky, @solangevalverde). I implemented the views from Zeplin:

Image

But maybe I misinterpreted and actually they were intended to be sharply aligned? 🤔 IMHO as a user I would be a little bit confused too 😇

@laurelterlesky
Copy link
Copy Markdown

Good catch. If the appointment starts on the hour - it should be on the line. I believe Davi did some increments of 15-min block in the code at some point. If an appointment starts at say 1:50, then it should show a bit above the line for 2pm.

Zeplin design were off a bit - they have been updated for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calendar page uses outdated block and pending designs

3 participants