Open luzhanov opened 7 years ago
@vvscode If you will have a time to implement this please comment it. It's the last issue before we can release the first "local saving" version of plugin.
sure. Just added task list
@luzhanov This one should be branched from 2.0.0_local_storage
?
and also - can you describe logic for current options.js
, or I can replace all it's content ( related to decks ) and rewrite it in accordance with acceptance criteria?
@vvscode
This one should be branched from 2.0.0_local_storage ?
Yes
can you describe logic for current options.js, or I can replace all it's content ( related to decks ) and rewrite it in accordance with acceptance criteria?
I just thinking about "Hide decks" functionality - it's useless right now, but it can be reused later, when/if we will restore connectivity with Anki. I'd rather vote for commenting it on the options page, but not removing from the code. What do you think?
About "Keyboard shortcuts" - i think it should stay as is.
https://github.com/luzhanov/anki-adder-plus/pull/14 work in progress
@luzhanov there are two functions optionsLocalDecks
/ optionsListDecks
. Both fill list of decks block. But second one remove result of first one -- what for do we need two functions? I support that second one should handle remove decks from ankiweb ( is it correct? ). Is it still actual?
And also as far as I see - please add acceptance criteria for popup/form -- cause decks used and there too.
there are two functions optionsLocalDecks / optionsListDecks
My fault. optionsLocalDecks
was written by me as a simple example, optionsListDecks
was used before - i suppose we can remove it.
acceptance criteria for popup/form -- cause decks used and there too.
I'm expecting that we don't need any changes there - if decks will be stored in the same way as before than the popup form will handle them correctly
I added acceptance criteria for popup - now I understand that you need to make some changes there too
I found https://chrome.google.com/webstore/detail/anki-adder-plus/ahdmkklclpffcjgfllibcojofffgdagd?hl=en -- The question is -- how user can create nested decks? ( or it's just a form of presentation based on names via ::
) ?
how user can create nested decks? ( or it's just a form of presentation based on names via :: ) ?
Yes, it's just a presentation of :: name notation
Right now we have only two local decks which are hardcoded here:
defaultDataFiller.js:37
A primitive listing of decks implemented hereoptions.js:109
andoptions.html:22
Please implement simple controls for a deck management. There are no strict requirements to the presentation.
ACCEPTANCE CRITERIA
localStorage["currentDeck"]
) - first deck in list should be selected