Commit Graph

1231 Commits (e417af93fad57e3021890219ef147260a283090c)

Author SHA1 Message Date
Brord van Wierst e417af93fa
Using choreo with matrix token (2) (#1242)
* using choreo with matrixç

* removed old stuff

* removed old stuff2

* merge and removed matrix-access-token header

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
wcjord 2c88e6038b
feat: using translation in IT feedback as more succinct (#1295)
* feat: using translation in IT feedback as more succinct

* fix: removed unused / commented over code

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
10 months ago
ggurdin 1689fda54f
1337 feedback on word card (#1339)
* fix: don't give word meaning activity if there are no distractors available

* fix: center activity / answer text in word zoom card

* fix: after completing hidden word activity, wait for savor the joy to end before showing word zoom card
10 months ago
ggurdin dd2ccccaad
fix: make overlay accurate for message with edits and replies (#1338) 10 months ago
ggurdin 6f06cfd911
feat: added submit on enter to login/signup pages and other text fields (#1336) 10 months ago
ggurdin 59ca59f465
fix: give pressable buttons constant height (#1335) 10 months ago
ggurdin 0fdd8a62b2
fix: don't play button click sound on click message button (#1334) 10 months ago
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
10 months ago
wcjord f626d5fe7e feat: moving to lemma def over contextual translation 11 months ago
ggurdin 0368ce3ea7
Signup login updates (#1324)
* fix: stop signup/login loading on dispose

* fix: if user signs up with SSO, make them agree to TOS on language/avatar settings page
11 months ago
wcjord 93b1f7e21d
Wait-for-igc (#1311)
* feat: wait longer before calling igc

* fix: don't call showFirstMatch if running IT

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
ggurdin 6491042d59
public profile toggle sets user DOB (#1318) 11 months ago
ggurdin 129c5a5a7a
if room lastEvent has hidden word activity, hide the hidden tokens in the chat list item subtitle (#1317) 11 months ago
ggurdin 60a3587c8f
add back public profile toggle to learning settings (#1316) 11 months ago
ggurdin 7e9dc022eb
make pressable button more visbile in dark mode, make main menu indicators into pressable buttons (#1315) 11 months ago
ggurdin 78ce090696
fix for mobile layout issues on mobile (#1314) 11 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
Kelrap 0d477ad5b4
Paywall on IGC click (#1310)
* Shows paywall when user clicks IGC button

* Always show paywall card on press IGC button

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
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>
11 months ago
Kelrap eed93f2601
Adds loading indicator when waiting for IGC options (#1302)
* Adds loading indicator when waiting for IGC options

* when editting source text, don't show loading indicator

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
wcjord ccf19aa8a4 remove context from span data, improve isITStart 11 months ago
ggurdin 06817ba4cc
fix: if there's an error while building transcript in tts card, show error card (#1281) 11 months ago
ggurdin c8bf68e4cd
Login signup fixes (#1277)
* made button same height when loading, added timeout to language settings / avatar page

* fix: make button click always work, shrink inputs and add more space between logo and page content

* fix: don't open keyboard automatically in signup/login pages

* fix: make language dropdown hint text accurate

* feat: if a user logs in with SSO, allow them to set their username in the account setup page
11 months ago
ggurdin 940b65d007
made button same height when loading, added timeout to language settings / avatar page (#1275) 11 months ago
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
11 months ago
ggurdin 2641d31c55
Fix sso (#1273)
* fix: minor update to SSO

* remove debug print
11 months ago
ggurdin 16bdce9bd2
initial design updates to signup/login process (#1268)
* initial design updates to signup/login process

* feat: added signup/login assets, better button styling and animations

* fix: signup / login updated based on mobile testing
11 months ago
Kelrap d6d6875882
Bot animations (#1262)
* onPopinvok

* Randomly reset bot animation

* Use user ID to identify bot

* Keeps timer from acting on nonexistent widget

* fix: remove setState call in bot face SVG build function

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
ggurdin 0fcc119c9a
improved logging for acceptReplacement index error (#1245)
* improved logging for acceptReplacement index error

* replace flutter_html package with fork with fix for safari regex

* better logging for cast error in PracticeActivityModel.fromJson
11 months ago
ggurdin 3cf1140039
added version numbers to update dialog (#1244) 11 months ago
ggurdin 966ab19ae0
Sentry (#1241)
* make tts response a warning

* use toString instead of typecast

* made _event without originalSent message a warning

* don't call showFirstMatch if matches is empty
11 months ago
ggurdin d41dd35075
if current version first version number is larger then remote version, or if first version is less than/equal to remote version and second number is bigger, don't show dialog (#1240) 11 months ago
ggurdin 5af7bfb581
updates to level bar popup design (#1238) 11 months ago
ggurdin a4861cd15f
if version is bigger, don't account for build name (#1237) 11 months ago
ggurdin 50b435b7e9
added clicking sounds on button click (#1236) 11 months ago
ggurdin 0b5edffbf9
made PangeaLanguage.byLangCode nullable (#1235) 11 months ago
ggurdin 43855f1ac3
if user l1 is not set, return system language (#1234) 11 months ago
Wilson 3435658dbb
disable updating bot config if insufficient power level, remove respond on next reactions input (#1228)
* disable updating bot config if insufficient power level, remove respond on next reactions input

* comment .env file in pubspec.yaml

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
ggurdin ad64031688
if user doesn't have l1, return system lang (#1230) 11 months ago
ggurdin cef67731f0
in stateful builder use context instead of outside context (#1229) 11 months ago
ggurdin 9444aecfd3
added enabled tts learning setting, give user a warning message when tts not available for target language (#1227) 11 months ago
ggurdin 43040c4010
only show 100 most recent uses in level bar popup (#1224) 11 months ago
ggurdin 029dbef481
Compare version number base on broken down and parsed version number rather than string difference (#1223) 11 months ago
a_youngdiggs 4cc7483c27
fixed igc match and implemented cache system (#1165)
* fixed igc match and implemented cache system

* code cleanup

* remove unused spanDetailsCache

* updated igc request hash function, use igc request hash as cache key

* give both caches their own timer and clear on interval

* made igc data cache entries into futures and removed previous message cache

* clear IGC cache at the right time, restart timer if it's been stopped

---------

Co-authored-by: choreo development <williamjordan-cooley@Williams-MacBook-Pro-3.local>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
11 months ago
ggurdin dee409e41d
added level bar popup with XP, level, and recent construct use info (#1217) 11 months ago
ggurdin e38c1a08ee
1110 check app version and prompt user to update (#1215)
* initial work for checking app version

* fix error in version endpoint url

* show dialog on new version available

---------

Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
11 months ago
ggurdin 544a2e61c4
don't rely on token offsets from speech_to_text endpoint for creating text spans 11 months ago
ggurdin 266094d4e3
removed redundant enabled parameter from PressableButton, always call onPressed 11 months ago
ggurdin 570e933eca
updated pressable button widget to prevent it from changing the constraints of its child 11 months ago
ggurdin 6d59faaa89
matrix dart sdk updates 11 months ago