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)
- Barcode scanner error unreadable on Samsung in light mode
- Front of Card Image not the default HOT 4
- Width of Barcode Display HOT 4
- GUI feature/accessibility request: different number of columns HOT 1
- Search by Card ID and Barcode value HOT 1
- In the list of cards, some names are not fully displayed
- Do not reset search results after exiting the card view window HOT 2
- Save button is covered by OSK when last action is text editing HOT 1
- The barcode value does not match the text below the barcode HOT 2
- In case of an error "No barcode was found" prompt the user to manually specify the area of ββthe image to rescan HOT 3
- Group checkboxes lack contrast in dark theme
- PNG with transparency is not displayed correctly as thumbnail HOT 1
- Add Front β Back Image Button HOT 3
- The general search results should include all cards of the group whose name matches the search query HOT 6
- Custom global full screen barcode display height does not save its value HOT 1
- Swiping to dismiss keyboard also dismisses search HOT 2
- Keep the screen on during export HOT 1
- Request during import: do you want to replace the current ones or add to them? HOT 1
- Handle click outside of import process notification HOT 1
- Migrate codebase to Kotlin HOT 1
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.