Add instructions and minor hotfixes

pull/2866/head
v-crispadvice 2023-07-07 21:44:29 +03:00
parent d469765f36
commit 9745e24c7b
5 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,3 @@
1.0: Local cards data
1.1: Download cards data from Trello public board
1.2: Configuration instructions added and card layout optimized

View File

@ -1,3 +1,18 @@
A simple flash cards application based on Trello public board.
A simple flash cards application based on Trello public board.
Configuration:
1. Create public Trello board
2. Create new Trello list
3. Add Trello cards:
* card name will be flash card front text
* card description will be flash card back text
4. Add ".json" to the end of the Trello board URL and refresh page
5. Find your list ID
6. Save list ID to the "flashcards.settings.json" file on your watch, e.g.:
{"listId":"65942f7b27z68000996ddc00"}
7. On your watch go to Settings -> Apps -> Flash Cards -> Get from Trello
8. Start Flash Cards as watch app or set it as watch clock face
9. Swipe left/right to change card
10. Tap to switch card front/back text

View File

@ -7,7 +7,7 @@
let SWAP_SIDE_BUZZ_MILLISECONDS = 50;
let CARD_DATA_FILE = "flashcards.data.json";
let CARD_EMPTY = "empty card";
let CARD_LINE_LENGTH = 9;
let CARD_LINE_LENGTH = 8;
let CARD_LINE_FONT = "20%";
// Modules

View File

@ -2,7 +2,7 @@
"id": "flashcards",
"name": "Flash Cards",
"shortName": "Flash Cards",
"version": "1.1",
"version": "1.2",
"description": "Flash cards based on public Trello board",
"screenshots" : [ { "url":"screenshot.png" }],
"icon": "app.png",

View File

@ -23,6 +23,7 @@
}
,*/
"Get from Trello": () => {
if (!storage.read(settingsFile)) { writeSettings();}
E.showPrompt("Download cards?").then((v) => {
let delay = 500;
if (v) {