9dogs / notion-anki-sync

Sync Notion toggle lists to Anki cards.
GNU General Public License v3.0
56 stars 8 forks source link

Grouping and Different Deck Name for each page ID #14

Open elnoxvie opened 2 years ago

elnoxvie commented 2 years ago

Thanks for the Addons. Currently, the addon only create a single deck with everything in there. This can be confusing, e.q. if math and biology cards is on the same deck thus, i was wondering if you have any plan to support multi decks sync.

Further, currently if there are multiple decks, it will be populated only on the main list. Thus, the main list can be Polluted unnecessarily. Thus, if grouping can be introduced, it will be great.

Thus, here are some suggestions: Create subdecks and group them under anki_deck_name and add support for subdeck by providing deck_name under notion_pages:

"notion_pages": [
  {"page_id": "", "recursive": false, "target_deck": "target_deck1"},
  {"page_id": "", "recursive": false, "target_deck": "target_deck2"}
  ]

Anki decks should look like this: "Notion Sync" --"Subdeck 1" --"Subdeck 2"

I have also made a minor changes to allow the setup i mentioned above if you accept a pull request, i will be glad to contribute on this.

Proki15 commented 2 years ago

I have a problem with it, unfortunately. When I enter it as suggested above, no subdecks are created for me. I still have the problem that all cards are in a single deck. Can you maybe help with this?

Ahmadmsbelbeisi commented 1 year ago

@9dogs Any update on this ?

Ahmadmsbelbeisi commented 1 year ago

Thanks for the Addons. Currently, the addon only create a single deck with everything in there. This can be confusing, e.q. if math and biology cards is on the same deck thus, i was wondering if you have any plan to support multi decks sync.

Further, currently if there are multiple decks, it will be populated only on the main list. Thus, the main list can be Polluted unnecessarily. Thus, if grouping can be introduced, it will be great.

Thus, here are some suggestions: Create subdecks and group them under anki_deck_name and add support for subdeck by providing deck_name under notion_pages:

"notion_pages": [
  {"page_id": "", "recursive": false, "target_deck": "target_deck1"},
  {"page_id": "", "recursive": false, "target_deck": "target_deck2"}
  ]

Anki decks should look like this: "Notion Sync" --"Subdeck 1" --"Subdeck 2"

I have also made a minor changes to allow the setup i mentioned above if you accept a pull request, i will be glad to contribute on this.

@elnoxvie Would you mind sharing the changes to allow the setup you mentioned above??