Comments (7)
Comment by brarcher
Sunday Sep 10, 2017 at 16:24 GMT
I'm not opposed to adding this option. Being able to remove all cards may be useful. Note though that a user has the ability to do this now by removing all data from the app from Settings, which has the same effect:
Is the goal to have imports be clean, where all pre-existing data is wiped and only the imported data remains? Right now all imports attempt to insert items into the database, instead of update them. The assumption is that the data on the phone may be more up-to-date that the backup, and the backup should only restore data instead of overwrite it. However, to enable a clean import, would it suffice to have an option on the import screen which asks if all data should be wiped before the import? The only risk here is that if the import fails (perhaps it is corrupted) there will be no data left on the phone.
from android.
Comment by github-kp
Monday Sep 11, 2017 at 10:12 GMT
Thanks for the quick reply.
Cool, I did not think of using "Clear data". I tried it -- it works and this basically solves my problem. Nevertheless, I believe it would still be a nice feature as deleting all cards would be more convenient from within the app (e.g. right before a subsequent import). Also, not every user knows or thinks of the "Clear data" option, including myself ;-)
Yes, I was looking for a way to wipe all pre-existing data on the device before importing (newer) data from another device. This results in having exactly the same / latest data on both devices. I kind of maintain the cards on one device and want to keep other devices in sync. And an option for deleting all cards allows me to do so.
Actually I like the current implementation / idea of the import. If I understand correctly, it does kind of a merge if there is pre-existing data, which is nice.
In my opinion it would be suffice to have a separate menu option for deleting all cards. And this function could be used before importing cards, if the user likes to do so. I believe it does not necessarily need to be part of the import procedure. But it could be, of course. However, my personal preference would be a unique feature because it allows both
- deleting all cards -- for any reason,
- and a "clean import".
I believe you are right with the import-failure-risk -- in case the pre-existing data on the device is more up-to-date. Actually this risk might be yet another reason for having a separate menu option for deleting all cards, instead of letting it be part of the import procedure, right? Also, the user could check the "Delete all cards" option during the import by accident. At least these are my thoughts to this.
In my case however, I do not care if all data is lost due to an import-failure because I attempted to do a "clean import" anyway and the latest data is still in the backup (and on another device as well).
In case the user chooses to delete all cards, it would be good to validate the decision by asking "All cards will be deleted. Continue?" or something like that.
from android.
I do think that multi-selecting in the home screen would be a huge improvement. I don't want to add a "delete all cards" button, but deleting in bulk is definitely something I will implement.
from android.
Can I work on this issue?
from android.
That would be great @arshbeerSingh :)
from android.
Haven't heard from you in quite some months, so I'm un-assigning you in case someone else wants to pick this up. If you want to give it another try just tell me :)
from android.
Fixed in d57cb30.
from android.
Related Issues (20)
- Android locale change while in edit screen breaks barcode value
- Transliterated app name: how to deal with this HOT 6
- Hide untranslatable strings from Weblate
- Android 14 HOT 7
- Feature Request: switch to different card with volume keys HOT 2
- follow-ups & to-dos
- Actions with selected item / unification and simplification of manipulations with items & groups HOT 3
- Add ability to swipe between card barcodes HOT 3
- Wear OS compability HOT 1
- Show apps supporting "Allow other apps to access my data" toggle
- Investigate alternative app stores
- weblate & values-* directory name inconsistencies HOT 2
- Automatically trim contributors list HOT 3
- "No barcode" records don't optimally use available space HOT 1
- Missing option to auto-rotate screen on barcode display regardless of OS settings HOT 3
- Support thumbnail from already added photos HOT 5
- Sort manually HOT 13
- Space card numbers HOT 2
- Extreme battery usage when barcode is shown and app is still open HOT 1
- Binary/independent mode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.