Commit graph

5112 commits

Author SHA1 Message Date
ggurdin
0fdd8a62b2
fix: don't play button click sound on click message button (#1334) 2024-12-31 12:26:56 -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
wcjord
f626d5fe7e feat: moving to lemma def over contextual translation 2024-12-30 12:12:15 -05:00
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
2024-12-30 10:45:32 -05:00
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>
2024-12-30 09:37:25 -05:00
ggurdin
6491042d59
public profile toggle sets user DOB (#1318) 2024-12-27 16:10:36 -05:00
ggurdin
129c5a5a7a
if room lastEvent has hidden word activity, hide the hidden tokens in the chat list item subtitle (#1317) 2024-12-27 15:32:40 -05:00
ggurdin
60a3587c8f
add back public profile toggle to learning settings (#1316) 2024-12-27 15:06:22 -05:00
ggurdin
7e9dc022eb
make pressable button more visbile in dark mode, make main menu indicators into pressable buttons (#1315) 2024-12-27 14:44:54 -05:00
ggurdin
78ce090696
fix for mobile layout issues on mobile (#1314) 2024-12-27 14:01:33 -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
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>
2024-12-23 14:57:42 -05:00
wcjord
9c8edaada8 adding data error handler call 2024-12-20 10:07:50 -05:00
wcjord
ccf19aa8a4 remove context from span data, improve isITStart 2024-12-20 08:26:33 -05:00
ggurdin
06817ba4cc
fix: if there's an error while building transcript in tts card, show error card (#1281) 2024-12-19 12:09:53 -05:00
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
2024-12-19 10:47:11 -05:00
ggurdin
940b65d007
made button same height when loading, added timeout to language settings / avatar page (#1275) 2024-12-18 16:27:52 -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
2641d31c55
Fix sso (#1273)
* fix: minor update to SSO

* remove debug print
2024-12-18 15:42:54 -05:00
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
2024-12-18 14:53:25 -05:00
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>
2024-12-18 09:27:11 -05:00
ggurdin
ff6a2a2918
upgrade to flutter 3.27.0 (#1256) 2024-12-16 09:59:56 -05:00
ggurdin
3e017d733f
wrap textfield in selection area to make typing work on Safari and Firefox (#1251) 2024-12-13 16:09:09 -05:00
ggurdin
bf9e0aeba2
added scroll bars to search results (#1250) 2024-12-13 15:52:02 -05:00
ggurdin
d3b405adc2
sign in copy change (#1249) 2024-12-13 15:22:18 -05:00
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
2024-12-13 14:25:34 -05:00
ggurdin
3cf1140039
added version numbers to update dialog (#1244) 2024-12-13 13:21:46 -05:00
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
2024-12-13 12:37:49 -05:00
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) 2024-12-13 11:51:03 -05:00
ggurdin
5af7bfb581
updates to level bar popup design (#1238) 2024-12-13 11:04:18 -05:00
ggurdin
a4861cd15f
if version is bigger, don't account for build name (#1237) 2024-12-13 10:35:42 -05:00
ggurdin
50b435b7e9
added clicking sounds on button click (#1236) 2024-12-13 10:08:39 -05:00
ggurdin
0b5edffbf9
made PangeaLanguage.byLangCode nullable (#1235) 2024-12-12 16:20:41 -05:00
ggurdin
43855f1ac3
if user l1 is not set, return system language (#1234) 2024-12-12 16:12:31 -05:00
ggurdin
358f4bc4aa
only show option to enter code if room is space (#1232) 2024-12-12 14:08:48 -05:00
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>
2024-12-12 14:04:36 -05:00
ggurdin
ad64031688
if user doesn't have l1, return system lang (#1230) 2024-12-12 13:51:22 -05:00
ggurdin
cef67731f0
in stateful builder use context instead of outside context (#1229) 2024-12-12 13:19:03 -05:00
ggurdin
9444aecfd3
added enabled tts learning setting, give user a warning message when tts not available for target language (#1227) 2024-12-12 13:05:00 -05:00
ggurdin
43040c4010
only show 100 most recent uses in level bar popup (#1224) 2024-12-12 11:00:38 -05:00
ggurdin
029dbef481
Compare version number base on broken down and parsed version number rather than string difference (#1223) 2024-12-12 10:41:22 -05:00
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>
2024-12-12 09:45:04 -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
c845c971d6
open roomID on click notification (#1216) 2024-12-11 14:34:19 -05:00
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>
2024-12-11 13:56:40 -05:00
ggurdin
829d68eff6
Change share link to pangea chat 2024-12-11 13:31:19 -05:00
ggurdin
3c83f3e943
exclude analytics rooms from notification counts 2024-12-11 13:19:41 -05:00
ggurdin
544a2e61c4
don't rely on token offsets from speech_to_text endpoint for creating text spans 2024-12-11 13:05:22 -05:00