Closed
Bug 796234
Opened 12 years ago
Closed 11 years ago
Renovate feeds account management issues
Categories
(MailNews Core :: Account Manager, defect)
MailNews Core
Account Manager
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: alta88, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mentor=standard8][lang=js|xul][level=medium-hard])
Attachments
(1 file, 4 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
1. remove feeds from the 'old' account manager (bug 732109), and give it its own very simple wizard.
2. use the FeedUtils method to create a feeds account, already used for commandline and import subscribes with no account yet.
3. add Feeds menuitem in Account Manager - Account Actions, and File - New. this means News would be the only 'other' account and should get its own too.
4. fix bug 529461 and bug 780110.
so in addition to the 2 menuitem changes, the feeds wizard would be a 2 page affair, with the first page looking like the 2nd page of the current wizard if blogs radio is chosen, and it may have the summary or biff minutes prefs available. the second page would be confirm/finish.
this will allow chipping away at bug 732109, have one (fixed up and simple) codepath to feed account creation, possibly allow removal of the rdf backing file - and more.
Attachment #666999 -
Flags: feedback?(bwinton)
Comment 3•12 years ago
|
||
(In reply to :aceman from comment #1)
> Do you have confirmation from bwinton this will be accepted?
He does now. ;)
(Killing the old account manager does seem to be a good idea, for the reasons presented. One change I would suggest is to make "File » New » Other Accounts" into a popup list, and perhaps put "Chat Account" in there, along with RSS and News.)
Thanks,
Blake.
(In reply to Blake Winton (:bwinton - Thunderbird UX) from comment #3)
> One change I would suggest is to make "File » New »
> Other Accounts" into a popup list, and perhaps put "Chat Account" in there,
> along with RSS and News.)
do you feel strongly about this? isn't there a rule about number of flyouts before it's too many.. i don't think it will kill the appmenu either as it just increases by 1.
but moreso, it seems that this minimizes non mail functions and reduces their discoverability. account central 'Create a new account' being mail only is actually a lot worse.
i lean toward flatter but it's up to you.
Comment 5•12 years ago
|
||
Not too strongly, no.
bwinton for /mail and ui
rkent for /mailnews
neil for /suite
much of the patch is to make the suite account manager work while also enabling rss.rdf removal and bug 732109 for Tb.
so for Tb, newsgroups are the only item left in Account Manager.
Assignee: nobody → alta88
Attachment #666999 -
Attachment is obsolete: true
Attachment #666999 -
Flags: feedback?(bwinton)
Attachment #667998 -
Flags: ui-review?(bwinton)
Attachment #667998 -
Flags: review?(neil)
Attachment #667998 -
Flags: review?(kent)
Attachment #667998 -
Flags: feedback?(Pidgeot18)
Comment 7•12 years ago
|
||
(Disclaimer: I haven't tested the patch yet.)
> so for Tb, newsgroups are the only item left in Account Manager.
If this is true, can we skip the Account Manager step (in Thunderbird), and just let people create a newsgroup account directly from the menu?
Thanks,
Blake.
(In reply to Blake Winton (:bwinton - Thunderbird UX) from comment #7)
> (Disclaimer: I haven't tested the patch yet.)
>
> > so for Tb, newsgroups are the only item left in Account Manager.
>
> If this is true, can we skip the Account Manager step (in Thunderbird), and
> just let people create a newsgroup account directly from the menu?
>
> Thanks,
> Blake.
yes, but it's a new bug. it's conceivable a lot of 'old' Account Manager could then be reduced (for Tb) if newsgroups had their own specialized wizard, or reuse the 'new' mail wizard in ways.
Comment 9•12 years ago
|
||
(In reply to alta88 from comment #6)
> so for Tb, newsgroups are the only item left in Account Manager.
No, you're forgetting movemail and other potential ISP data users.
Comment 10•12 years ago
|
||
Comment on attachment 667998 [details] [diff] [review]
patch
I haven't looked at the patch in great detail, but as I mentioned in the previous comment, ISP data stuff still lurks in the account dialog, including movemail on Unix systems, so calling it "newsgroups" makes the menu item a lie.
Attachment #667998 -
Flags: feedback?(Pidgeot18) → feedback-
Reporter | ||
Comment 11•12 years ago
|
||
(In reply to Joshua Cranmer [:jcranmer] from comment #9)
> (In reply to alta88 from comment #6)
> > so for Tb, newsgroups are the only item left in Account Manager.
>
> No, you're forgetting movemail and other potential ISP data users.
i should correct the terminology, it's the Account Wizard rather than the Account Manager.
those are then overlaid on the main wizard page, as special config cases, rather than hardcoded. so many/most will not see them.
so in the case of only showing newsgroups on the first wizard page, blake is right that it makes sense to advance the page. how to square this with additional items is beyond this bug.
Reporter | ||
Comment 12•12 years ago
|
||
(In reply to Joshua Cranmer [:jcranmer] from comment #10)
> Comment on attachment 667998 [details] [diff] [review]
> patch
>
> I haven't looked at the patch in great detail, but as I mentioned in the
> previous comment, ISP data stuff still lurks in the account dialog,
> including movemail on Unix systems, so calling it "newsgroups" makes the
> menu item a lie.
then the next patch will go back to calling it 'other accounts'.
Comment 13•12 years ago
|
||
Comment on attachment 667998 [details] [diff] [review]
patch
SeaMonkey still uses the supposed "old" account wizard for all of its accounts.
Attachment #667998 -
Flags: review?(neil) → feedback-
Reporter | ||
Comment 14•12 years ago
|
||
Comment on attachment 667998 [details] [diff] [review]
patch
you've misunderstood. this patch takes that into account. it both adds a Tb wizard and fixes the code for the existing Sm wizard. there is no change in ui or usage for Sm.
Attachment #667998 -
Flags: review?(neil)
Attachment #667998 -
Flags: feedback-
Reporter | ||
Comment 15•12 years ago
|
||
revert to 'Other Accounts' string.
suite r? for newsblog strings change.
Attachment #667998 -
Attachment is obsolete: true
Attachment #667998 -
Flags: ui-review?(bwinton)
Attachment #667998 -
Flags: review?(neil)
Attachment #667998 -
Flags: review?(kent)
Attachment #668541 -
Flags: ui-review?(bwinton)
Attachment #668541 -
Flags: review?(rkent-allmailnews)
Attachment #668541 -
Flags: review?(neil)
Comment 16•12 years ago
|
||
Comment on attachment 668541 [details] [diff] [review]
patch
Technically I am not a /mail reviewer but a /mailnews reviewer as Neil is. I could probably do the review anyway, but let's be official here and let Magnus try it.
Also, the allmailnews account is not intended as an account for reviews, the kent@caspia.com account (search for :rkent) is the one to use.
Attachment #668541 -
Flags: review?(rkent-allmailnews) → review?(mkmelin+mozilla)
Reporter | ||
Comment 17•12 years ago
|
||
right, your request is for /mailnews, bwinton is for /mail. magnus is only for /mail (as i've tried to get him to do mailnews/ in the past..).
neil seems to have a full plate with /suite so i usually just ask him for that rather than /mailnews.
Reporter | ||
Comment 18•12 years ago
|
||
updated patch.
Attachment #668541 -
Attachment is obsolete: true
Attachment #668541 -
Flags: ui-review?(bwinton)
Attachment #668541 -
Flags: review?(neil)
Attachment #668541 -
Flags: review?(mkmelin+mozilla)
Attachment #668644 -
Flags: ui-review?(bwinton)
Attachment #668644 -
Flags: review?(neil)
Reporter | ||
Comment 19•12 years ago
|
||
the real update..
Attachment #668644 -
Attachment is obsolete: true
Attachment #668644 -
Flags: ui-review?(bwinton)
Attachment #668644 -
Flags: review?(neil)
Attachment #668645 -
Flags: ui-review?(bwinton)
Attachment #668645 -
Flags: review?(neil)
Comment 20•12 years ago
|
||
Comment on attachment 668645 [details] [diff] [review]
patch
Stealing this review...
Attachment #668645 -
Flags: ui-review?(bwinton) → ui-review?(mconley)
Comment 21•12 years ago
|
||
Comment on attachment 668645 [details] [diff] [review]
patch
>+ if ("selectServer" in window.opener)
>+ // Opened from Account Manager.
>+ window.opener.setTimeout(window.opener.selectServer, 20, gCurrentAccount.incomingServer);
>+ else if ("gFolderTreeView" in window.opener)
>+ // Opened from 3pane File->New or appbutton New Message menuitem.
>+ window.opener.gFolderTreeView.selectFolder(gCurrentAccount.incomingServer.rootMsgFolder);
Not really part of this bug? Also, code duplication sucks.
>+ <!ENTITY % newsblogDTD SYSTEM "chrome://messenger-newsblog/locale/am-newsblog.dtd" >
You're mixing account wizard and account manager files...
>+ <radio id="feedaccount" value="feedaccount"
>+ label="&feeds.accountName;" accesskey="&feeds.accountName.accesskey;"/>
So, why can't SeaMonkey keep using rss.rdf?
> if (gCurrentAccountData && gCurrentAccountData.wizardAccountName)
> accountName = gCurrentAccountData.wizardAccountName;
> else if (type == "nntp")
> accountName = pageData.newsserver.hostname.value;
>+ else if (pageData.accounttype.feedaccount && pageData.accounttype.feedaccount.value)
>+ accountName = document.getElementById("feedaccount").label;
> else
> accountName = pageData.identity.email.value;
Why isn't the feed account name in page data?
>+ // Initialize if changing account types.
>+ document.getElementById("prettyName").value = "";
>+ gPageData = null;
What "bug" does this solve?
>+ setDivTextFromForm("server.port", null);
Nice fix.
>+/* Feed account standalone wizard functions */
This belongs in feedAccountWizard.js, not a random account manager file...
>diff --git a/suite/locales/en-US/chrome/mailnews/newsblog/am-newsblog.dtd b/suite/locales/en-US/chrome/mailnews/newsblog/am-newsblog.dtd
This change was impossible to review because of the reformatting.
Updated•12 years ago
|
Attachment #668645 -
Flags: superreview?(mnyromyr)
Reporter | ||
Comment 22•12 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #21)
> Comment on attachment 668645 [details] [diff] [review]
> patch
>
> >+ <radio id="feedaccount" value="feedaccount"
> >+ label="&feeds.accountName;" accesskey="&feeds.accountName.accesskey;"/>
> So, why can't SeaMonkey keep using rss.rdf?
a major goal of this patch is to remove rss.rdf i'm not going to spend time figuring out whether your comment is an objection or what. if you don't see why every opportunity should be taken to remove rdf dependency from the codebase, then close this WONTFIX.
Comment 23•12 years ago
|
||
Comment on attachment 668645 [details] [diff] [review]
patch
Hm - so, this patch doesn't apply cleanly. I cleaned it up manually remotely, but it also seems that feedAccountWizard.xul wasn't added to the jar.mn of mailnews/extensions/newsblog.
So I added that myself, locally. That seemed to get it working.
I agree with Blake that we're starting to accrue a large number of account types, and it'd be nice to group the less common ones (chat, feeds, newsgroups) into an "Other Accounts" submenu. But we can leave that for another day, I guess.
My only other complaint is that the wizard seems pretty heavy-handed for what we're doing here. Can we not just have a single-pane wizard, whereupon after entering the account name, we just hit Finish and are done? The second pane seems pretty superfluous (and the "congratulations" at the top a bit obnoxious for my taste).
So that's what I suggest - make it a single pane wizard (not much of a wizard, I guess).
Attachment #668645 -
Flags: ui-review?(mconley)
Comment 24•12 years ago
|
||
Comment on attachment 668645 [details] [diff] [review]
patch
Cancelling review requests given the comments in comment 21 and comment 23 as this would need a new patch.
Attachment #668645 -
Flags: superreview?(mnyromyr)
Attachment #668645 -
Flags: review?(neil)
Comment 25•12 years ago
|
||
(In reply to alta88 from comment #22)
> (In reply to neil@parkwaycc.co.uk from comment #21)
> > Comment on attachment 668645 [details] [diff] [review]
> > patch
> >
> > >+ <radio id="feedaccount" value="feedaccount"
> > >+ label="&feeds.accountName;" accesskey="&feeds.accountName.accesskey;"/>
> > So, why can't SeaMonkey keep using rss.rdf?
>
> a major goal of this patch is to remove rss.rdf i'm not going to spend time
> figuring out whether your comment is an objection or what. if you don't see
> why every opportunity should be taken to remove rdf dependency from the
> codebase, then close this WONTFIX.
If SeaMonkey wants to keep rss.rdf, then I suggest that they branch the code into suite/ and let us move forward (or move the code into suite and we'll have our code in mail) - whilst RDF "works", I'm sure there are better ways to implement what we really need.
Comment 26•12 years ago
|
||
This isn't a good first bug, but I'd be willing to help out with some ideas / changes to move this forward.
Whiteboard: [mentor=standard8][lang=js|xul][level=medium-hard]
Comment 27•12 years ago
|
||
I think alta88 knows what to do as long as he is allowed to remove the rdf from the TB version. I think he would be willing to continue with the patch in that case.
Reporter | ||
Comment 28•11 years ago
|
||
fixed in bug 529131 for Tb.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•