android-app
android-app copied to clipboard
Being able to make several changes at once / bulk actions
From the list of articles, it will be very usefull to have options that will permit to :
- delete several articles in the same time
- set a tag to several articles in the same time
The API currently does not support batch operations (https://github.com/wallabag/wallabag/issues/1922) so it will have to be made manually on the app's side for now.
Most of 'batch' operation its a "bulk" process that we need. I imagined that wallabag-android could get in memory the choices of articles we made, and trigger the choosen action for each of them (article)
Sure, no worries. I only meant it will be slower to do because we got to wait for the correct answer each time for each item before it starts with the next item.
wallabag-android could get in memory the choices of articles we made, and trigger the choosen action for each of them (article)
I like that idea. But you should "get in memory" look like? A separate database table for saving actions on articles besides performaing that actions already locally in you app?
That's how I realized it. I created another table in my SQLite database called "OfflineTasks". It contains the item ID and the task to perform (mark as read/delete/favorite etc.). Each time the user presses the sync button, all actions are executed. If it was successful, the task can be deleted from the database.
@jlnostr I guess you're at the wrong place here. :-p
Hi, where's this at? Thanks!
Status is represented by this issue: Nothing happend since ages. If you want to contribute, we would be happy to receive a pull request for this issue.
Great feature, waiting for it ! Glad to see it was put in the milestones !