about summary refs log tree commit diff
path: root/users/tazjin/predlozhnik/src/main.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-28 r/4340 feat(predlozhnik): add mechanism for displaying exceptionsVincent Ambo1-1/+15
basically these override the auto-generated explanations for pairings Change-Id: Ib98f3b7bce005ba4af26cfc850862300177c5175 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5995 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4339 fix(tazjin/predlozhnik): обо should not have a separate entryVincent Ambo1-5/+4
Change-Id: Ib058226bdd3fbd6df4ab33d99f18b5b1cf92051f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5994 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-07-28 r/4338 fix(tazjin/predlozhnik): questions in предложный do not retain оVincent Ambo1-1/+1
Change-Id: If8d5acabbd6e9be9a72ae400626b25d652b1e297 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5993 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4336 fix(tazjin/predlozhnik): typo fix & soft noscript landingVincent Ambo1-2/+2
Change-Id: I6a5ce127d9bfa6e48b5a58ccfbbe684d7eb863ba Reviewed-on: https://cl.tvl.fyi/c/depot/+/5991 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4335 feat(predlozhnik): monetizeVincent Ambo1-4/+18
might as well! if it manages to pay for a beer over the lifetime of the site, it will have been worth it. Change-Id: I31ba92ffd4d6e55687f5ee624c44d14d366d0e91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5990 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4334 style(predlozhnik): make the page look a bit more invitingVincent Ambo1-37/+39
with some sprinkling of CSS and some different button classes, this doesn't look half bad! Change-Id: I49a3af4a77ce58713c735b2401b807062a3efb21 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5989 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4331 fix(predlozhnik): о -> тоже предложный падежVincent Ambo1-1/+1
Change-Id: I5180eee14ebb8f50bdb62568aa51545bc5aef9f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5986 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4330 fix(predlozhnik): нет -> только родительный падежVincent Ambo1-1/+1
Change-Id: I4ce6e6db474529a29823d1dc324ab86c5e351c0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5985 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4329 feat(predlozhnik): wire up the actual предлог/вопрос matchingVincent Ambo1-7/+14
with this commit the application is sort of functional-ish as intended. users can select either cases or prepositions, have the remaining choices appropriately constrained, and get the right question (i.e. case) matching when selecting both. there should be some explanatory translations and it needs to be prettier, but this kind of does what I wanted. Change-Id: If5bdaa7f93235dc267bf38cf13c2029f44d68415 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5984 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4328 feat(predlozhnik): implement fever-dream like case selectionVincent Ambo1-4/+97
don't look too closely at this, it's kind of insane Change-Id: I789ddd9dd5a4cf28b3007e38ef1c345e639a5fc1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5983 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4327 refactor(predlozhnik): use BTreeSet's for the ... setsVincent Ambo1-48/+49
The stable ordering guarantee will make the output a lot nicer (and more stable). Change-Id: I7edd1abb0805e948bc41fe5bc111b3cb54592aac Reviewed-on: https://cl.tvl.fyi/c/depot/+/5982 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4326 feat(tazjin/predlozhnik): implement logic to restrict inputsVincent Ambo1-8/+62
Change-Id: I3e5a5ba02b5f9fcaeeddb499e243ad3b55cf3d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5981 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4325 feat(tazjin/predlozhnik): bootstrap yew/wasm-based web UIVincent Ambo1-3/+35
this commit is mostly to figure out hwo to build a yew application in depot using the wasm toolchain. it's a bit finnicky, but could be a lot worse. Change-Id: I7804a774f1686a1f308ae1a3f549cd0ae7b5dbeb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5980 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4323 feat(tazjin/predlozhnik): check in initial list of предлогиVincent Ambo1-0/+105
Change-Id: I3bc4f46964e50c8748306e579126be0192a89284 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5978 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>