Commit graph

11 commits

Author SHA1 Message Date
wcjord
02050d3006
1407 bring back locking of tools (#1408)
* dev: clean up isActivityBasicallyEligible and shouldDoActivity defs

* feat: bring back locking of tools and highlight words with meaning activities

* fix: exclude tokens that are not relevant for meaning activities from proportionOfActivitiesCompleted computation

* fix: show yellow if token meaning activity has been done but shouldDoActivity is true

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-13 10:23:40 -05:00
ggurdin
9826501c86
fix: Limit message preview to one line (#1387) 2025-01-09 10:24:51 -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
ggurdin
5607d9cc41
fix: if messageDisplayRepresentation is null, display event body (#1366) 2025-01-06 13:29:22 -05:00
ggurdin
d53067583d
feat: use the same widget to render hidden tokens in messages and chat list item subtitles (#1356) 2025-01-06 10:56:57 -05:00
ggurdin
09942aa47e
fix: simplify word zoom card, make all activity buttons stateless (#1330)
* fix: simplify word zoom card, make all activity buttons stateless

* feat: make it visually clearer which activity type is selected

* fix: give message to user when no token is selected in word zoom card

* feat: don't highlight selected token or speak selected token if message has hidden word activity

* feat: added error widgets to word zoom card

* feat: added x-out badge to word zoom activity buttons, created word zoom activity button widget

* fix: sort morph activity buttons to always have POS as first option, then having unlocked buttons before locked buttons, then alphabetically
2024-12-31 11:54:46 -05:00
ggurdin
675d85dddc
1162 if message not in target go to translation (#1177)
* go straight to translation if message not in target language

* show toolbar on click hidden token
2024-12-06 15:35:14 -05:00
ggurdin
3e920a420a
only add hidden message activities if the rep event langCode is the user's l2 (#1036) 2024-11-18 15:27:18 -05:00
ggurdin
f66697330e
make underlines match the exact width of the text they're hiding (#1034) 2024-11-18 15:11:15 -05:00
William Jordan-Cooley
f85c4b2169 refactoring of practice flow 2024-11-15 11:02:31 -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