Closed Bug 1679264 Opened 5 years ago Closed 5 years ago

remove <deck> from imAccounts.xhtml

Categories

(Thunderbird :: Instant Messaging, task)

task

Tracking

(thunderbird_esr78 wontfix, thunderbird84 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird84 --- wontfix

People

(Reporter: mkmelin, Assigned: khushil324)

References

Details

Attachments

(1 file, 1 obsolete file)

The <deck> usage in https://searchfox.org/comm-central/rev/f8c11a36225bbe5e145f1a9a0a3801428e265715/mail/components/preferences/chat.inc.xhtml#175-185 should be removed.

We simply shouldn't show that pane at all if no accounts are set up. Instead, we can add the "Add new account" to the main view, like next to the "Conversations will be shown here". Maybe out of scope for this bug, but it would be better for that view to show the account setup hub instead, with chat accounts selected, once we have that in a page.

Assignee: nobody → khushil324
Attachment #9189730 - Flags: review?(mkmelin+mozilla)
Status: NEW → ASSIGNED
Comment on attachment 9189730 [details] [diff] [review] Bug-1679264_de-deck-imAccounts-xhtml-0.patch Review of attachment 9189730 [details] [diff] [review]: ----------------------------------------------------------------- What about comment 0? Maybe show a notification bar instead if no accounts? This patch fixes the no-deck, but still leaves the extra complications. Let's have aleca review
Attachment #9189730 - Flags: review?(mkmelin+mozilla)
Component: General → Instant Messaging
Attachment #9189730 - Flags: review?(alessandro)
Attachment #9189730 - Attachment is obsolete: true
Attachment #9189730 - Flags: review?(alessandro)
Attachment #9189940 - Flags: review?(alessandro)

We simply shouldn't show that pane at all if no accounts are set up.

That dialog is not accessible if no account is currently set.
I think the pane variation is necessary only for the scenario in which a user opens the dialog, then clicks on properties and deleted the IM accounts.
Now the dialog is still opened even if no accounts are present.

Instead, we can add the "Add new account" to the main view, like next to the "Conversations will be shown here".

I think we already do that if I'm not missing something.
If no accounts are configured there's a (not very intuitive) Get Started button in the main pane.

I think we shouldn't spend too much time on this dialog as it would make more sense to drop it entirely since the IM accounts properties are all managed in a tab. This whole area should be heavily rebuilt, so I think a simple deck removal here is good enough.

Comment on attachment 9189940 [details] [diff] [review] Bug-1679264_de-deck-imAccounts-xhtml-1.patch Review of attachment 9189940 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me as I explained in the comment before. Of course Magnus you can cancel my review if you think we should do something more here.
Attachment #9189940 - Flags: review?(alessandro) → review+
Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(mkmelin+mozilla)
Target Milestone: --- → 85 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/299cdd699762
remove <deck> from imAccounts.xhtml. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: