Commit graph

139 commits

Author SHA1 Message Date
ggurdin
7c3861d2a7
chore: close level up / constructs notifications on close chat (#2656) 2025-05-05 12:19:29 -04:00
wcjord
31b2d49bcf
2484-simplify-igc-popup (#2592)
* feat(span_card): simplifying popup

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-05-01 13:48:16 -04:00
Sofanyas Genene
1e20d5fb2c
style and functionality changes to level up notification (#2444)
* style and functionality changes to level up notification

* generated

* chore: return construct summary directly from function instead of waiting for state event to be sent

* generated

* XP animation bug, asking wilson to take a look

* updated XP attributes but still facing XP retrieval bug

* generated

* Added new DinoBot image

* updated dinoBot image, added padding on sides to table row, fixed duplicate variable naming error

* generated

* chore: some updates to simplify level up widget

* chore: remove dino asset from pubspec.yaml

* chore: revert testing changes to analytics controller

* See details categories do not display unless XP gained above threshold

* generated

* chore: update icons in construct update popup above messages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-29 09:09:03 -04:00
ggurdin
63ade4c995
chore: wrap autocorrect popup in material widget (#2558) 2025-04-25 09:53:10 -04:00
ggurdin
7f11a5dba9
Adjust translation animation (#2556)
* chore: some edits to message toolbar

* chore: some updates to reading assistance
2025-04-25 09:41:07 -04:00
ggurdin
03a5bed450
chore: allow users to undo autocorrection of normalization errors (#2538) 2025-04-23 14:13:57 -04:00
ggurdin
b25676a58d
refactor: remove tokens and detections from IGC text data model (#2528)
* refactor: remove tokens and detections from IGC text data model

* generated

* refactor: initial work to remove tokens from span_details and IT responses

* refactor: add xp field to construct use class, rewrite function for turning choreo record into construct uses

* refactor: add translation assistance construct use type

* refactor: move analytics feedback to popup above messages

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-23 12:29:45 -04:00
ggurdin
fe88836e89
chore: require passing of langCode to TTS, log langCode (#2529) 2025-04-22 13:42:45 -04:00
ggurdin
327160c2a7
2505 have to click on other options multiple times for the click to go through after selecting an incorrect choice in it (#2516)
* chore: prevent overlays from blocking IT choices

* chore: prevent IGC card from interfering with buttons below it
2025-04-21 10:52:42 -04:00
ggurdin
9015edb5c1
chore: highlight selected span during IGC (#2514) 2025-04-21 09:51:32 -04:00
ggurdin
e5d839b20f
2464 the empty space above the message is not pleasing any solution (#2475)
* chore: shrink message token buttons when empty

* chore: fix message overlay overflow error
2025-04-17 12:23:51 -04:00
ggurdin
3abfffd227
chore: replace some instruction popups with inline tooltips (#2452) 2025-04-16 09:47:11 -04:00
ggurdin
278219b163
2409 automatically apply accentpunctuation corrections (#2449)
* feat: automatically accept normalization error matches

* chore: on text change, if assistance state changes, update the IGC button
2025-04-15 15:48:03 -04:00
sienna-sterling
ddbc215252
2353-add-number-animation-xp-earned-in-it-bar (#2363)
* fix(IT Controller): fixed accuracy issues with star calcultion and point calculation for vocab + grammar. Added number animation. Staggered animations

* generated

* chore: redirect to new group page on click new chat button in space view (#2354)

* chore: disable custom message text sizing (#2355)

* feat: initial work to prevent giving points for copy-pasted text (#2345)

* feat: initial work to prevent giving points for copy-pasted text

* chore: replace tokenization with comparing token content with pasted content

* fix(emoji_activity_generator): ensure unique choices

* fix(intl_en): two copy edits

* fix(lemma_meaning_widget): fix text alignment

* chore(practice_selection): preferencing tokens without activities in selection

* 2364 on chat creation with activity if no room image set activity image (#2371)

* chore: formatting

* chore: on chat creation without activity, set avatar to activity image if no image set

* chore: in empty chat popup, listen for changes to participant count and close self if it increases (#2372)

* chore: constrain width of unsubscribed card (#2373)

* chore: fix dialogs in report offensive message flow (#2380)

* chore: fix off-center close button in level up notifications (#2382)

* chore: fix discrepency between original message and centered message border radius (#2383)

* chore: don't show presence indicator on small avatars (#2386)

* chore: give max height to image in activity suggestion dialog (#2403)

* chore: when navigating to space details, always open space view (#2405)

* chore: fix vertical alignment of tokens in HTML-formatted messages (#2406)

* added robot animation and message to instruct user to wait after too … (#2415)

* added robot animation and message to instruct user to wait after too many join with code attempts

* chore: formatting

* replaced hardcoded text with intl_en.arb

* Resolving missing import

* generated

* chore: formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* refactor: separate token and message reading assistance modes (#2416)

* refactor: separate token and message reading assistance modes

* chore: apply same token styling to HTML formatted messages

* chore: don't wait for lemma responses before showing reading assistance content

* 2421 reading assistance mode split feedback from will (#2422)

* chore: make input bar shorter in token mode

* chore: retry showing reading assistance content for initial token

* chore: make background lighter in token mode

* Added 'JoinByCode' button on new group view (#2417)

* Added 'JoinByCode' button on new group view

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

* fix(IT): added chreo code back + added original feedback star class back

* generated

* chore: revert change to it controller, use choreo record to determine which constructs are new

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
Co-authored-by: Sofanyas Genene <123987957+Sofanyas@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-14 11:54:32 -04:00
ggurdin
8b859ccb81
chore: only show STT for .wav audio messages (#2423) 2025-04-11 12:10:11 -04:00
sienna-sterling
96197138ba
1949-changing-it-feedback (#2088)
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-01 15:04:33 -04:00
wcjord
6e7ae5c044 chore(reading_assistance): several fixes and an enhancement to gain points animation 2025-04-01 14:13:16 -04:00
ggurdin
8a84925452
chore: don't hide inline tooltip icons until tooltip is closed (#2278) 2025-03-31 13:37:19 -04:00
wcjord
b6e27d739a chore(reading_assistance): persistent distractor selection and fixes to analytics saving 2025-03-31 11:44:18 -04:00
ggurdin
162a264cf5
2233 usability test todos (#2261)
* chore: always get span details on press why button

* chore: increase construct XP needs to show notification

* chore: don't give mouse feedback in IGC button does nothing
2025-03-28 15:46:07 -04:00
ggurdin
0faeb6f6ae
2220 separate animation logic from choice array and apply to messge match activity (#2232)
* chore: abstract choice array animation

* chore: smoother animation
2025-03-26 13:38:25 -04:00
ggurdin
ba7a9ebf53
refactor: position points animation by keys instead of as a positioned widget in a stack (#2230) 2025-03-26 10:51:16 -04:00
ggurdin
027e13f32d
formatting (#2229) 2025-03-26 09:31:06 -04:00
wcjord
ac5356acd7 chore(reading_assistance): more tweaks based on feedback 2025-03-25 17:44:36 -04:00
ggurdin
e3012f479f
chore: fix for null check error in getFeedback (#2174) 2025-03-19 10:45:48 -04:00
ggurdin
5326b3684b
chore: refresh choreographer on change learning settings (#2155) 2025-03-17 14:29:07 -04:00
ggurdin
69ea5f2e44
chore: add loading state to subscription controller, act as if user is subscribed if loading (#2148) 2025-03-17 12:16:18 -04:00
sienna-sterling
91000fd24b
fix (theme color): replaced all 'AppConfig.primaryColor' parts and added casts where needed 2025-03-14 16:42:57 -04:00
wcjord
8abf036381
Refactor: Move toolbar content to bottom of screen
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-03-06 15:52:07 -05:00
ggurdin
c9dbbe73b8
feat: added util in choreographer to response to pasting in the input… (#2021)
* feat: added util in choreographer to response to pasting in the input bar
2025-03-05 13:25:52 -05:00
wcjord
cf1a420415
chore(settings_learning): check with user if they want to save unsave… (#1997)
* chore(settings_learning): check with user if they want to save unsaved changes

* generated

* chore: don't allow user to dismiss setting learning dialog by clicking background

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-05 12:56:22 -05:00
ggurdin
f839b79e81
chore: give IT bar choices array steps unique IDs to avoid identical keys (#1980) 2025-02-27 15:54:41 -05:00
ggurdin
907ad15f79
chore: when choices array goes off screen, stop playing TTS (#1945) 2025-02-26 13:31:22 -05:00
ggurdin
62d5a7190f
1846 word specific audio player not working (#1882)
* feat: tie TTS enabled to target lang, show warning popup when disabled

* fix: prevent top overflow for popups
2025-02-21 12:19:51 -05:00
wcjord
c72a2da7fc
Unborked locales (#1741)
* feat: localized languages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-12 11:59:23 -05:00
wcjord
d773347d6e
Morph-repo-2 (#1681)
* feat(morphs): repo for getting lang-specific list of morphs

* integrated repo into use of morph features and tags

* generated

* merged with previous push

* generated

* generated

* chore: fix .env file path

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-02-03 12:21:29 -05:00
ggurdin
5f70b709f4
fix: allow dismiss wod data card on click outside (#1632)
* fix: allow dismiss wod data card on click outside

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-29 12:44:03 -05:00
ggurdin
027158e286
1435 refactor into function specific groupings (#1440)
* fix: deleted unreferenced files

* fix: sort files based on function
2025-01-14 14:00:30 -05:00
ggurdin
a37266fc3d
feat: disable send button if fetching IGC (#1427) 2025-01-13 14:00:08 -05:00
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
wcjord
bbc791b314 dev/feat: refactor of instructions, tweaking of morph/lemma edits 2025-01-11 13:25:07 -05:00
ggurdin
771bd4b6c3
fix: don't run startChatWithBotIfNotPresent if user is bot (#1392)
* fix: don't run startChatWithBotIfNotPresent if user is bot

* fix: dart formatting
2025-01-09 16:04:16 -05:00
wcjord
8084cc24cc
1380 content challenges (#1391)
* use gold consistently for positive xp color

* fix: dont point to local choreo
2025-01-09 14:19:01 -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
0203aaf209
feat: always show emoji activity, enable use to update emoji choice (#1355) 2025-01-06 09:39:49 -05:00
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>
2025-01-02 08:56:18 -05:00
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
2024-12-31 16:01:04 -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
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>
2024-12-27 11:06:53 -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