Opened 7 years ago
Closed 7 years ago
#3029 closed task (blessed) (fixed)
Plugin Directory: Introduce UI for managing plugin support reps
Reported by: | SergeyBiryukov | Owned by: | Otto42 |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | has-patch has-screenshots |
Cc: |
Description (last modified by )
Background: #2699
Some of the larger plugin/theme shops have a support team to help out on the forums. It would be useful to be able to give those people a special "support rep" role so they could be recognized as such.
Support staff can mark topics as resolved or sticky (same as plugin authors and contributors), but doesn't have commit access.
In order to implement this, Plugin Directory needs a UI for managing the plugin's support staff. The attached patch implements a UI similar to managing committers on the Advanced view.
Attachments (2)
Change History (14)
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
7 years ago
#5
@
7 years ago
@Otto42 On committing, I'd suggest using svn cp
or TortoiseSVN UI to copy the existing files to new names:
admin/list-table/class-committers.php → admin/list-table/class-support-reps.php admin/metabox/class-committers.php → admin/metabox/class-support-reps.php api/routes/class-plugin-committers.php → api/routes/class-plugin-support-reps.php widgets/class-committers.php → widgets/class-support-reps.php widgets/js/committers.js → widgets/js/support-reps.js
And then overwriting those new files with the ones from the patch.
That way the files will preserve the existing commit history and only show the actual changes in SVN blame rather than appear as completely new files. Not a big deal, but seems cleaner.
This ticket was mentioned in Slack in #polyglots by sergey. View the logs.
7 years ago
#8
follow-up:
↓ 10
@
7 years ago
@webdevmattcrom noted in #meta that adding a support rep doesn't work for accounts that have an email as a username (benmeredithgmailcom
in that case). The error is: The provided user could not be found
. Adding the same user by email worked fine.
I think special characters are no allowed in WP.org usernames, but it would be great to fix this for older accounts that might be affected.
The patch adds a
plugin_support_reps
taxonomy for integration with the forums in #2699, and builds on the existing code for managing committers, so while it may seem like there's a lot of new code, it's not really new :)