Ticket #1318: meta-1318.patch
File meta-1318.patch, 1.9 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
13 13 'needs-testing' : 'Patch has a particular need for testing.', 14 14 'ui-feedback' : 'Feedback is needed from the user interface perspective, generally from the UI team.', 15 15 'ux-feedback' : 'Feedback is needed from the user experience perspective, generally from a UX lead.', 16 'has-unit-tests' : 'Proposed solution has unit test coverage.', 16 17 'needs-unit-tests' : 'Ticket has a particular need for unit tests.', 17 18 'needs-docs' : 'Inline documentation is needed.', 18 19 'needs-codex' : 'The Codex needs to be updated or expanded.', 20 'has-screenshots' : 'Visual changes are documented with screenshots.', 21 'needs-screenshots' : 'Screenshots are needed as a visual change log.', 19 22 'commit' : 'Patch is a suggested commit candidate.', 20 23 'early' : 'Ticket should be addressed early in the next dev cycle.', 21 24 'i18n-change' : 'A string change, used only after string freeze.', … … 539 542 wpTrac.workflow.removeKeyword( 'has-patch' ); 540 543 } 541 544 545 if ( 'has-unit-tests' === keyword ) { 546 wpTrac.workflow.removeKeyword( 'needs-unit-tests' ); 547 } else if ( 'needs-unit-tests' === keyword ) { 548 wpTrac.workflow.removeKeyword( 'has-unit-tests' ); 549 } 550 551 if ( 'has-screenshots' === keyword ) { 552 wpTrac.workflow.removeKeyword( 'needs-screenshots' ); 553 } else if ( 'needs-screenshots' === keyword ) { 554 wpTrac.workflow.removeKeyword( 'has-screenshots' ); 555 } 556 542 557 // Add it to the bin, and refresh the hidden input. 543 558 html = $('<span />').text(keyword).attr('data-keyword', keyword).prepend('<a class="dashicons dashicons-dismiss" href="#" />'); 544 559 if ( title )