Closed
Bug 41719
Opened 24 years ago
Closed 23 years ago
Filter UI: use "untitled" when filter name not given
Categories
(MailNews Core :: Filters, defect, P3)
MailNews Core
Filters
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: laurel, Assigned: hwaara)
Details
(Keywords: polish, Whiteboard: Need reviews)
Attachments
(3 files)
2.55 KB,
patch
|
Details | Diff | Splinter Review | |
3.92 KB,
patch
|
Details | Diff | Splinter Review | |
2.68 KB,
patch
|
Details | Diff | Splinter Review |
Using jun05 commercial build The message filters ui currently will list a blank line in the filter list if a filter is added with no filter name specified. We should instead follow 4.x behavior (not all platforms did this) and fill in the name with "untitled". Side issue in the current version of the ui, is that you cannot add more than one untitled filter. 4.x allows multiple untitled filters.
Another side issue in the current builds: can't delete an untitled filter through the ui.
Comment 2•24 years ago
|
||
actually with today's build it will pop up an alert dialog telling you you need a filter name. filter names actually have to be unique with the current design, though I'm hoping to change that. Since the alert is there, I'm going to mark this M18 to come up with a better system
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Comment 3•24 years ago
|
||
reassigning my filter bugs to gayatrib..
Assignee: alecf → gayatrib
Status: ASSIGNED → NEW
Updated•24 years ago
|
Target Milestone: M18 → ---
Assignee | ||
Comment 5•23 years ago
|
||
Jglick, what do you say about simply adding "Untitled" by default to the filter-name textfield when a new filter rules dialog pops up? Then if the user already has a filter with that name, a dialog will pop up and notify the user about it.
Would probably be better just to leave it blank and inform the user a Filter Name is needed.
Assignee | ||
Comment 7•23 years ago
|
||
...which makes this bug a WONTFIX. Navin, your call to VERIFY or REOPEN.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 8•23 years ago
|
||
Ewww. Entering a filter name is not an obvious part of a user's task when creating a filter. So omitting to provide a default name, and then putting up a `Ha, ha! You forgot the name!' alert when they've finished, is a bit obnoxious.
Comment 9•23 years ago
|
||
Ok, reopening. I mean, I know the mail/news team love putting up annoying alert boxes at every opportunity ... but really, can't we do better than this? I suggest that a filter with no name be called `untitled filter'. If that name is already taken by an existing filter, try `untitled filter 2', `untitled filter 3', `untitled filter 4' etc, until you find a name which isn't taken. No annoying alert necessary.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Comment 10•23 years ago
|
||
Agreed. I will come up with a simple fix. Taking from Naving.
Assignee: naving → hwaara
Status: REOPENED → NEW
Assignee | ||
Comment 11•23 years ago
|
||
Assignee | ||
Comment 12•23 years ago
|
||
With the patch, the initial filter name will prefill "untitled filter". If that name already exists, we start at "untitled filter 2" and so on... My fix made isDuplicateFilterNameExists() be a one-liner rather than a complex function that iterates through the whole hierarchy of filters! Need r= lovin'.
Status: NEW → ASSIGNED
Whiteboard: Need reviews
Comment 13•23 years ago
|
||
hwaara: you have a few dump()'s there that need removing
Assignee | ||
Comment 14•23 years ago
|
||
Comment 15•23 years ago
|
||
sr=ben@netscape.com, but consider: "isDuplicateFilterNameExists" is kind of a yicky name for a function from an english grammar point of view. "duplicateFilterNameExists" sounds better.
Assignee | ||
Comment 16•23 years ago
|
||
Comment 17•23 years ago
|
||
r=doron
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.4
Comment 18•23 years ago
|
||
a=tor on behalf of drivers
Assignee | ||
Comment 19•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 20•23 years ago
|
||
New filter rules dialog is pre-filled with "untitled filter" when launched, provides unique name like"untitled filter 2" if there is already an untitled filter in the list. If the "untitled filter" name is wiped out, upon OK to the rules dialog the user will see a pop-up alert indicating the filter needs a name. Marking verified with aug27 commercial trunk build: win98, mac OS 9.0 and linux rh6.2
Status: RESOLVED → VERIFIED
Comment 21•23 years ago
|
||
hwaara, At least try to get reviews from the module owner before you check it in. Also in future please look out for regression. This caused regression bug 97204
Comment 22•23 years ago
|
||
here are brendan's comments on this issue: My 2 cents: I have been spanked by that alert too, and I would rather have a default name (not "untitled") that's based on the filter's action (which folder it goes to), or other filter properties. E.g., I usually end up filtering drivers@mozilla.org mail into a drivers folder, so why should I have to type "drivers" into the Name field, under threat of an alert? Software works for me, works smarter, and doesn't work me harder -- or I soon stop using it (or hack it myself into shape, if its source is available [;-)] .
Comment 23•23 years ago
|
||
Sorry for the delay, I was out last week. After reading mpt's comments, I would agree his suggestion is a good idea. Brendan's comments, as posted by Seth, I think is also a good idea. Maybe we could go with mpt's suggestion for now and brendan's as an enhancement in the future.
Comment 24•23 years ago
|
||
thanks jglick for the follow up info. I'll go log a bug with brendan's RFE.
Assignee | ||
Comment 25•23 years ago
|
||
Seth, Gerv already filed such a bug.
Comment 26•23 years ago
|
||
bug 97353
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•