Commit Graph

673 Commits (7b1cccf78bc20fb65b97a0c8702394e07628b1b6)

Author SHA1 Message Date
wcjord f498727fe0 tweaks to token selection for activities 12 months ago
ggurdin f6175b9c09
Testing updates (#1131)
* extend time between activities

* if user clicks on punctuation token, select the closest non-punctuation token

* rebuild chat list after prevBatch is set
12 months ago
ggurdin 30722b0615
don't play individual audios while main audio is playing (#1130)
* don't play individual audios while main audio is playing

* bump version
12 months ago
ggurdin 2397c8f78d
1123 multiple options are highlighted and cant move to the next item (#1124)
* once user has selected correct choice, disable further interaction

* if not include tts on click, don't play tts on correct choice selected

* fix range error when logging warning about having multiple 'other' categories
12 months ago
ggurdin ceea63b3a2
don't play target tokens on practice activity init if it's a hidden word activity (#1121) 12 months ago
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
12 months ago
ggurdin 25ab5e54bc
allow selection view for non-test/audio messages so they can be pinned, etc. (#1113) 12 months ago
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
12 months ago
ggurdin 7ff4efadbc
if totalXP calculation is negative, reset to 0 (#1107) 12 months ago
wcjord b3ed80215a if you click it, you chose it 12 months ago
ggurdin ddeb55a337
fix speech-to-text inline tooltip overflow (#1100) 12 months ago
ggurdin e013ffb2f6
set value of searchability toggle to room visibility (#1095) 1 year ago
William Jordan-Cooley 4c9cd60e95 tweaking activity selection 1 year ago
ggurdin 561359008c
allow users to set room's searchability and public/private status seperatly, ensure public/private status determines which rooms show in space hierarchy (#1090) 1 year ago
ggurdin 7c5c28162e
don't use null check operator on user l2 (#1089) 1 year ago
ggurdin 563744288f
added PageStorageKey to categories list to maintain its scroll position (#1088) 1 year ago
ggurdin 1c65aa393e
added spacing when overlay has footer overflow (#1087) 1 year ago
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>
1 year ago
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
1 year ago
ggurdin 6091fecb09
Testing fixes (#1079)
* make toolbar translation scrollable

* fix for playing audio on mobile for very long messages
1 year ago
ggurdin e3f1758f29
increased height of level badge (#1076) 1 year ago
ggurdin 34c6511387
1053 making font in the tool pop up the same size as message (#1075)
* give text in toolbar the same size / style as message text

* fix scrolling in overlay message and message translation, also fix overflow on mobile
1 year ago
wcjord ba08bd8386
opening toolbar on clicked word (#1066) 1 year ago
ggurdin 007467d488
added alternative tts package for windows users (#1065)
* added alternative tts package for windows users

* fix function for determining OS
1 year ago
ggurdin 27e829380c
group uncategorized constructs in with constructs with matching typing and lemma (#1063) 1 year ago
ggurdin 5f547deb58
rough draft of navigation menu design updates (#947) 1 year ago
ggurdin bf505073ee
more overlay positioning fixes (#1059) 1 year ago
ggurdin 2e5ed2143c
more error logging for tts (#1058) 1 year ago
ggurdin 7568469376
1000 assistance it simplify (#1005)
* gave inline tooltip its own closing logic and closing animation

* update inlinetooltips in IT bar

* fixes animation weirdness with inline tooltips in IT bar

* added learning settings to IT bar

* moved language assistance button into chat input row

* allow users to send message after click send twice, even if there are still errors
1 year ago
ggurdin e441137159
fixes for overlay offset on mobile (#1048) 1 year ago
ggurdin e3f035a3f4
remove haptic feedback on iOS (#1047) 1 year ago
ggurdin a44305a5af
Chat details redesign (#1010)
* replace chat details dropdown with chat details button

* initial work on chat details design updates

* added back space invite buttons, openning up invite search, removed references to room locking
1 year ago
ggurdin 22f33b0a85
Revert "group together 'other' category with more specific categories (#1026)" (#1045)
This reverts commit 25ddceac7b.
1 year ago
ggurdin 25ddceac7b
group together 'other' category with more specific categories (#1026) 1 year ago
ggurdin 5f8c9439b0
call hapticfeedback.vibrate on iOS (#1044) 1 year ago
ggurdin 9060fd84f8
1035 cant scroll down the definition box (#1041)
* replace scrolling in word data card

* fixes hidden overlay header on mobile
1 year ago
ggurdin c33bf6bc59
more error logging for tts (#1037) 1 year ago
ggurdin 3e920a420a
only add hidden message activities if the rep event langCode is the user's l2 (#1036) 1 year ago
ggurdin f66697330e
make underlines match the exact width of the text they're hiding (#1034) 1 year ago
ggurdin d0733cf8fa
1027 play button for listening activity (#1031)
* close audio player button if error occurs

* dump version
1 year ago
ggurdin 6a3579120d
uncomment debug prints 1 year ago
ggurdin 52cef76773
simplify message overlay controller initialization code 1 year ago
William Jordan-Cooley c82ce34124 using queue and simplifying selected token for activity flow 1 year ago
William Jordan-Cooley 585a9a2be4 silly way of initializing 1 year ago
William Jordan-Cooley 1a4dc0ba95 tweaking selection criteria 1 year ago
ggurdin c2ca1b24f5
fix getCategory function 1 year ago
ggurdin 2106c5af66
added border radius to overlay header 1 year ago
ggurdin 4798852472
center activities in toolbar properly 1 year ago
William Jordan-Cooley 51bff65a8b tweaking criteria for determining existing activity 1 year ago
ggurdin 62bdde91a8
Merge branch 'main' into xp-fix 1 year ago
ggurdin 374dab8031
manage getting construct uses with category 'other' 1 year ago
William Jordan-Cooley 50906f929f tweaking lock icon display 1 year ago
ggurdin d507f494e5
Merge branch 'main' into 1014-overflow-when-audio-activity-opens 1 year ago
ggurdin 9cc612efd2
fix overflow in practice activity card 1 year ago
William Jordan-Cooley f85c4b2169 refactoring of practice flow 1 year ago
ggurdin cf571c6a92
replace no more practice activities text with tooltip telling user to use language tools 1 year ago
ggurdin 68ab868bda
added validation for selected chat mode, defaulted bot language to user's l2 (#997) 1 year ago
ggurdin f4da4ac4bd
haptic feedback / lock animation when clicking on disabled toolbar buttons (#992) 1 year ago
ggurdin af1561b49f
934 enrolling users automatically in several spaces (#975)
* allow users to set visibility of rooms in add chat or subspace dialog and in room details

* only allow room admins to change visibility
1 year ago
ggurdin 7c7c3c999b
on error, reveal all tokens 1 year ago
ggurdin e3416c967f
pass up audio card error to practice activity card 1 year ago
ggurdin 7478802465
Merge branch 'main' into hidden-words-testing 1 year ago
ggurdin 22625f461c
showToolbar on click non-toolbar message, don't re-launch on toolbar on token selected, and highlight selected tokens when appropriate 1 year ago
ggurdin c60d244f75
Merge branch 'main' into 949-grammar-analytics 1 year ago
ggurdin c72f250e1a
make message analytics entry getter in practice activity card, split token update function into two functions 1 year ago
ggurdin 4a518e053b
sort construct list on construct list update, don't repeat sort operation 1 year ago
ggurdin 9d49a5542d
resolve merge conflicts 1 year ago
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>
1 year ago
William Jordan-Cooley 7dc9fa8a35 turning try-catch back on practice fetch activity 1 year ago
William Jordan-Cooley 159a25022b added some missing copy 1 year ago
William Jordan-Cooley 6e3795fe48 removed redundant category from label copy 1 year ago
William Jordan-Cooley b37074459e guess grammar category when missing, saving form when available 1 year ago
ggurdin 66a59d233a
check if mounted before calling setState in overlay message text 1 year ago
ggurdin a061535bbe
updated initPangeaControllers function, don't check mounted for functions that don't rely on context 1 year ago
ggurdin 5e74507558
don't call getDisplayCopy if category is other 1 year ago
ggurdin 1cd7e65aa3
added better error logging for potentially null variables in multiple choice activity updateChoice 1 year ago
ggurdin 600c27b325
added unique ID parameter to choices to prevent duplicate keys in back-to-back activities 1 year ago
ggurdin d91afc6e05
update ConstructListModel to get all analytics metrics 1 year ago
ggurdin fc39920597
Merge branch 'main' into 896-group-constructs-according-to-categories 1 year ago
ggurdin d4f8400eb2
Merge branch 'main' into store-construct-list-model 1 year ago
ggurdin 939a27f809
Merge branch 'main' into docs/explain-why-grapheme-cluster-is-important 1 year ago
WilsonLe ae44e758d6 explain why using grapheme clustering is important 1 year ago
ggurdin ab5189a66a
added missing grammar copy and reduced some duplicate code 1 year ago
ggurdin e065a494a8
Merge branch 'main' into store-construct-list-model 1 year ago
ggurdin ed1494fce7
Merge branch 'main' into no-original-sent 1 year ago
ggurdin 2dac558e1a
initial work on expanding popup to the side 1 year ago
ggurdin 615ed7ad98
merge analytics updates into category branch 1 year ago
ggurdin 2a813a1339
resolve merge conflicts 1 year ago
ggurdin 89088779e9
make ConstructListModel updatable and added models for vocab and morphs to GetAnalyticsController 1 year ago
ggurdin 8ee4ea31c8
addressed some of Will's questions 1 year ago
William Jordan-Cooley c297dea437 some questions, name changes, and a couple switches from grammar to morph uses 1 year ago
ggurdin 28818e1fea
don't group vocab 1 year ago
ggurdin b8b697077c
Merge branch 'main' into 896-group-constructs-according-to-categories 1 year ago
ggurdin c5ffa0e037
removed toolbar border and added space between between overlay message and toolbar 1 year ago
ggurdin d033547128
increase minimum dimensions of toolbar 1 year ago
ggurdin faabe5a903
give bot style the same font as messages, make question in activity cards bot style 1 year ago
ggurdin a1675c072c
keep button down if disabled 1 year ago
ggurdin f3841fe0ec
don't rely on fixed dimensions to render pressable buttons, animate in opacity/blur change in overlay backdrop 1 year ago
ggurdin 25251ae613
uncomment button height 1 year ago
ggurdin a2513c7bd4
stretch toolbar button rows to hold buttons 1 year ago