dracosh 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -11
- package/locales/de.json +1046 -0
- package/locales/en.json +1029 -0
- package/locales/fr.json +1094 -0
- package/locales/pl.json +1117 -0
- package/locales/uk.json +1118 -0
- package/package.json +2 -2
- package/src/alerts.js +3 -1
- package/src/backup.js +2 -1
- package/src/cardline.js +71 -0
- package/src/cli.js +39 -52
- package/src/commands.js +14 -12
- package/src/demo.js +11 -0
- package/src/diff.js +13 -7
- package/src/i18n.js +68 -0
- package/src/judge.js +24 -6
- package/src/library.js +62 -35
- package/src/lock.js +2 -1
- package/src/manage.js +150 -60
- package/src/pause.js +1 -2
- package/src/progress.js +76 -59
- package/src/quiet.js +3 -2
- package/src/scheduler.js +3 -6
- package/src/session.js +69 -19
- package/src/settings.js +13 -6
- package/src/starter.js +36 -27
- package/src/store.js +9 -7
- package/src/tips.js +12 -3
- package/src/ui/AddCard.js +405 -81
- package/src/ui/AnswerInput.js +22 -10
- package/src/ui/App.js +181 -50
- package/src/ui/BadgeUnlock.js +4 -3
- package/src/ui/Badges.js +9 -8
- package/src/ui/Choice.js +14 -9
- package/src/ui/Companion.js +13 -13
- package/src/ui/Confetti.js +2 -2
- package/src/ui/Decks.js +58 -8
- package/src/ui/DieRoll.js +9 -9
- package/src/ui/Evolution.js +7 -7
- package/src/ui/Hatch.js +7 -6
- package/src/ui/Header.js +58 -16
- package/src/ui/Help.js +31 -25
- package/src/ui/Mascot.js +1 -2
- package/src/ui/Missed.js +13 -12
- package/src/ui/Preview.js +48 -29
- package/src/ui/Reset.js +13 -14
- package/src/ui/Settings.js +26 -19
- package/src/ui/Stats.js +24 -23
- package/src/ui/Summary.js +10 -9
- package/src/ui/TheOne.js +7 -6
- package/src/ui/icons.js +1 -2
- package/src/ui/kit.js +34 -6
- package/src/vacation.js +2 -1
- package/src/words.js +2 -1
- package/data/tips.json +0 -32
package/data/tips.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{ "id": "keys-enter", "cat": "Keys", "text": "Don't want to wait? Press Enter between cards and the next one comes right away." },
|
|
3
|
-
{ "id": "keys-esc", "cat": "Keys", "text": "Esc clears what you typed. Press it on an empty line to quit." },
|
|
4
|
-
{ "id": "keys-wake", "cat": "Keys", "text": "Leave Dracosh alone for a few minutes and your dragon dozes off. Any key wakes it." },
|
|
5
|
-
{ "id": "keys-filter", "cat": "Keys", "text": "Type / and a letter or two to narrow the commands: /pa finds /pause." },
|
|
6
|
-
{ "id": "cards-decks", "cat": "Cards", "text": "/decks switches to another deck or starts a new one. Dracosh opens that deck next time too." },
|
|
7
|
-
{ "id": "cards-add", "cat": "Cards", "text": "/add puts new cards into the deck you're practising. Esc when you're done." },
|
|
8
|
-
{ "id": "cards-typo", "cat": "Cards", "text": "One wrong letter in a longer word still counts as right. Dracosh shows you the correct spelling." },
|
|
9
|
-
{ "id": "cards-boxes", "cat": "Cards", "text": "A right answer sends a card to a later box: it comes back in 1, 3, 7, 14, then 30 days." },
|
|
10
|
-
{ "id": "cards-miss", "cat": "Cards", "text": "A missed card goes back to the first box and comes back within minutes, until it sticks." },
|
|
11
|
-
{ "id": "cards-hint", "cat": "Cards", "text": "Stuck on a card? /hint reveals one more letter. The card still counts, but stays in its box." },
|
|
12
|
-
{ "id": "cards-correct", "cat": "Cards", "text": "Marked wrong although you were right? Type /correct before the next card and it counts." },
|
|
13
|
-
{ "id": "cards-dont-know", "cat": "Cards", "text": "Don't know it? Press Enter with nothing typed and the answer shows up. The card comes back soon." },
|
|
14
|
-
{ "id": "cards-missed", "cat": "Cards", "text": "/missed lists the cards you got wrong today. Use ← and → to look at earlier days." },
|
|
15
|
-
{ "id": "cards-new", "cat": "Cards", "text": "Dracosh mixes new cards in with your reviews, up to 20 new ones a day." },
|
|
16
|
-
{ "id": "streak-goal", "cat": "Streak", "text": "Reach your daily goal to keep your streak going. You can change the goal in /settings." },
|
|
17
|
-
{ "id": "streak-freeze", "cat": "Streak", "text": "A freeze saves your streak on a day you missed. You start with two and get one back each week." },
|
|
18
|
-
{ "id": "streak-weekends", "cat": "Streak", "text": "Weekends are rest days by default: skipping them never breaks your streak. Change it in /settings." },
|
|
19
|
-
{ "id": "streak-days-off", "cat": "Streak", "text": "Going away? /pause 7d keeps your streak safe for a week. /pause 24.12 2.01 takes dates." },
|
|
20
|
-
{ "id": "streak-stats", "cat": "Streak", "text": "/stats shows your streak and a calendar of the month. Use ← and → to see other months." },
|
|
21
|
-
{ "id": "dragon-forms", "cat": "Your dragon", "text": "Your dragon grows with your best streak: a new form at 7, 30, 90, 180 and 365 days." },
|
|
22
|
-
{ "id": "dragon-companion", "cat": "Your dragon", "text": "/companion shows your dragon and the forms still ahead of it." },
|
|
23
|
-
{ "id": "dragon-combo", "cat": "Your dragon", "text": "Three right answers in a row and your dragon starts to glow. Keep the combo going!" },
|
|
24
|
-
{ "id": "dragon-badges", "cat": "Your dragon", "text": "/badges shows every badge and what unlocks it. One of them stays secret until you win it." },
|
|
25
|
-
{ "id": "pause-break", "cat": "Breaks", "text": "Need some focus? /pause 30m or /pause 2h holds the cards. /pause off brings them back." },
|
|
26
|
-
{ "id": "pause-quiet", "cat": "Breaks", "text": "Set quiet hours in /settings and Dracosh stays silent while you sleep." },
|
|
27
|
-
{ "id": "settings-every", "cat": "Settings", "text": "Cards too often, or not often enough? Change the interval in /settings." },
|
|
28
|
-
{ "id": "settings-sound", "cat": "Settings", "text": "Sound and volume are in /settings. dracosh --no-sound turns sound off for one run." },
|
|
29
|
-
{ "id": "data-backup", "cat": "Your data", "text": "Dracosh backs up your cards and progress every day. dracosh restore brings a backup back." },
|
|
30
|
-
{ "id": "data-sync", "cat": "Your data", "text": "dracosh --data shows where your cards live. Point DRACOSH_HOME at a synced folder to use two computers." },
|
|
31
|
-
{ "id": "data-deck", "cat": "Your data", "text": "dracosh --deck \"Polish\" starts with another deck, for this run only." }
|
|
32
|
-
]
|