Closed Bug 616191 Opened 14 years ago Closed 12 years ago

Implement UI to easily tag bugs from the bug report directly (and get rid of the current form in the footer)

Categories

(Bugzilla :: User Interface, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: LpSolit, Assigned: LpSolit)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Once bug 616185 is implemented (Bug.set_tags), we (= pyrzak ;)) will be able to implement the new UI to tag bugs from the bug report directly. The idea is to use something similar to the current keyword autocompletion system, i.e. if you start typing a tag name which you already typed in the past, then suggest it in a drop-down menu, else let the user type a new one.

My proposal would be to display this tag field near the keyword or whiteboard field, and to display it as read-only by default, as we do for the dependency fields. My idea behind this is to later color tags, so that all tags having the same name would have the same color. The algorithm about how to color them can be discussed later. Did I say I like how Pidgin colors nicks in IRC channels? :).

To be clear: this bug is about the ability to tag a single bug from show_bug.cgi. The ability to tag several bugs at once from a buglist is a separate bug, see bug 95722.
Blocks: 365127
Blocks: 365743
Blocks: 474399
Depends on: 616336
Depends on: 616341
Assignee: ui → guy.pyrzak
Priority: P2 → P1
Target Milestone: Bugzilla 4.2 → Bugzilla 5.0
Blocks: 377358
Attached patch patch, v1Splinter Review
Ask me on IRC if you have some questions. :)
Assignee: guy.pyrzak → LpSolit
Status: NEW → ASSIGNED
Attachment #615464 - Flags: review?(timello)
Blocks: 95722
Keywords: relnote
Comment on attachment 615464 [details] [diff] [review]
patch, v1

Review of attachment 615464 [details] [diff] [review]:
-----------------------------------------------------------------

The patch looks good and it works as expected, however, I think it would better if instead of displaying the tags in the text field, we could do like Depends on/blocks, list them inline as links which would point to a bug list for all bugs that contain that tag:

Tags: Foo Bar Baz (edit)

That would improve the usability for the tags within show bug page.
Comment on attachment 615464 [details] [diff] [review]
patch, v1

The improvement can be done in a separated bug.
Attachment #615464 - Flags: review?(timello) → review+
Flags: approval?
(In reply to Tiago Mello [:timello] from comment #2)
> better if instead of displaying the tags in the text field, we could do like
> Depends on/blocks, list them inline as links

This would be a good idea for another bug. Feel free to report it if there isn't one already. Thanks for the review! :)
Flags: approval? → approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified buglist.cgi
modified process_bug.cgi
modified Bugzilla/Field.pm
modified Bugzilla/Install.pm
modified Bugzilla/Template.pm
modified js/field.js
modified skins/standard/IE-fixes.css
modified skins/standard/global.css
modified skins/standard/search_form.css
modified skins/standard/show_bug.css
modified template/en/default/filterexceptions.pl
modified template/en/default/bug/edit.html.tmpl
modified template/en/default/bug/field-help.none.tmpl
modified template/en/default/bug/field.html.tmpl
modified template/en/default/global/field-descs.none.tmpl
modified template/en/default/global/messages.html.tmpl
deleted template/en/default/global/per-bug-queries.html.tmpl
modified template/en/default/global/setting-descs.none.tmpl
modified template/en/default/global/useful-links.html.tmpl
modified template/en/default/search/field.html.tmpl
modified template/en/default/search/form.html.tmpl
Committed revision 8219.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 754561
How do I remove tags?
(In reply to Reed Loden [:reed] (very busy) from comment #6)
> How do I remove tags?

Once a tag is no longer used by any bug, it's totally removed from the DB.
Flags: testcase?
Blocks: 791584
Added to the relnotes for 4.4.
Keywords: relnote
Blocks: 861519
Blocks: 1088483
Blocks: 1191510
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: