Commit Graph

30 Commits (e417af93fad57e3021890219ef147260a283090c)

Author SHA1 Message Date
wcjord f626d5fe7e feat: moving to lemma def over contextual translation 10 months ago
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>
11 months ago
wcjord f498727fe0 tweaks to token selection for activities 11 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
William Jordan-Cooley 4c9cd60e95 tweaking activity selection 12 months ago
wcjord ba08bd8386
opening toolbar on clicked word (#1066) 12 months ago
William Jordan-Cooley 9851154b74 add saveVocab to criteria for content and canBeHeard words 12 months ago
William Jordan-Cooley 1a4dc0ba95 tweaking selection criteria 12 months ago
ggurdin 62bdde91a8
Merge branch 'main' into xp-fix 12 months ago
ggurdin 374dab8031
manage getting construct uses with category 'other' 12 months ago
William Jordan-Cooley 50906f929f tweaking lock icon display 12 months ago
William Jordan-Cooley f85c4b2169 refactoring of practice flow 12 months 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
ggurdin 6b643a841a
make construct use category a String? instead of a list, set it to POS for vocab constructs 1 year ago
ggurdin ac80e6217c
Audio section widget (#744)
first draft of word focus listening activities using text to speech library
1 year ago
wcjord b7ab6038ac
further toolbar tweaks
* remove print statement

* ending animation, savoring joy, properly adding xp in session

* forgot to switch env again...

* increment version number

* about to move toolbar buttons up to level of overlay controller

* added ability to give feedback and get new activity

* more practice tweaks and instructions too

* incrementing pubspec version
1 year ago
William Jordan-Cooley 8bffe17455 passing practice model instead of activity? 1 year ago
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>
1 year ago
William Jordan-Cooley c4ef728578 client will consume lemma as single object but be capable of handling json lemma as list 1 year ago
ggurdin 0ac4b664ce changed from string to Map 1 year ago
William Jordan-Cooley bca1b87677 added span display details to activity 1 year ago
William Jordan-Cooley d02acc9884 switching to token focus of saving constructs 1 year ago
William Jordan-Cooley 1163c1d5cd adding pos and morph to lemmas 1 year ago
ggurdin 7131fd47a8 fix for speech to text matrix event 2 years ago
ggurdin 0f3e1c7e16 inital work for selecting definitions 2 years ago
Brord van Wierst a30234db67
formatting once more 2 years ago
Brord van Wierst 75112808f6
dart fix 2 years ago
Brord van Wierst 74c3e97ec9
sorted imports again? 2 years ago
Brord van Wierst 75da9cd87d
import sort 2 years ago
ggurdin f86aafcb74 code files 2 years ago