quiz w two levels
This commit is contained in:
parent
6f9b129008
commit
f3f7dc3669
File diff suppressed because it is too large
Load Diff
|
@ -14,7 +14,7 @@
|
||||||
"main": "lib/functions/src/index.js",
|
"main": "lib/functions/src/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@google-cloud/storage": "^5.8.1",
|
"@google-cloud/storage": "^5.8.1",
|
||||||
"@lingdocs/pashto-inflector": "1.9.9",
|
"@lingdocs/pashto-inflector": "2.0.3",
|
||||||
"@types/cors": "^2.8.10",
|
"@types/cors": "^2.8.10",
|
||||||
"@types/google-spreadsheet": "^3.0.2",
|
"@types/google-spreadsheet": "^3.0.2",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
|
@ -35,6 +35,6 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@lingdocs/pashto-inflector": "1.9.9"
|
"@lingdocs/pashto-inflector": "2.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,7 +17,7 @@
|
||||||
"url": "git@github.com-lingdocs:lingdocs/lingdocs-main.git"
|
"url": "git@github.com-lingdocs:lingdocs/lingdocs-main.git"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@lingdocs/pashto-inflector": "1.9.9"
|
"@lingdocs/pashto-inflector": "2.0.3"
|
||||||
},
|
},
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"passport-github2": "^0.1.12",
|
"passport-github2": "^0.1.12",
|
||||||
"passport-google-oauth": "^2.0.0",
|
"passport-google-oauth": "^2.0.0",
|
||||||
"passport-twitter": "^1.0.4",
|
"passport-twitter": "^1.0.4",
|
||||||
"@lingdocs/pashto-inflector": "1.9.9"
|
"@lingdocs/pashto-inflector": "2.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/passport-github2": "^1.2.5",
|
"@types/passport-github2": "^1.2.5",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||||
"@lingdocs/pashto-inflector": "1.9.9",
|
"@lingdocs/pashto-inflector": "2.0.3",
|
||||||
"@testing-library/jest-dom": "^5.11.4",
|
"@testing-library/jest-dom": "^5.11.4",
|
||||||
"@testing-library/react": "^11.1.0",
|
"@testing-library/react": "^11.1.0",
|
||||||
"@testing-library/user-event": "^12.1.10",
|
"@testing-library/user-event": "^12.1.10",
|
||||||
|
@ -100,6 +100,6 @@
|
||||||
"user-event": "^4.0.0"
|
"user-event": "^4.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@lingdocs/pashto-inflector": "1.9.9"
|
"@lingdocs/pashto-inflector": "2.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -411,8 +411,10 @@ class App extends Component<RouteComponentProps, State> {
|
||||||
this.props.history.push(`/word?id=${isolatedEntry.ts}`);
|
this.props.history.push(`/word?id=${isolatedEntry.ts}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private checkUserCronJob = new CronJob("1/45 * * * * *", () => {
|
// TODO: right now not checking user very often cause it messes with the state?
|
||||||
|
// causes the verb quizzer to reset?
|
||||||
|
private checkUserCronJob = new CronJob("1/20 * * * *", () => {
|
||||||
this.handleLoadUser();
|
this.handleLoadUser();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -209,8 +209,7 @@ function IsolatedEntry({ state, dictionary, isolateEntry }: {
|
||||||
{/*
|
{/*
|
||||||
// @ts-ignore */}
|
// @ts-ignore */}
|
||||||
{tp.isVerbEntry({ entry, complement }) && <div className="pb-4">
|
{tp.isVerbEntry({ entry, complement }) && <div className="pb-4">
|
||||||
<div className="h6">🆕 New Verb Explorer</div>
|
<div className="h5 text-center">🆕 New Verb Playground/Quiz Feature! 🤓👇</div>
|
||||||
<p className="text-muted">You can build phrases with nouns, quiz your verbs etc. It's still a bit rough - work in process 🚧</p>
|
|
||||||
<VPExplorer
|
<VPExplorer
|
||||||
verb={{
|
verb={{
|
||||||
// TODO: CLEAN THIS UP!
|
// TODO: CLEAN THIS UP!
|
||||||
|
|
|
@ -1585,10 +1585,10 @@
|
||||||
"@types/yargs" "^16.0.0"
|
"@types/yargs" "^16.0.0"
|
||||||
chalk "^4.0.0"
|
chalk "^4.0.0"
|
||||||
|
|
||||||
"@lingdocs/pashto-inflector@1.9.9":
|
"@lingdocs/pashto-inflector@2.0.3":
|
||||||
version "1.9.9"
|
version "2.0.3"
|
||||||
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.9.9.tgz#1882a52a9b6284dd67b6af3c7b0faecec8474b19"
|
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-2.0.3.tgz#60fac385951d54c1395f9ec86a38d5d17f9f0dc9"
|
||||||
integrity sha512-Ml1tOIM7Fa8zLkpQjBDSxBZG4ge9cizef0VI4AcSwORKXaHmnhji22VLO/a+qq3Uy0fti8DMnVFBDtc5unwKVA==
|
integrity sha512-r2Bb/4YlY7XFNp8BB6X9JZss7MqsZ0GlY8D5neWP2VHHix5bXWJWT76Gn4CpRPzo0KNULQ8/A8h6okfArHOS/g==
|
||||||
dependencies:
|
dependencies:
|
||||||
classnames "^2.2.6"
|
classnames "^2.2.6"
|
||||||
pbf "^3.2.1"
|
pbf "^3.2.1"
|
||||||
|
|
|
@ -168,10 +168,10 @@
|
||||||
"resolved" "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz"
|
"resolved" "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz"
|
||||||
"version" "9.2.1"
|
"version" "9.2.1"
|
||||||
|
|
||||||
"@lingdocs/pashto-inflector@1.9.9":
|
"@lingdocs/pashto-inflector@2.0.2":
|
||||||
"integrity" "sha512-Ml1tOIM7Fa8zLkpQjBDSxBZG4ge9cizef0VI4AcSwORKXaHmnhji22VLO/a+qq3Uy0fti8DMnVFBDtc5unwKVA=="
|
"integrity" "sha512-qdipDSe86FLjZyXeZadFxeQptPRUWGMGskVdRSTwm54QzW24pmBBYCwv8VSzEQPLQzhq53aSQl6opqXQDh8dGQ=="
|
||||||
"resolved" "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.9.9.tgz"
|
"resolved" "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-2.0.2.tgz"
|
||||||
"version" "1.9.9"
|
"version" "2.0.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
"classnames" "^2.2.6"
|
"classnames" "^2.2.6"
|
||||||
"pbf" "^3.2.1"
|
"pbf" "^3.2.1"
|
||||||
|
|
Loading…
Reference in New Issue