Closed Bug 46307 Opened 24 years ago Closed 15 years ago

3pane context menu: News Server selected should match spec

Categories

(SeaMonkey :: MailNews: Message Display, defect)

All
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nbaca, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: polish)

Attachments

(1 file)

Build 2000-07-21-09M17: NT4, Mac 9.04
Haven't checked Linux yet.

Overview: With the News Server selected, the context menu should appear as:

Subscribe...
Rename News Account
Delete News Account
-------------------
Search Messages...
-------------------
Account Properties

For the product to match the spec the following should happen:

1. Move
a. "Subscribe" should appear on the first line

2. Change
a. "Remove News Account" should be "Delete News Account" and enabled.

3. Enable
a. Search Messages...

4. Remove
a. Rename News Account (Hasn't been implemented as referenced in bug#40861)
b. Account Properties  (Depends on bug# 10877 and bug# 32714/which has been 
futured. Alec is there any chance for this to open the Account Settings dialog?)
Keywords: nsbeta3, polish, ui
QA Contact: lchiang → nbaca
4b. If this opens the Account Settings dialogs, this wouldn't be dependent on  
bug# 10877 and bug# 32714.
Assigning to timeless.
Assignee: putterman → timeless
ooh goody, bugs!
Status: NEW → ASSIGNED
per mail triage:  remove nsbeta3 nomination and move to future milestone.  For 
the short term, we will combine items here into three bugs (in 3pane) to address 
for nsbetat3:  1. delete, change text, move menuitems;  2. enable/disable and 
text changes on context (dynamic);  3.  accelerator keys to work (ie. what is 
shown in the menus actually does something)

When this bug gets revisited after the first release, we'll need to see what 
items remaining that need to be addressed.
Keywords: nsbeta3
Target Milestone: --- → Future
my mistake.  Correcting milestone back to previous one set.  Netscape6 doesn't 
need this by nsbeta3 so leaving the nsbeta3 nomination off.  This can be fixed 
at any time designated by timeless for Mozilla.
Target Milestone: Future → ---
Simon, thanks for taking this, much appreciated!
Assignee: timeless → slucy
Status: ASSIGNED → NEW
There should be another patch shortly with Rename support, though I have a
question.  Is it preferable to implement it in nsNewsFolder or implement it
through the data wrapped in AccountManager?
rename will change the pretty name for the account right?  (we currently don't
allow a hot swap of server hostname or server username.)

if the selection is a server, you could allow rename, but the result would have
to change the prettyName attribute of the nsIMsgIncomingServer.

I don't think the current rename folder xul / js and widgetglue.js will do the
right thing.  you'll need to tweak it to work for nsIMsgFolders and
nsIMsgIncomingServers.

certain folders (like newsgroups) should not show rename, since you aren't
allowed to rename them. 

nsIMsgFolder has a canRename, so you'll need to check that before showing or
enabling "Rename".

I'd worry about all of this in a seperate bug, since it is non trival.
back to the submitted patch, you need to worry about canDelete attribute of a
nsIMsgIncomingServer.  not all accounts can be deleted.  specifically, Local
Folders can't.

I'm behind on my patches / reviews.  when I get some more cycles, I'll review
the patch more closely.  I'm behind on my patches / reviews big time, I apologize.
Yes rename is just the pretty name.  AccountManager does it right now but
nsNewsFolder doesn't have anything like that.  I could do it in js but it may be
ugly.  Agreed on leaving it to a separate bug
on the checking CanDelete I assumed I think that the UI filter on isServer is
'nntp' would be enough to eliminate the rest, but you're right it should check
CanDelete immediately before it does it.
QA Contact: nbaca → olgam
Blocks: 104166
Simon gave up on Mozilla some time ago.  Punting back to Seth, for now.  Simon,
if this is an incorrect statement, take the bug back ;-)
Assignee: slucy → sspitzer
Keywords: nsbeta1-
Target Milestone: --- → Future
Blocks: 158011
I remove nsbeta1- keyword - it was for MachV.
Keywords: nsbeta1-
Now I add 'nsbeta1' keyword for Buffy. Sorry, it's faster to edit multiple bugs
at once than manually go to each and remove minus.
Keywords: nsbeta1
Can we get option 4b working?  It's something that I always look to do first,
then I realize Properties is disabled, then I have to hunt through the Account
Settings dialog.  It would be much quicker if Properties for an account opened
Account Settings with that account selected.
Filed bug 172178 so we can try to get the properities menu item working.
Mail triage team: nsbeta1-
Keywords: nsbeta1-
Keywords: nsbeta1
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Assignee: mail → nobody
Priority: P3 → --
QA Contact: olgam → message-display
Target Milestone: Future → ---
Spec is out of date.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: