Closed
Bug 780404
Opened 12 years ago
Closed 5 years ago
Decouple display of today pane in chat tab from mail tab
Categories
(Calendar :: Lightning Only, defect)
Calendar
Lightning Only
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 71.0
People
(Reporter: mozilla, Assigned: pmorris, Mentored)
References
Details
(Whiteboard: [lang=js])
Attachments
(1 file, 2 obsolete files)
16.94 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
If you open a chat tab and start a chat conversation there's not much space and so I don't want the today pane here. But disabling it in the chat tab also disables it for the mail tab. One should be able to configure this independent.
Comment 1•12 years ago
|
||
Ah yes. I think right now we do it specifically for mail,task,calendar tab. I think this could be extended to work for any tab type by looking at the .type parameter of the tab definition. I'm happy to mentor someone with this bug, I'd say its a "good second bug" or for skilled developers also a good first bug.
Whiteboard: [mentor=Fallen][lang=js]
Comment 2•11 years ago
|
||
Not exactly a second bug but this issue annoys me. I'll have a patch ready in a few days.
Assignee: nobody → jkitch.bug
Comment 3•10 years ago
|
||
Sorry, I have been distracted by other bugs. Clearing assign to allow someone else to take it.
Assignee: jkitch.bug → nobody
Updated•10 years ago
|
Mentor: philipp
Whiteboard: [mentor=Fallen][lang=js] → [lang=js]
Comment 4•10 years ago
|
||
I am new here and want to contribute to this bug. How should I start?
Comment 5•10 years ago
|
||
Hey Shubham, to get started, please read <https://wiki.mozilla.org/Calendar:Roadmap#Contributing>. Its not a lot of info, but its a good start. I'd suggest setting up the build environment, or if you would just like to try out a few things, just unzip the latest lightning.xpi and set up the extension proxy described here <https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment#Firefox_extension_proxy_file> The latest Lightning is available from the nightly locations and are linked in the development snapshots section of this document <https://developer.mozilla.org/en-US/docs/Mozilla/Calendar/Calendar_Versions>. You can search the code using <http://mxr.mozilla.org/comm-central/>. For the today pane we use a binding that was written a long time ago called a modebox, its code is here: http://mxr.mozilla.org/comm-central/source/calendar/base/content/widgets/calendar-widgets.xml#290 The goal would be to determine if the modebox can either be extended to take the "chat" mode into account, or see if its worth not using the binding at all for the today pane. Let me know if you have questions, you can also reach me on IRC. My nickname is Fallen.
Assignee: nobody → shubhamjindal18
Assignee | ||
Comment 6•5 years ago
|
||
Assigning this to myself since it is closely related to the work I'm doing for bug 1583529.
Assignee: shubhamjindal18 → paul
Assignee | ||
Comment 7•5 years ago
|
||
This depends on the patches in bug 1583529.
Try server run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=0926c1e102ea48cb424f360302d98b4aea353863
Attachment #9097722 -
Flags: review?(geoff)
Assignee | ||
Comment 8•5 years ago
|
||
Rebased and reworked on top of changes in patches in bug 1583529.
Attachment #9097722 -
Attachment is obsolete: true
Attachment #9097722 -
Flags: review?(geoff)
Attachment #9098620 -
Flags: review?(geoff)
Comment 9•5 years ago
|
||
Comment on attachment 9098620 [details] [diff] [review] separate-mail-and-chat-today-pane-1.patch Review of attachment 9098620 [details] [diff] [review]: ----------------------------------------------------------------- R+ with similar changes to the test that I just requested in the other bug. ::: calendar/lightning/content/messenger-overlay-sidebar.js @@ +658,5 @@ > * > * @param {string} mode The mode to switch to. > */ > function calSwitchToMode(mode) { > + if (mode != "mail" && mode != "chat" && mode != "special") { ["mail", "chat", "special"].includes(mode) looks tidier.
Attachment #9098620 -
Flags: review?(geoff) → review+
Assignee | ||
Comment 10•5 years ago
|
||
Thanks for the review. This makes those changes.
Here's a try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=bb20a08bf5fd707d23539ea45e4747da4c93c71a&selectedJob=269779740
The try run has an eslint error that has already been fixed in this patch.
Attachment #9098620 -
Attachment is obsolete: true
Attachment #9098831 -
Flags: review+
Assignee | ||
Updated•5 years ago
|
Keywords: checkin-needed
Comment 11•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/b1d22780fc37
Make today pane in chat and mail tabs independent. r=darktrojan
Updated•5 years ago
|
Target Milestone: --- → 71
You need to log in
before you can comment on or make changes to this bug.
Description
•