helloworld1 / AnyMemo

Advanced Spaced Repetition flashcard learning software for Android.
http://www.anymemo.org
GNU General Public License v2.0
151 stars 53 forks source link

Adding Tag Support for Categories #348

Open helloworld1 opened 9 years ago

helloworld1 commented 9 years ago

Original issue 341 created by helloworld1 on 2014-12-27T00:39:30.000Z:

What is the feature you want?

Hi!

In AnkiDroid, I can see that Categories are Tag-enabled. This means, that:

I can have a category "Java" and a category "JavaScript"

Card A could have category "Java". Card B could have category "JavaScript". Card C could have category "Java, JavaScript".

This feature is very important for me, as I have a lot of cards that are related to more than ONE category.

Presently a card that is related to both categories gets a category "Java, JavaScript". But with this, filtering for "Java" is not possible, as I get pure JavaScript cards too.

As far as I see it, the database can stay untouched, as still one column "category" can be used. It might be useful that users can decide to use the "tag" feature (as some users might use a comma in their categories -> they would get strange categories afterwards).

How important is it to you?

As I have a lot of those cards that are not related to one category only but are related to some subordinate categories (approximately 30 percent out of more than 5000 cards), this feature is really important to allow easy lookup of specific cards/card groups.

Do you think other people also want this feature and why?

  1. As Anki/AnkiDroid has this feature already, there really must be users that can benefit from this feature.
  2. I expect that a lot of users have cards that are related to more than one topic (respectively categories that have subordinate categories).

    Implementation?

Could you please give me a rough idea, how long a possible implementation would take? (could it be possibly implemented until end of March 2015????).

Thanks in advance!!!!

helloworld1 commented 9 years ago

Comment #1 originally posted by helloworld1 on 2014-12-27T15:18:46.000Z:

Attached are two screenshots from AnkiDroid that hopefully clarify the intented feature.

helloworld1 commented 9 years ago

Comment #2 originally posted by helloworld1 on 2015-01-04T06:44:08.000Z:

This is similar to the multi-category feature hanging there for quite a while. In the current implementation, it would require some db format change because there is a foreign key many-to-one relation between the cards and categories table. This complicated the task a lot because many of the code logic needs to add additional logic to ensure the compatibility with the old db format.

helloworld1 commented 9 years ago

Comment #3 originally posted by helloworld1 on 2015-01-08T21:48:20.000Z:

Hi!

Sorry to bother you again with this question, but I would like just to get an idea...:

Do you think end of March 2015 would be realistic?

Thanks!!!

helloworld1 commented 9 years ago

Comment #4 originally posted by helloworld1 on 2015-01-09T19:35:31.000Z:

I don't think I have this work planed for now. For the next release, the only major feature is the better widget support. I am working on compatibility issues related to Android 5.0 and Samsung devices.