WMDE-leszek updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
As an editor I want to be able to remove a wrong form.editor, I want to remove a form

**Acceptance criteria:**
A form can be removed via the UI
A form can be removed via the API
Tracking that needs to be done is specified


Wireframes for individuals features referencing the style guide components
UX - to prepare a style guide components for Wikidata
Click Here for Wireframe


Happy Path:

Given I am on the Lexeme page
And I have permissions to edit Lexeme
And a Form for the Lexeme exists
When I click on the Form’s edit button
And I see a delete button in the edit form block
Then I click delete
And I see //Removing...// message
And the form is deleted
And the removal shows up in the edit history with the summary
And SUMMARY NEEDS TO BE DEFINED BY PRODUCT

Error Flows:

Given I am on a Lexeme page
And I have permissions to edit Lexeme
And a Form for the Lexeme exists
When I click on the Form’s edit button
And I see a delete button in the edit form block
And I click delete
And I see //Removing...// message
And an error from error list 1 occurred
Then The Removing... message is hidden
And I see the Form is still there
And I see the Error Message bubble next TODO: define where it is
And the Error Message says ERROR MESSAGE FOR EACH ERROR


Error List 1:


Acceptance criteria:| Error Type
| Error Message
| Edit Conflict
| Rate Limit
| Read Only
| Token failure/Session Failure
| Abuse filter failure
| Unexpected exceptions
| Permissions
| Protected
|





Given I am on a Lexeme page
When I don’t have permissions to edit Lexeme
And a Form for the Lexeme exists
Then I don't see Form's edit button

Given I am on a Lexeme page

* a form can be removed via the UIWhen The Lexeme is protected
* a fAnd a Form can be removed via the APIfor the Lexeme exists
* the removal shows up in theThen I don't see Form's edit historybutton


TASK DETAIL
https://phabricator.wikimedia.org/T173332

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: WMDE-leszek
Cc: Liuxinyu970226, WMDE-leszek, Aklapper, PokestarFan, Bugreporter, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to