Page MenuHomePhabricator

Don't show 'Withdraw' button on My Applications if application has the SENT status
Closed, ResolvedPublic

Description

A user highlighted that it's confusing to see the Withdraw button on My Applications next to every application, even those which have already been finalized (Sent or Declined).

Since there's no expected use case for an editor withdrawing an application that's been finalized (if they want to de-authorize themselves they can do so via the Authorization in most cases), we should only show the Withdraw button next to applications-in-progress.

Acceptance criteria

  • The Withdraw button on My Applications is only shown next to applications without the SENT or DECLINED statuses.

Event Timeline

Samwalton9-WMF added a subscriber: Yash4357.

This feature was added by @Yash4357 in T243137 - perhaps you'd like to work on this? :)

Hi Sam,
There are total Six status Like:
Pending
Approved
Not Approved
Sent to Partners
Under Discussion
Invalid

According to me only in pending and Under Discussion status withdraw button is required.
If you want withdraw button in the status other than pending and discussion then tell me.

According to me only in pending and Under Discussion status withdraw button is required.
If you want withdraw button in the status other than pending and discussion then tell me.

Also 'Approved', I think. Since the application is still being handled internally at that point.

Ok! I will add withdraw button to only this three status.