Commit graph

264 commits

Author SHA1 Message Date
wcjord
78cb3afe0b
word focus turned off and tts on Choice click (#1118)
* word focus turned off and tts on Choice click

* play audio on word selection
2024-11-29 17:47:00 -05:00
ggurdin
401a26ef85
Sentry (#1111)
* better error logging when requesting notifications permission

* check that speech to text card in mounted before calling setState

* only log first 10 entries in other category keys list
2024-11-27 12:19:11 -05:00
ggurdin
7e34f40a48
log error if there's more than 1 'other' category in analytics (#1109) 2024-11-26 15:41:04 -05:00
ggurdin
4ac9a6e005
initial work on auto-enroll users in support space (#1097)
* initial work on auto-enroll users in support space

* made the joining of help space automatic

* don't try to join the space if you've previously left it
2024-11-26 14:09:17 -05:00
ggurdin
7ff4efadbc
if totalXP calculation is negative, reset to 0 (#1107) 2024-11-25 14:56:46 -05:00
ggurdin
852bdfb534
Sentry (#1094)
* removed unreferences functions

* better error logging for null lang_code String in PracticeActivityModel.fromJson

* updated to dialogs while joining space with code
2024-11-22 14:27:41 -05:00
William Jordan-Cooley
4c9cd60e95 tweaking activity selection 2024-11-21 16:54:00 -05:00
Wilson
dd0f20e56c
enforce using bot transcription if exist (#1078)
* enforce bot transcription if exist

* follow snake case model key convention

* update text color in speech to text toolbar

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-11-21 09:55:25 -05:00
ggurdin
ff0ab7e00b
call async version of teachers in inviteSpaceTeachersToAnalyticsRoom … (#1082)
* call async version of teachers in inviteSpaceTeachersToAnalyticsRoom to ensure teachers aren't double invited to analytics rooms

* log breadcrumb on error getting message offset

* better error logging for activity fromJSON method
2024-11-21 09:34:27 -05:00
ggurdin
82359a11fa
Sentry (#1077)
* better error logging in voiceMessageAction

* replace firstWhere with firstWhereOrNull in fromJson methods
2024-11-20 14:39:38 -05:00
wcjord
5bea087353
jsut use the top detection (#1070) 2024-11-19 17:16:07 -05:00
wcjord
ba08bd8386
opening toolbar on clicked word (#1066) 2024-11-19 16:36:23 -05:00
ggurdin
27e829380c
group uncategorized constructs in with constructs with matching typing and lemma (#1063) 2024-11-19 15:36:25 -05:00
ggurdin
22f33b0a85
Revert "group together 'other' category with more specific categories (#1026)" (#1045)
This reverts commit 25ddceac7b.
2024-11-18 17:19:41 -05:00
ggurdin
25ddceac7b
group together 'other' category with more specific categories (#1026) 2024-11-18 17:17:51 -05:00
ggurdin
6655e240ab
account for pre-1a difficulty in bot options fromJson method (#1042) 2024-11-18 16:41:30 -05:00
William Jordan-Cooley
9851154b74 add saveVocab to criteria for content and canBeHeard words 2024-11-18 15:56:28 -05:00
William Jordan-Cooley
1a4dc0ba95 tweaking selection criteria 2024-11-15 15:17:48 -05:00
ggurdin
c2ca1b24f5
fix getCategory function 2024-11-15 15:08:01 -05:00
ggurdin
62bdde91a8
Merge branch 'main' into xp-fix 2024-11-15 12:59:31 -05:00
ggurdin
374dab8031
manage getting construct uses with category 'other' 2024-11-15 12:59:04 -05:00
William Jordan-Cooley
50906f929f tweaking lock icon display 2024-11-15 12:00:00 -05:00
William Jordan-Cooley
f85c4b2169 refactoring of practice flow 2024-11-15 11:02:31 -05:00
ggurdin
0add6b19eb
locally cache subscription info 2024-11-14 16:25:36 -05:00
ggurdin
cf571c6a92
replace no more practice activities text with tooltip telling user to use language tools 2024-11-13 15:53:31 -05:00
ggurdin
24df171167
added new IT instruction tooltip 2024-11-13 15:34:58 -05:00
Wilson
2ddd07791d
relax reconstruction error criteria (#959)
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-11-13 13:42:20 -05:00
ggurdin
4a518e053b
sort construct list on construct list update, don't repeat sort operation 2024-11-13 09:40:23 -05:00
ggurdin
9d49a5542d
resolve merge conflicts 2024-11-13 09:19:28 -05:00
wcjord
d554d72019
Hidden-words (#950)
* controller for calculating tokens with xp

* Update main.dart

* replace ConstructWithXP with ConstructUses

* wait for analytics data to load before setting token analytics for practice activities

* pull tokenwithxp constructs from getAnalyticsModel ConstructListModel

* added commented out workaround for server not returning target constructs

* still some bugs but its working

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2024-11-12 19:22:01 -05:00
William Jordan-Cooley
b37074459e guess grammar category when missing, saving form when available 2024-11-12 16:33:59 -05:00
ggurdin
ce96984441
don't call .floor() on level calculation if NaN or infinity, better error logging if calculated level in NaN or infinity 2024-11-11 09:33:11 -05:00
ggurdin
d91afc6e05
update ConstructListModel to get all analytics metrics 2024-11-08 13:58:56 -05:00
ggurdin
495eb99be1
resolved merge conflicts 2024-11-07 15:50:34 -05:00
ggurdin
dd5d3f59ee
update vocabUses function to save tokens in matches as GA construct uses 2024-11-07 15:45:45 -05:00
ggurdin
615ed7ad98
merge analytics updates into category branch 2024-11-07 13:32:16 -05:00
ggurdin
2a813a1339
resolve merge conflicts 2024-11-07 12:53:18 -05:00
ggurdin
4a2a8bf7bd
convert choreo record into morph GA uses on send 2024-11-07 12:47:43 -05:00
ggurdin
89088779e9
make ConstructListModel updatable and added models for vocab and morphs to GetAnalyticsController 2024-11-07 12:09:27 -05:00
William Jordan-Cooley
c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 2024-11-06 20:25:30 -05:00
ggurdin
b8b697077c
Merge branch 'main' into 896-group-constructs-according-to-categories 2024-11-06 16:35:48 -05:00
WilsonLe
775feca02d Merge branch '730-fix-accept-replacement-2' of https://github.com/pangeachat/client into 730-fix-accept-replacement-2 2024-11-06 17:22:10 +07:00
WilsonLe
d468b50785 fix accept replacement incorrectly reconstructing new full text 2024-11-06 17:21:34 +07:00
ggurdin
17e295b168
Merge branch 'main' into 896-group-constructs-according-to-categories 2024-11-05 09:47:26 -05:00
ggurdin
ea1ad9bc61
make missing voice warning into an instructions popup 2024-11-04 16:02:39 -05:00
ggurdin
fe41800e05
Exclude the word_focus_listening activity from the list of client compatible activities 2024-11-04 14:55:40 -05:00
ggurdin
71b090683d
use ConstructIdentifier to sort constructs into groups 2024-11-04 09:51:09 -05:00
ggurdin
2a94d09968
backwards backwards compatibility for constructs category data 2024-11-01 16:04:53 -04:00
ggurdin
00cb1f1c75
handling for 'cat' model key 2024-11-01 15:23:06 -04:00
ggurdin
da6d64972b
add categories to analytics display 2024-11-01 15:19:52 -04:00