Background
Currently when you click the bookmark icon when filled it removes items from ALL LISTs. Going forward we want to have more granularity here - to be able to remove from just the default list for example.
The existing API is a bit cumbersome for this simple action. You must first traverse all items in a given list to find the entry ID of the item you want to remove and then call deletentry in API - particularly if the list is long e.g. have 100 items and needs multiple API requests to find.
This blocks work on T438390: Support unsave flow via configpopover which I discovered while tinkering with this patch:
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ReadingLists/+/1353505
User story
As a developer I want a cheap and easy way to remove an item from a list.
Design requirements
Add design requirements or link to design files.
Requirements
- Given a title and project I should be able to remove it from a single list ID in one API request.
Acceptance criteria for done
- Add clear acceptance criteria. Separate out items to implement and items to QA if needed.
QA strategy
- Risky change? List whether this change has an increased potential to cause bug, regressions, or controversy.
- QA by: Who should QA this task?
- QA in: Which environment? Patchdemo, beta, production...
- Test steps: Add if needed.
Communication criteria
Add if this needs an announcement or discussion.
Rollback plan
Describe the rollback plan in production for this task if something goes wrong.
This task was created by Version 1.2.0 of the Reader Experience team task template using phabulous.