Acceptance Criteria:
- Hide Actions column in Contributions tab if no actions available
| ifried | |
| Oct 22 2025, 8:46 PM |
| F70259739: Screen Recording 2025-11-17 at 6.34.27 PM.gif | |
| Nov 18 2025, 12:37 AM |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T408256 [Epic] Collaborative contributions fix it tasks | |||
| Declined | cmelo | T408024 Hide Actions column in Contributions tab if no actions available |
Change #1200082 had a related patch set uploaded (by Cmelo; author: Cmelo):
[mediawiki/extensions/CampaignEvents@master] Hide Actions column in Contributions tab if no actions available
Change #1201163 had a related patch set uploaded (by Cmelo; author: Cmelo):
[mediawiki/extensions/CampaignEvents@master] Optimize delete permissions in EventContributionsPager to show or not the trash icon
Change #1201163 had a related patch set uploaded (by Cmelo; author: Cmelo):
[mediawiki/extensions/CampaignEvents@master] Optimize delete permissions to show or not the trash icon
Change #1201163 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] Optimize permission checks for contribution deletion buttons
Change #1200082 abandoned by Cmelo:
[mediawiki/extensions/CampaignEvents@master] Hide Actions column in Contributions tab if no actions available
Reason:
chenges done in another patch
If a user removes all of the edits that they are associated with, then the actions column will still display until page refresh. Should we hard refresh the page after all events that are associated with a user are deleted, so that the actions column is removed? Besides this case, it is working as expected.
Change #1206875 had a related patch set uploaded (by Cmelo; author: Cmelo):
[mediawiki/extensions/CampaignEvents@master] Remove actions column when there is no actions
I add a patch to remove the column if there is no more delete actions to be done in the page, but without a hard refresh, but there is one trick thing to have in mind:
Also, a question was raised in code review that is:
Couldn't we just keep the status quo, which is leave the column in this case, and if the user refreshes the column does not show anymore?
I don't have a personal preference, but if we decide to go with removing the column, we would need to address the scenario mentioned above.
cc: @ifried
We decided in today’s meeting to leave it as it is. This means that if the user has only one contribution to delete and deletes it, we will not automatically remove the “Actions” column. However, it will no longer be visible after refreshing the page if there are no contributions left to delete, which is the current status quo.
Change #1206875 abandoned by Cmelo:
[mediawiki/extensions/CampaignEvents@master] Remove actions column when there is no actions
Reason:
We decided in today’s meeting to leave it as it is. This means that if the user has only one contribution to delete and deletes it, we will not automatically remove the “Actions” column. However, it will no longer be visible after refreshing the page if there are no contributions left to delete, which is the current status quo. T408024#11462687