mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-11-17 21:50:37 -05:00
Calendar review fixes; working day hours setting
- Issues' estimated hours are spread over their working days from start to due date, instead of counted in full on both the start and due dates - Tooltips in the two rightmost columns open leftward again (the rule targeted the old table layout) - Today scrolls when today is on the page (the check read calendar values that don't exist) - "Day N of M" on calendar cards and My Page skips holidays; My Page uses the user's date - Each appointment's working days are worked out once per page (CustomerAppointment#working_days), and shared by placement, hours, day numbers and the end date - The calendar toggles are kept in the session, so changing month loads the page once - Clicking inside an open tooltip keeps it open; estimates load with the appointments - Hours in a working day is a plugin setting (default 8) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae522baf63
commit
3a5d83aa69
12 files changed
+148
-187
No files matched your search
@@ -151,8 +151,10 @@ table.cal td {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Align tooltips to the right on Friday/Saturday columns */
|
||||
table.cal td:nth-child(n+6) .appointment-block .tip {
|
||||
/* Tooltips in the two rightmost day columns open leftward, so they stay on screen. Each calendar row is
|
||||
8 items (week number, then 7 days), so the last two days are items 8n+7 and 8n. */
|
||||
ul.cal li.calbody:nth-child(8n+7) .appointment-block .tip,
|
||||
ul.cal li.calbody:nth-child(8n) .appointment-block .tip {
|
||||
left: auto !important;
|
||||
right: 0 !important;
|
||||
}
|
||||
@@ -460,7 +462,8 @@ table.cal td.today {
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
|
||||
}
|
||||
|
||||
table.cal td:nth-child(n+6) .appointment-block .tip {
|
||||
ul.cal li.calbody:nth-child(8n+7) .appointment-block .tip,
|
||||
ul.cal li.calbody:nth-child(8n) .appointment-block .tip {
|
||||
left: 50% !important;
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user