Comments (18)
Thank you for the clarification, it seems reasonable to have Trash for deleted cards, working on it..
from flashcard-maker-android.
I think it should mimic the move function you already have, the only difference - Trash is a dedicated storage. All the cards in Trash should be organized inside the appropriate set. No card will be outside a set in Trash.
Let's start with completely empty Trash. You want to delete a Card1 from Set1. The moment you do it, an empty Set1 folder is automatically created in Trash and Card1 is moved to Set1 in Trash. Other cards still stay in the original Set1. Now you decide to delete Card4 from Set1. Because we already have Set1 in Trash, Card4 is moved to Trash\Set1. If you go to Set2 and delete Card3, then Set2 is created in Trash and Card 3 from Set 2 is moved to Trash\Set2.
The only problem I see is that folder names should be unique, otherwise it will no be easy to organize the process.
Alternatively, as an option, you may want to remove Trash feature option altogether from the application and users could rely on move to (Trash) folder that you already implemented instead of deleting. To me it just wouldn't make sense to keep the safe delete feature that is able to safe delete the card set only, but not the individual cards.
from flashcard-maker-android.
I was not able to install the compiler on my computer because the compiler required too much space. I think some people might not have enough knowledge on how to compile the source code into executable binary, but they would be able to provide valuable end user feedback. I know the executable files are often compiled by the main developer (who is a trusted source) and published on Github. I would also be happy to install from Google Play beta area if you want to do it for every commit. I am sure you would have even more feedback from end users.
from flashcard-maker-android.
I like it how now we can move the cards between archive and live sets with just one click! But we seem to have lost the ability to delete some individual cards for good. We can only delete the card sets which is not very convenient. One way to resolve this could be adding the delete option to the checkmark menu - CUT, COPY and DELETE. This way we will have a choice of mass selective deletion of the cards we know we don't want to keep. What do you think?
from flashcard-maker-android.
It should be live on Open testing soon, I will be testing it tomorrow and promote to production. Feel free to report any issues.
from flashcard-maker-android.
Works very wel, thank you very much!
You may want to replace the words CUT, COPY and DELETE with the appropriate icons. This would be less distracting and more universal.
from flashcard-maker-android.
I think making a card is so easy, no need to have a separate Trash for them.
I would prefer to have 'Undo' operation available for like 4-5 seconds after a card is deleted
from flashcard-maker-android.
Remaking a card with a lot of information on it that was deleted by accident might not a very easy job. And 4-5 seconds might not be enough. I think this should work similar to a Recycle Bin in Windows. Card sets in this case are similar to windows folders and the cards are similar to windows files. Deleting a card set with a bunch of cards to the trash is already implemented in the application. I am not sure with the card set with a bunch of cards should be treated differently than an individual card.
from flashcard-maker-android.
@greyboxgt do you have any idea how cards are kept in Trash?
Should they be displayed alongside sets in Trash? I think it would make it messy: imagine having a bunch of cards and sets together in Trash, you may have a hard time finding the necessary set to put back -> I've tried this locally, I really don't like it as a user.
from flashcard-maker-android.
Thank you for your detailed response.
I think creating a clone of a set would complicate the deletion process. I was thinking of removing the delete button from cards, and place it on top bar (next to Cut/Copy). Then following steps would be required to delete cards:
- Select cards
- Click on the delete button on top bar
- An alert will be displayed to confirm with notice that this action permanently deletes the selected cards.
- If users confirm with 'Yes', the selected cards will be deleted permanently.
I think we can prevent unintended deletions in this way.
Let me know if you have any thoughts on this.
from flashcard-maker-android.
This will work, but the card is gone forever and you won't have a second chance to recover your card after you confirm the deletion. I can suggest another simplified scenario, if that is possible to implement. There will be an permanent set called something like "Recycle Bin" or "Trash". When a user deletes a card by pressing X in the right top corner, the card is not dumped forever, but is automatically moved to the Trash set regardless of the original set name. The cards deleted from other sets will also be moved to the same Trash set. If the user wants to recover the deleted card (s), he goes inside the Trash set and uses the standard Cut/Copy procedure you already developed to recover the card into original or any other card set. If the user deletes the entire card set with some cards in it, all the cards are automatically moved to the same Trash set and the empty card set is dumped automatically. The Trash storage will be designated for the deleted cards only, not for the empty card sets. The cards will be stored in bulk in the Trash bin, but it is much easier to recover the card than recreate it. As for an empty card set - it is relatively easy to recreate it. And you already have a button to empty the Trash.
from flashcard-maker-android.
With this commit, deleting a card does not delete the card permanently, it moves the card to an "archive" version of its set as you described above. The archive version of any set is just another set, it functions like a normal set.
For example, if we're about to delete Card1 from Set1, then following operations will be called after clicking the delete button:
- Check if there is an archive version of Set1, if not create one
- Move Card1 to the archive version of Set1.
If you open Archive label from the left navigation menu, the archive version of Set1 will be listed here.
Deleting from an archive set is the same as above, it moves the card from an archive set to its original set.
Technically speaking, normal sets have positive IDs, whereas archive sets are created with negative IDs in database. If Set1 has an ID = 100, then its archive version has an ID = -101. In this way, the set ID of any card can be altered from positive to negative or from negative to positive, so that the card always moves between its original set and archive set.
If a set is to be deleted permanently, "Move to Trash" and "Clear Trash" work for archive sets too.
Let me know if that works for you.
from flashcard-maker-android.
Thank you! Would it be difficult for you after each commit to make the latest apk available for download in this githab? Otherwise I have to wait until Daniel makes the apk for me.
from flashcard-maker-android.
Yes, I can do it, but I think it is better for anyone to install apks from trusted sources (Google Play or building from source code yourself).
from flashcard-maker-android.
Thank you for feedback. Yes, I have just released it to open testing, it should be visible in few hours. You may now test the new version by joining the beta on Google Play. Feel free to reopen the issue if something comes up.
from flashcard-maker-android.
Thank you for the update! I was able to install your latest beta version from Google Play, but the trick was that I had to manually uninstall the version I installed earlier from an .apk file.
from flashcard-maker-android.
Since Google Play shows a version with release signatures, the one you had was a debug version with the debug signatures. From now on, I will be releasing the app to Beta on every commit / feature addition.
from flashcard-maker-android.
I am not sure if it makes sense to open a new issue, but currently after starting the checkmark menu count the card rotation icon disappears. It would be very useful to be able to rotate the card before making the checkmark menu selection.
from flashcard-maker-android.
Related Issues (20)
- Sort and shuffle the deck set HOT 3
- Clicking on card editing button always flips onto the front size of the card
- An option to remove an image/drawing from one side of the card HOT 3
- Flipping and saving the card side state HOT 14
- Sorting cards alphabetically with mixed case HOT 3
- Drag & drop to change set order HOT 4
- Icons consistency in different modules HOT 6
- Flip & select cards HOT 1
- Default card settings HOT 3
- Implement Leitner system
- Manual Passed/Failed in Quiz Mode HOT 2
- Annoying text editing function HOT 3
- Card numbering after after the shuffling. HOT 6
- font size options HOT 2
- Archive issue HOT 9
- Navigation between the cards in the editing and study modules HOT 6
- Pinching and sliding conflict
- CSV Export function is not working on some Android SDK 30+ devices. HOT 2
- Trash icon on dark background
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 flashcard-maker-android.