Closed
Bug 362938
Opened 18 years ago
Closed 12 years ago
Attendee Dialog: No borders between days in free/busy grid
Categories
(Calendar :: Dialogs, defect)
Calendar
Dialogs
Tracking
(Not tracked)
RESOLVED
FIXED
1.8
People
(Reporter: andreas.treumann, Assigned: Paenglab)
References
Details
Attachments
(2 files, 3 obsolete files)
12.82 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
|
Details | Diff | Splinter Review |
31.89 KB,
image/png
|
Details |
REPRODUCTION: ============= - create a new event - open the attendee dialog RESULT: ======= - there are no borders visible between different days visible EXPECTED RESULT: ================ - see http://wiki.mozilla.org/Calendar:SMB_Event_Dialog_-_Invite_Attendee - there are borders between displayed days REPRODUCIBLE: ============= - always
Updated•17 years ago
|
Assignee: michael.buettner → nobody
Updated•17 years ago
|
Component: Lightning Only → Theme
Product: Calendar → Firefox
Target Milestone: --- → Firefox 3
Version: Lightning 0.3 → Trunk
Comment 2•17 years ago
|
||
Oh, crap, sorry, moving back, send hatemail to this address.
Component: Theme → Lightning Only
Product: Firefox → Calendar
Target Milestone: Firefox 3 → ---
Version: Trunk → Lightning 0.7
Updated•15 years ago
|
Summary: [Proto] Attendee Dialog, no borders between days in free/busy grid → Attendee Dialog: No borders between days in free/busy grid
Comment 3•15 years ago
|
||
Dialog is also present in Sunbird -> Move to Calendar:General
Component: Lightning Only → General
QA Contact: lightning → general
Updated•13 years ago
|
Component: General → Dialogs
QA Contact: general → dialogs
Updated•13 years ago
|
Version: Lightning 0.7 → Trunk
Comment 4•12 years ago
|
||
Richard, another one for you maybe?
Assignee | ||
Comment 5•12 years ago
|
||
All I can do is giving a border in the header to separate the days. If a border is needed also below in the grid, then a JS function is needed to tag the last (or first) .freebusy-grid of a day to specially style this item with a border.
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Can't you use the :first-child and :last-child pseudo-classes?
Assignee | ||
Comment 8•12 years ago
|
||
No, because the .freebusy-grid items are not grouped per day. The :first-child is the first in the row (totally on the left) and :last-child is the last on the right when you scroll to the right.
Comment 9•12 years ago
|
||
Comment on attachment 626377 [details] [diff] [review] patch Something like this should give you the needed classes (please ignore it being on comm-central, that was accidental and has been backed out): http://hg.mozilla.org/comm-central/raw-rev/1e979716ff6a On your screenshot the vertical lines have at least 1px offset if you compare header day lines and body lines. I can't test this ATM due to build issues. If you want to try it with the JS changes, then be my guest. If not, then just push the patch you have (with offset fixed) and leave this bug open.
Attachment #626377 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #9) > On your screenshot the vertical lines have at least 1px offset if you > compare header day lines and body lines. I can't test this ATM due to build > issues. I've fixed the line alignment locally. No problem, the merge is far away. Let's check-in the patch in one piece. > If you want to try it with the JS changes, then be my guest. If not, then > just push the patch you have (with offset fixed) and leave this bug open. I tried the JS change and it works partially: - The first 'first-in-day' in the grid is on the second .freebusy-grid element. The next days are okay. - I've never seen a 'last-in-day' element. - first-in-day and last-in-day should also have the freebusy-grid. Then only the additional changes have to be added in CSS.
Comment 11•12 years ago
|
||
This patch was very nervewracking. I really need to overhaul the attendee dialog code at some point :-) It should work now, both the grid and the time bar at the top have the first-in-day/last-in-day classes. Let me know if something doesn't work as expected.
Assignee | ||
Comment 12•12 years ago
|
||
Philipp, thank you for the JS fixes. This patch inserts a 2px space between days in title and on the rows on top. The empty rows have no border to separate the days because they have no freebusy-grid items in them.
Attachment #626377 -
Attachment is obsolete: true
Attachment #637886 -
Attachment is obsolete: true
Attachment #638181 -
Flags: review?(philipp)
Assignee | ||
Comment 13•12 years ago
|
||
Screenshot with Attendees list patch on Windows, Linux and Mac.
Attachment #626378 -
Attachment is obsolete: true
Assignee | ||
Comment 14•12 years ago
|
||
Philipp, have you any time to review this patch? And can this land also on beta or aurora?
Comment 15•12 years ago
|
||
Comment on attachment 638181 [details] [diff] [review] patch v2 r=philipp. I don't think we should take this down to beta, I'm not sure if there will be another beta before the release.
Attachment #638181 -
Flags: review?(philipp)
Attachment #638181 -
Flags: review+
Attachment #638181 -
Flags: approval-calendar-aurora+
Assignee | ||
Comment 16•12 years ago
|
||
Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/0cce91ac3be6 and comm-aurora: http://hg.mozilla.org/releases/comm-aurora/rev/84a77b11c96b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.8
You need to log in
before you can comment on or make changes to this bug.
Description
•