Commit Graph

132 Commits (32ab73847726e0bf2847fd4cad6a03927085376f)

Author SHA1 Message Date
Wilson 90faab6068
fix(lemma_meaning_activity_generator): filter out empty strings as eligible distractors (#2004)
* filter out empty strings as elible distractors

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
9 months ago
ggurdin 0c9a44a26e
chore: link visibility (#1988) 9 months ago
ggurdin a8b0c50a53
chore: if originalSent without tokens, edit message to add new tokens (#1976) 9 months ago
ggurdin 2a9f3a6e96
fix: update logic for checking if short lang code TTS is available (#1946) 9 months ago
ggurdin 907ad15f79
chore: when choices array goes off screen, stop playing TTS (#1945) 9 months ago
ggurdin 940d8814b7
fix: removed duplicate question in activities (#1936) 9 months ago
ggurdin 91c13b56b8
chore: fix some spacing issues on small screens (#1930) 9 months ago
ggurdin 534fe2dfee
Mobile stt (#1928)
* chore: if user's language is not in langList, refresh langList

* chore: simplify logic for setting TTS lang, set TTS lang each time speak is called
9 months ago
ggurdin 97b8d61afe
chore: make textfields in toolbar work on firefox/safari (#1922) 9 months ago
ggurdin 5564663ce8
chore: account for chat details column width in message overlay max width (#1920) 9 months ago
ggurdin 897425620d
chore: in TTS, use full langCode voice if available, and short langCode voice if not (#1919) 9 months ago
ggurdin ea2896c3dc
fix: add back emoji button (#1886) 9 months ago
ggurdin 62d5a7190f
1846 word specific audio player not working (#1882)
* feat: tie TTS enabled to target lang, show warning popup when disabled

* fix: prevent top overflow for popups
9 months ago
ggurdin 99b7b7cd42
fix: always show display event in toolbar (#1855) 9 months ago
ggurdin 32d314c026
feat: fetch new tokens for messages without originalsent representations (#1853) 9 months ago
ggurdin 3c0a1b9e56
fix: fix emoji rendering issues in message token text (#1842) 9 months ago
ggurdin b1b5e998ce
fix: move shouldDoActivity function to pangeaMessageEvent to prevent giving activities for messages not in user's l2 (#1832) 9 months ago
ggurdin beb0e91c07
fix: fix for splitting up tokens with combined punctuation (#1828) 9 months ago
ggurdin 0e48228cd1
fix: more accurate splitting of tokens containing punctuation (#1822) 9 months ago
ggurdin 339f2258b5
choreo: lower case text before tts (#1817) 9 months ago
ggurdin 5a60e15832
fix: if SVG content is already cached, don't use a FutureBuilder in C… (#1816)
* fix: if SVG content is already cached, don't use a FutureBuilder in CustomizedSVG

* chore: fix emoji button width
9 months ago
ggurdin 87581e8cfc
fix: when merging punctuation into tokens to prevent line breaks, account for punctuation preceding tokens (#1812) 9 months ago
Wilson 6af450efb2
make word meaning activity refetch new definition if cache expires (#1779)
* make word meaning activity refetch new definition if cache expires

* generated

* bake expire at into response json

* generated

* add expire at in to and from json method

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
9 months ago
ggurdin 4fe67a9384
fix: combine token with following punctuation to prevent punctuation from causing newline (#1783) 9 months ago
ggurdin cd0650f6b7
fix: dispose TextPainter after use (#1777) 9 months ago
wcjord c72a2da7fc
Unborked locales (#1741)
* feat: localized languages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
9 months ago
ggurdin ad241aa631
feat: move reply button to chat view header (#1733) 10 months ago
wcjord e2ca788f81
Add message meaning challenge activity (#1706)
* Add message meaning mode to toolbar

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin 18cbb45fe1
chore: update link text color in dark mode (#1716) 10 months ago
ggurdin 76a465f14f
fix: reenable token clicking after adding linkify spans (#1711) 10 months ago
ggurdin 0cce17d27b
chore: update reply and link text styling (#1708) 10 months ago
ggurdin 72dcdb4fd5
fix: added linkify to message token text widget (#1702) 10 months ago
ggurdin 75a0d1e07b
feat: allow users to edit lemmas (#1694) 10 months ago
ggurdin 49e586a7ad
Fluffychat merge (#1685)
chore: Merge upstream changes

---------

Signed-off-by: Krille <c.kussowski@famedly.com>
Co-authored-by: krille-chan <christian-kussowski@posteo.de>
Co-authored-by: Krille <c.kussowski@famedly.com>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: fadelkon <fadelkon@posteo.net>
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Co-authored-by: josé m <correoxm@disroot.org>
Co-authored-by: Bezruchenko Simon <worcposj44@gmail.com>
Co-authored-by: Christian <christian-pauly@posteo.de>
Co-authored-by: - <hitekex@yandex.ru>
Co-authored-by: Angelo Schirinzi <Odi-3@users.noreply.hosted.weblate.org>
Co-authored-by: xabirequejo <xabi.rn@gmail.com>
Co-authored-by: Piotr Orzechowski <piotr@orzechowski.tech>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Tewuzij <tenajeza@outlook.com>
Co-authored-by: goknarbahceli <goknarbahceli@proton.me>
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: Erin <erin@erindesu.cz>
Co-authored-by: EpicKiwi <me@epickiwi.fr>
Co-authored-by: Christian Tietze <me@christiantietze.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
10 months ago
wcjord d773347d6e
Morph-repo-2 (#1681)
* feat(morphs): repo for getting lang-specific list of morphs

* integrated repo into use of morph features and tags

* generated

* merged with previous push

* generated

* generated

* chore: fix .env file path

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin ed3ca1fd25
fix: resolve overflow for long lemmas (#1680) 10 months ago
ggurdin d5dd66bcc2
feat: grammar analytics popup redesign (#1670) 10 months ago
ggurdin fa1bde06f6
fix: on update POS morph feature, also update token's POS (#1643) 10 months ago
ggurdin 10401a7685
fix: give each token in HWL activity uses its unique form, use tokens in example messages to get token offset (#1639) 10 months ago
ggurdin d43d176aec
fix: Prevent Discarded unknown attribute error by using known attributes in breadcrumbs (#1638) 10 months ago
ggurdin d9394348c1
Format gh action (#1567)
* feat: added github action to automatically format code on PR opened
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
10 months ago
wcjord d824ef222f
1595-word-per-minute-is-still-not-accurate (#1622)
* feat(stt): hiding speech accuracy

* fix(main): env
10 months ago
ggurdin 1add21d69b
feat: updates activity message colors (#1620) 10 months ago
ggurdin d63f959cd8
feat: trigger some tooltips on tap (#1615) 10 months ago
ggurdin a82cd02f27
fix: make overlay activity message same color as base message, give each set of vocab dots its own tooltip (#1611) 10 months ago
wcjord 8478f480d3
1594-activity-planner-feedback-new (#1599)
* feat(activity_planner): updating for feedback

* fix(main): point to appropriate env

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
Kelrap e2b991b36b
Vocab v2 edits (#1525)
* Emoji as getter, add LearningSkillsEnum

* Remove hard-coding for font styles

* Remove excess state saving

* Remove type+point parameters from definition popup

* Fix emoji null check notation

* Edit dot widget size for android

* Further reduce state saving in definition popup

* Removed more hardcoding

* fix: UI updates to vocab analytics popup

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin 0622bf6f07
feat: enable buttons for locked toolbar tools, show message about how to unlock (#1582) 10 months ago
wcjord 387a7aa51a
1563-grammar-icon-in-light-mode (#1565)
* fix(morph_svgs): fixing light/dark mode coloring

* dart formatting

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
10 months ago
ggurdin c4b35f67c7
fix: fix message overflow for activity messages on mobile (#1573) 10 months ago
wcjord 5f1c1887fc
1524 i still have to do too many exercises to unlock an audio message (#1562)
* feat(toolbar): moved audio to the left

* feat(toolbar): move tts to the left

* dev: dart formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin 3424f90672
feat: allow reacting to activity messages, give activity message unique styling (#1564) 10 months ago
ggurdin 723e28a314
fix: shrink lemma SVG in work zoom card (#1559) 10 months ago
ggurdin 1d8e68a147
feat: different styling for activity plan messages (#1558)
* feat: different styling for activity plan messages
10 months ago
ggurdin b15ed04aa9
fix: move tooltips inside flexible widgets to prevent freezing (#1555) 10 months ago
ggurdin ef57211441
dev: remove breakpoint (#1546) 10 months ago
ggurdin 77e8b3f474
feat: add custom svgs to lemmas in word zoom card (#1540) 10 months ago
ggurdin 0bb323b95d
fix: make morph/lemma edit tooltips more obvious (#1539) 10 months ago
ggurdin ce57cbfdea
fix: if lemma not in choices list, add instead of replace (#1538) 10 months ago
ggurdin 58cfbdeac9
dev: move toolbar positioning logic into its own file and move some d… (#1519)
* dev: move toolbar positioning logic into its own file and move some dimension values into AppConfig

* fix: dart format
10 months ago
ggurdin 383fe50c7f
fix: cache boolean for whether or not meaning distractors are available (#1509) 10 months ago
ggurdin c0fb41d2f9
feat: replace XP level emojis with svgs (#1508) 10 months ago
ggurdin 14f5aa38b1
feat: updated morph correction copy (#1507) 10 months ago
Kelrap 6f63a6d710
Highlight audio text (#1333)
* Highlight text as TTS plays - attempt 1

* Make highlighting actually work

* Fix to minor version of punctuation issue

* Highlights all applicable text

* fix: filter out punctuation tokens in the client side when highlighing audio tokens

* Highlight selection separate from normal selection

* cleanup: further decouple tts highlighting and token selection, renamed temporarySelection => _highlightedTokens

* fix: don't show token highlights for non-overlay messages

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin 3d85d2ec9f
feat: widget for customizing SVG colors (#1498)
* feat: widget for customizing SVG colors

* feat: replace morph icons with customized morph SVGs
10 months ago
ggurdin fd3f851995
fix: fixes for sentry issues (#1500) 10 months ago
ggurdin 5383a62502
fix: only show space analytics download button on web (#1492)
* fix: only show space analytics download button on web

* fix: don't close keyboard right after opening lemma meaning text field

* fix: make proportion the number of relevant tokens with completed activities over the number of relevant tokens
10 months ago
wcjord d8210a39fd
1485-too-many-points-for-lemma-meaning-activity (#1490)
* fix(activity scoring): only give points for lemma in meaning activity

* fix: dart formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
10 months ago
ggurdin 5c04b37484
fix: fix overflows in lemma / morph correction overlay (#1488) 10 months ago
ggurdin 61c722c704
1472 dont highlight text when learners are doing listening activity (#1482)
* fix: don't highlight words while doing hwl activity

* fix: don't sort activity choices after the fact
10 months ago
ggurdin d2779eaf82
fix: don't highlight words while doing hwl activity (#1481) 10 months ago
ggurdin f9dce6fc11
feat: show message when no word selected (#1479) 10 months ago
wcjord 77c4f711b0
feat(lemma meaning activity): widen distractor range, reduce lemmas w… (#1469)
* feat(lemma meaning activity): widen distractor range, reduce lemmas where meaning activity required

* feat(lemma meaning activities): make distractor lemmas have same pos

* dev(lemma meaning repo): use local storage instead of in-memory cache

* fix(lemma meaning activity): explicitly prevent the same meanings in distractors

* fix: dart formatting, deleted empty files

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin fe34444797
fix: don't add question mark to end of morph activity question (#1464) 10 months ago
ggurdin 8852a2e41f
feat: sort distractors by text length (#1462) 10 months ago
ggurdin 2357751c56
fix: revent toolbar max height (#1460) 10 months ago
ggurdin 87fca9f56a
Revert "revert recent changes to relevant files to test if that fixes hidden …" (#1456)
This reverts commit c1041dda70.
10 months ago
ggurdin c1041dda70
revert recent changes to relevant files to test if that fixes hidden message bug (#1455) 10 months ago
ggurdin 21fd36ac9c
feat: allow height of lemma correction text field to grow to 3 lines (#1445) 10 months ago
ggurdin 986fdc1d5f
fix: add padding inside morph choices scroll view (#1444) 10 months ago
ggurdin bab9287117
fix: make scrollbar in morph_center_widget scrollable (#1441) 10 months ago
ggurdin 027158e286
1435 refactor into function specific groupings (#1440)
* fix: deleted unreferenced files

* fix: sort files based on function
10 months ago