WordPress.org

Making WordPress.org

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#3487 closed enhancement (fixed)

Plugin Directory: "Support Reps" widget should only be visible if any support representative listed

Reported by: malayladu Owned by: SergeyBiryukov
Milestone: Priority: normal
Component: Plugin Directory Keywords: dev-feedback 2nd-opinion
Cc:

Description

There is a widget called "Support Reps" available to list all support reps on the Advanced view of Plugin directory.

In an ideal case, this should be visible only if logged in user has access to add new support reps or at least 1 support reps added for that plugin. We can hide if there are no support reps listed.

Attachments (1)

plugin-advance-view.png (30.8 KB) - added by malayladu 15 months ago.
Suport Reps

Download all attachments as: .zip

Change History (7)

@malayladu
15 months ago

Suport Reps

#1 follow-up: @tobifjellner
15 months ago

That section is ONLY visible to the plugin owners. So an alternative approach might be that if there is no support rep appointed, then a short text about this role and how to add some reps might be shown there.

#2 @obenland
15 months ago

Any suggestions as to what it should say?

#3 @tobifjellner
15 months ago

What about this:
There are no support representatives appointed yet for this plugin. A support rep has a special badge when posting in the support forum of the plugin and can mark topics as “solved”.

Perhaps a corresponding text might be useful under "Contributors", too? But I know too little about the logics and capabilities to draft that one.

#4 in reply to: ↑ 1 @SergeyBiryukov
15 months ago

Replying to tobifjellner:

That section is ONLY visible to the plugin owners.

Plugins owners also see the text input and "Add" button: ticket:3029:3029.PNG. It's only plugin contributors who see the widget without being able to edit it.

We could add a short hint for owners, but I think we should hide the widget for contributors if it's empty, since they won't be able to add support reps anyway.

#5 follow-up: @SergeyBiryukov
15 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 6804:

Plugin Directory: Don't show "Support Reps" widget in Advanced View if there are no support reps and the current user cannot add them.

Props malayladu.
Fixes #3487.

#6 in reply to: ↑ 5 @malayladu
15 months ago

Awesome.

Thanks!

Replying to SergeyBiryukov:

In 6804:

Plugin Directory: Don't show "Support Reps" widget in Advanced View if there are no support reps and the current user cannot add them.

Props malayladu.
Fixes #3487.

Note: See TracTickets for help on using tickets.