Page MenuHomePhabricator

Hide delete button from "Create new component" page
Closed, ResolvedPublic

Description

Problem

The delete button is displayed when watching a new component and will crash the site.
 

Proposed solution

Hide the delete button when an user is creating a component.
 
Student is expected to upload a patch against labs/tools/watch-translations repository at Wikimedia Gerrit. Student should claim Phabricator task while claiming task at the GCI site.
 

Materials

 

Event Timeline

Aklapper renamed this task from Hide delete button from "Create new compnent" page to Hide delete button from "Create new component" page.Dec 9 2019, 8:12 PM
Vargas04 triaged this task as Unbreak Now! priority.Dec 10 2019, 3:02 PM
Nirmos lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 10 2019, 8:21 PM
BrandonXLF subscribed.

It makes the site unusable, even after clearing cookies cookies or using a new browser.

@Aklapper Probably, it's just that I can't view the web interface because I get a 502 Bad Gateway error since I deleted a new component, on two different accounts.

Change 556518 had a related patch set uploaded (by BrandonXLF; owner: BrandonXLF):
[labs/tools/watch-translations@master] Add template for creating new components

https://gerrit.wikimedia.org/r/556518

Change 557272 had a related patch set uploaded (by BrandonXLF; owner: BrandonXLF):
[labs/tools/watch-translations@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/labs/tools/watch-translations into T240237

https://gerrit.wikimedia.org/r/557272

Change 557272 abandoned by BrandonXLF:
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/labs/tools/watch-translations into T240237

Reason:
Made by mistake

https://gerrit.wikimedia.org/r/557272

Change 556518 merged by jenkins-bot:
[labs/tools/watch-translations@master] Prevent deletion of nonexistent components

https://gerrit.wikimedia.org/r/556518