Merge lp:~huwshimi/launchpad/tag-field-length-591274 into lp:launchpad

Proposed by Huw Wilkins
Status: Merged
Approved by: Curtis Hovey
Approved revision: no longer in the source branch.
Merged at revision: 12462
Proposed branch: lp:~huwshimi/launchpad/tag-field-length-591274
Merge into: lp:launchpad
Diff against target: 12 lines (+1/-1)
1 file modified
lib/lp/bugs/templates/bugtask-index.pt (+1/-1)
To merge this branch: bzr merge lp:~huwshimi/launchpad/tag-field-length-591274
Reviewer Review Type Date Requested Status
Curtis Hovey (community) ui Approve
Robert Collins (community) Abstain
William Grant code* Approve
Martin Pool (community) Approve
Review via email: mp+49341@code.launchpad.net

Commit message

[r=mbp,wgrant][ui=sinzui][bug=591274] Modified the bug tag field width so that it is a more appropriate length for the content.

Description of the change

Made the bug tag field wider so that it is a more appropriate length for the content.

TO TEST:

View a bug. Edit the tags (or click "add tags"). The edit field should be much wider (about the width of the bug description field.

To post a comment you must log in.
Revision history for this message
Martin Pool (mbp) :
review: Approve
Revision history for this message
William Grant (wgrant) wrote :

It would be nice if it didn't run off the edge of the page when the window got really thin. But I know how difficult that can be, and it doesn't look too bad now.

review: Approve (code*)
Revision history for this message
Robert Collins (lifeless) wrote :

This actually looks a little ugly to me; and it doesn't solve the root issue - we can still have too many tags for the region?

Perhaps solving that issue will have a better outcome? I'm bouncing this to sinzui for more analysis on style.

review: Abstain
Revision history for this message
Curtis Hovey (sinzui) wrote :

I think this branch is fine to land. I agree this does not address the root issue. I think this might be a be a fix for 80% or more of affected users. I think we can let the users judge if this is good enough. This is a long text input (which is what I think Robert means by ugly), and my instinct is that anyone exceeding this length is putting useless information in it.

review: Approve (ui)
Revision history for this message
Huw Wilkins (huwshimi) wrote :

> This actually looks a little ugly to me; and it doesn't solve the root issue -
> we can still have too many tags for the region?

One option would be to use a widget like we use for editing descriptions where the textarea grows vertically (with a textarea). This might add some interesting issues (like when you are editing a tag where do the suggestions appear).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/templates/bugtask-index.pt'
2--- lib/lp/bugs/templates/bugtask-index.pt 2011-02-17 01:03:34 +0000
3+++ lib/lp/bugs/templates/bugtask-index.pt 2011-02-24 05:55:41 +0000
4@@ -139,7 +139,7 @@
5 tal:attributes="href string:${context/target/fmt:url}/+bugs?field.tag=${tag}">tag</a>
6 </span>
7 <form id="tags-form" style="display: inline">
8- <input type="text" id="tag-input" style="display: none; width: 15em;" />
9+ <input type="text" id="tag-input" style="display: none; width: 35em;" />
10 <img src="/@@/spinner" id="tags-edit-spinner" style="display: none" />
11 <a href="+edit" title="Edit tags" id="edit-tags-trigger" class="sprite edit"></a>
12 <script type="text/javascript">