Commit graph

61 commits

Author SHA1 Message Date
ggurdin
d9ffd50093
fix: updated order of columns, grammar XP ranges, and copy in space analytics download (#1416) 2025-01-13 11:30:26 -05:00
ggurdin
47930eea1b
fix: get morph copy for all morph lists in analytics download (#1400) 2025-01-10 16:51:20 -05:00
ggurdin
8cbe1ea1f7
1389 space analytics download updates (#1395)
* feat: invite other admins to analytics rooms

* fix: properly invite space admins to analytics rooms

* feat: simplify process for getting space admins into analytics rooms

* feat: add columns for over and under 80% correct use for original written and system generated uses
2025-01-10 14:25:27 -05:00
ggurdin
a6adf00094
fix: show subtitle in space analytics user entry instead of tooltip (#1386) 2025-01-09 10:12:10 -05:00
ggurdin
26285eab52
1370 space analytics download (#1381)
* fix: reassign eventID metadata when turning locally saved draft uses into locally saved uses with assosiated eventID

* feat: initial work for space analytics download

* feat: updated spreadsheet columns in space analytics download

* feat: move space analytics download logic to widget

* feat: improved download loading UI

* feat: added error logging to space analytics download dialog
2025-01-08 15:24:26 -05:00
ggurdin
9ecf4e3bd2
fix: fix dart formatting for CI (#1368)
* fix: fix dart formatting for CI

* fix: sorted imports, updated deprecated flutter functions

* fix: format files

* fix: format files

* feat: replace syncfusion flutter package with excel flutter package

* fix: don't run enable google services patch in CI

* fix: update iOS supported platforms for enable ios build script

* fix: commented out linux build in integrate CI
2025-01-07 08:32:42 -05:00
wcjord
f626d5fe7e feat: moving to lemma def over contextual translation 2024-12-30 12:12:15 -05:00
ggurdin
1317989db0
1179 toolbar changes (#1209)
* updated toolbar buttons

* initial work for toolbar updates

* Add WordZoomWidget to display word and lemma information (#1214)

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/pangeachat/client/tree/1179-toolbar-changes?shareId=XXXX-XXXX-XXXX-XXXX).

* word zoom card prototyped, activity generation in progress

* adding copy for new construct uses

* laying down TODOs

* initial work for word zoom card

* Always add part of speech to token's morph list

* Prevent duplicate choices in lemma activity

* Don't play token audio at start of morph activity

* Only grant +1 points for emoji activity

* Uncomment tryToSpeak function

* Always update activity once complete

* Added queuing / UI logic for morph activity buttons

* code cleanup

* added required data argument to logError calls

* fix overflowing practice activity card and audio player on mobile

---------

Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
2024-12-27 12:42:49 -05:00
Kelrap
dc79b98ea6
More thorough error logging (#1297)
* Data is required for .logError

* Edit data for readability

* remove commented out breadcrumbs

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2024-12-23 15:05:17 -05:00
ggurdin
341f44090d
use target tokens instead of target constructs to get practice activi… (#1274)
* use target tokens instead of target constructs to get practice activity uses

* save morph construct for token parts of speech
2024-12-18 16:08:33 -05:00
ggurdin
43040c4010
only show 100 most recent uses in level bar popup (#1224) 2024-12-12 11:00:38 -05:00
ggurdin
dee409e41d
added level bar popup with XP, level, and recent construct use info (#1217) 2024-12-11 16:55:42 -05:00
ggurdin
e40dc33c0c
fix categorization issues, combine broad/specific categories at the first stage of processing instead of during category sorting (#1136) 2024-12-03 16:00:52 -05:00
wcjord
f498727fe0 tweaks to token selection for activities 2024-12-03 14:20:12 -05:00
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
2024-12-02 11:20:11 -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
7ff4efadbc
if totalXP calculation is negative, reset to 0 (#1107) 2024-11-25 14:56:46 -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
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
c2ca1b24f5
fix getCategory function 2024-11-15 15:08:01 -05:00
ggurdin
374dab8031
manage getting construct uses with category 'other' 2024-11-15 12:59:04 -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
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
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
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
ggurdin
6b643a841a
make construct use category a String? instead of a list, set it to POS for vocab constructs 2024-11-01 13:59:23 -04:00
ggurdin
662098ee4c
use filtered construct list and number of lemmas in learning analytics view 2024-10-31 14:46:48 -04:00
William Jordan-Cooley
00d6277bc6 some code cleanup and comments 2024-10-24 12:48:51 -04:00
ggurdin
879a52c81f
responded to comment from Will in client code, added fix for mini analytics view level display 2024-10-07 14:48:14 -04:00
William Jordan-Cooley
f9ad45d203 intelligently choosing tokens and passing all their info 2024-10-02 17:40:16 -04:00
wcjord
a1f9e6a243
Toolbar practice (#702)
* drafting toolbar with practice

* moved some code around

* turning overlay message content into text buttons for selection, updated toolbar buttons progress bar

* activities displaying and forwarding toolbar

* experimenting with using choice value rather than index for logic

* reimplementation of wordnet results and translation for individual words

* cache and timer

* mostly done with activities in toolbar flow

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: choreo development <williamjordan-cooley@Williams-MacBook-Pro-3.local>
2024-09-25 17:01:58 -04:00
ggurdin
790223e68c
added popup for analytics indicators to show xp per lemma 2024-09-06 12:17:18 -04:00
ggurdin
0265019284
added 'categories' field to construct use model and started saving morph category 2024-09-06 10:52:13 -04:00
ggurdin
14ba8bf47b
merge main into analytics branch 2024-08-30 10:28:56 -04:00
ggurdin
54040d841a
add draft construct uses while using language assistance, added morphs to learning progress indicators 2024-08-21 14:01:24 -04:00
ggurdin
75234e6a6f
inital work for having a 2-stage progress bar and saving draft analytics locally 2024-08-14 09:07:10 -04:00
ggurdin
9f69360f24
use construct use type pointValues to calculate XP and level 2024-07-31 12:52:43 -04:00