Last modified: 2013-06-18 15:09:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26084 - Make a simpler way to remove CodeReview tags
Make a simpler way to remove CodeReview tags
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-23 11:40 UTC by Sam Reed (reedy)
Modified: 2013-06-18 15:09 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2010-11-23 11:40:18 UTC
The text box to "remove tags" is a bit daft. A cross or similar next to it would be nicer...
Comment 1 p858snake 2011-02-13 03:30:18 UTC
Just a single tags section with some jquery to list them, tumblr style perhaps?

(No idea what the tags section actually looks like)
Comment 2 Sam Reed (reedy) 2011-05-22 20:31:27 UTC
Doing a API request against action=coderevisionupdate to remove the tag would do it...

So it's another AJAXy type front end addition...
Comment 3 Antoine "hashar" Musso (WMF) 2011-09-02 21:54:10 UTC
Going to code something.  The UI will probably be crappy though :/
Comment 4 Chad H. 2011-09-02 21:54:48 UTC
(In reply to comment #0)
> The text box to "remove tags" is a bit daft. A cross or similar next to it
> would be nicer...

What could be simpler than a textbox?
Comment 5 Sam Reed (reedy) 2011-09-02 21:55:41 UTC
(In reply to comment #4)
> (In reply to comment #0)
> > The text box to "remove tags" is a bit daft. A cross or similar next to it
> > would be nicer...
> 
> What could be simpler than a textbox?

Laziness - Why should I have to write out (or copy paste) the tag name and click save?
Comment 6 Krinkle 2011-09-02 22:31:42 UTC
For the Gadget Manager I'm currently working on a method that I call propCloud.
Basically it's meant for adding, removing and changing items in a form that are actually an array.

In my case it's an array of modules (the dependencies-array as seen in ResourceLoader module definitions). It shows a little cloud with <div>'s that are the items. Then a text area next to it (with autocompletion) and on-enter, selection of suggestions or click on {add} it adds it to the cloud as a <div> and clears the input field.
In the gadget manager it only does an ajax request when the page is saved, but the callback could also make an ajax request right away.

Adding this to Codereview would be cool.

One thing to keep in mind: No conflict resolution exists in CodeReview, so when you add this via AJAX and then leave a comment (which isn't AJAX but submits the entire form), would it mess with the tags ?
Comment 7 Krinkle 2011-09-02 22:33:31 UTC
Oh, right. Tags aren't in issue there (when saving a comment). It's the status changes that sometimes mess up:
* Brion opens page
* Chad opens page
* Brion changes status and submits
* Chad continous reading, writes a comment and submits
* Chad reverted Brion's status change without knowing.

-- anyway, that's NOT related...
Comment 8 p858snake 2011-09-02 22:54:43 UTC
(In reply to comment #7)
> Oh, right. Tags aren't in issue there (when saving a comment). It's the status
> changes that sometimes mess up:
> * Brion opens page
> * Chad opens page
> * Brion changes status and submits
> * Chad continous reading, writes a comment and submits
> * Chad reverted Brion's status change without knowing.
> 
> -- anyway, that's NOT related...

Indeed its not... that is Bug 27886
Comment 9 Antoine "hashar" Musso (WMF) 2011-09-03 08:01:14 UTC
I have sent my crappy UI with r96158 & r96159.
Comment 10 Mark A. Hershberger 2011-09-27 18:58:07 UTC
(In reply to comment #9)
> I have sent my crappy UI with r96158 & r96159.

'Tis done.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links