Closed
Bug 966245
Opened 12 years ago
Closed 11 years ago
Make session start rulers visible in Thunderbird chat logs
Categories
(Thunderbird :: Instant Messaging, defect)
Thunderbird
Instant Messaging
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 30.0
People
(Reporter: aleth, Assigned: aleth)
References
Details
Attachments
(1 file, 1 obsolete file)
|
5.73 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
The rulers between sessions in chat logs are currently hidden by the TB message style CSS.
| Assignee | ||
Comment 1•12 years ago
|
||
Adds simple CSS for the session start ruler.
This removes the code dealing with hr's in Footer.html as those are currently always hidden anyway (even when the system messages are expanded). Instead the hr's are simply not inserted in the first place.
Attachment #8368538 -
Flags: review?(florian)
Comment 2•11 years ago
|
||
Comment on attachment 8368538 [details] [diff] [review]
966245.patch
Review of attachment 8368538 [details] [diff] [review]:
-----------------------------------------------------------------
Two comments that may not necessarily need code changes. The rest looks good.
::: mail/components/im/messages/Footer.html
@@ +43,4 @@
> var nbEvents = P_list.length;
>
> if (target.className == "button hide") {
> + for (var i=1; i < (nbEvents-2); i++)
I would like you to check what this 2 means, to confirm that it doesn't need to be changed to 1 after removing the <hr>s.
@@ +49,5 @@
>
> target.className = "button show";
> }
> else {
> + for (var i=1; i < (nbEvents-2); i++)
Same here.
Attachment #8368538 -
Flags: review?(florian) → feedback+
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #2)
> > if (target.className == "button hide") {
> > + for (var i=1; i < (nbEvents-2); i++)
>
> I would like you to check what this 2 means, to confirm that it doesn't need
> to be changed to 1 after removing the <hr>s.
The -2 refers to the two status messages that remain displayed after a block is collapsed.
| Assignee | ||
Updated•11 years ago
|
Attachment #8368538 -
Flags: review?(florian)
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8368538 [details] [diff] [review]
966245.patch
The changes to Footer.html would leave the code in an ugly state, so I think I'll look at this again.
Attachment #8368538 -
Flags: review?(florian)
| Assignee | ||
Comment 5•11 years ago
|
||
This ports the current code from Bubbles, using a MutationObserver and CSS to fold the status messages.
Attachment #8368538 -
Attachment is obsolete: true
Attachment #8374105 -
Flags: review?(florian)
Comment 6•11 years ago
|
||
Comment on attachment 8374105 [details] [diff] [review]
966245.patch 2
Review of attachment 8374105 [details] [diff] [review]:
-----------------------------------------------------------------
Nice cleanup! :)
Assuming you've tested it, r=me.
Attachment #8374105 -
Flags: review?(florian) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 30.0
You need to log in
before you can comment on or make changes to this bug.
Description
•