Commit graph

97 commits

Author SHA1 Message Date
ggurdin
09754bdd90
chore: remove vocab tooltip from activity dropdown menu and update copy in end activity button (#4445) 2025-10-17 14:40:30 -04:00
ggurdin
d3e1da20df
chore: add tooltip to describe vocab highlighting in activity dropdown menu (#4412) 2025-10-15 14:18:50 -04:00
ggurdin
2586ae5442
fix: update isActivityStarted to rely on assignedRoles instead of directly using state event (#4382) 2025-10-14 14:09:10 -04:00
ggurdin
f59f72c53d
fix: stop rebuilding whole course settings tab on screen size change (#4368) 2025-10-13 16:17:57 -04:00
Copilot
bb0206780c
Hide activity end prompt text when activity is archived (#4364)
* Initial plan

* Hide activity end prompt when activity is archived

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-10-13 14:36:49 -04:00
ggurdin
261e28abb7
Organize course repos (#4262)
* integrate CoursePlansRepo.translateActivity, translateTopic, translateCoursePlan

* move translation functions to requisite files

* integrate translation endpoint

* refactor: reorganize course-related repos, add request and response model classes

* remove l2s from translation requests

* update translation request and response models, use translation endpoint to get course info, cache courses with L1s in cache key

* update topics repo to use translation endpoint

* use activity translation endpoint

* refactor: incremental loading of individual course info, account for discrepancy between translated IDs and original IDs

* incremental loading of course batches

* Update lib/pangea/course_plans/courses/course_plan_room_extension.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* cleanup

* cleanup

* fix: some name changes

* formatting

---------

Co-authored-by: WilsonLe <leanhminh2907@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: wcjord <32568597+wcjord@users.noreply.github.com>
2025-10-13 11:36:24 -04:00
ggurdin
c4ff6b0ac4
fix: prevent overflows in token info feedback dialog on mobile, add more specific unsubscribed error in future loading dialog (#4333) 2025-10-10 14:14:33 -04:00
ggurdin
ca8875f19b
chore: give max width to activity participant indicator widgets (#4327) 2025-10-10 11:45:40 -04:00
ggurdin
df4410e85d
fix: on join activity with role, preload activity participants list to get accurate list of assigned roles (#4326) 2025-10-10 11:35:11 -04:00
ggurdin
2e9dde93db
chore: remove background color from activity goal tooltip (#4324) 2025-10-10 11:01:51 -04:00
ggurdin
71ea85876a
chore: show activity stats cutout tooltip on other user finish activity (#4316) 2025-10-09 16:47:47 -04:00
ggurdin
c07c0632bc
chore: on play with bot timeout, show warning popup (#4312) 2025-10-09 15:50:56 -04:00
ggurdin
97d8c5fcf6
chore: enable activity stats button if someone else finishes the activity (#4311) 2025-10-09 15:28:58 -04:00
Kelrap
15b052e5a2
Make users return to activity session when use invite back button (#4288) 2025-10-09 13:02:30 -04:00
ggurdin
2c3a19bb67
chore: on invite, also invite to course parent (#4268) 2025-10-07 13:47:36 -04:00
avashilling
df4cda0875
4172 color inconsistency of activity elements (#4247)
* activity menu color consistency

And some sizing changes, made the stats button box much smaller

* revert activity button size changes

Also make text bigger to fill box, and make menu/summary buttons solid colors so the shadow under the button works.
2025-10-06 09:15:41 -04:00
ggurdin
9a7f935af6
fix: hide activity finished status message for archived activities (#4246) 2025-10-03 13:11:42 -04:00
ggurdin
027a1b7c41
fix: refresh expired course cache (#4240) 2025-10-03 11:22:12 -04:00
ggurdin
97163ce221
4199 prevent activity menu tooltip from being interfered with my other overlays to ensure it always shows (#4215)
* don't show activity dropdown instructions if word card is open

* block other overlays from openning when tutorial overlay is open

* remove duplicate open overlay data, don't wait for construct banners to close if overlay fails to open
2025-10-01 14:00:14 -04:00
ggurdin
341c3ec125
fix: disable ping course participants button if there are no no-bot users in course to ping 2025-10-01 11:09:17 -04:00
ggurdin
570d5e511d
chore: wait for user to send at least 3 text or audio messages before showing overlay with instructions about clicking activity status button 2025-10-01 10:00:53 -04:00
ggurdin
65a3b3e00e
chore: show word card in click vocab word in activity summary (#4206) 2025-09-30 16:56:06 -04:00
ggurdin
01b9059cbe
chore: match vocab lemma irrespective of case, use static message in activity stats dropdown (#4205) 2025-09-30 16:47:16 -04:00
wcjord
951d8ef626
4142-allow-giving-of-activity-feedback (#4144)
* feat: activity feedback repo

* add UI for giving activity feedback

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-09-26 14:30:41 -04:00
ggurdin
125814650b
chore: make whole upper acitivty summary clickable to expand (#4150) 2025-09-25 15:31:31 -04:00
ggurdin
4754ba2259
chore: increase size of user activity summary widgets (#4149) 2025-09-25 15:16:24 -04:00
ggurdin
7380e8921e
fix: always allow show menu on click activity participant (#4146) 2025-09-25 13:44:57 -04:00
ggurdin
ac4cb98d34
fix: hide activity role tooltip during translation (#4145) 2025-09-25 13:37:39 -04:00
ggurdin
533ebc991e
chore: update activity session notification to open activity start page without joining activity (#4122) 2025-09-25 09:11:25 -04:00
ggurdin
89bb560347
4110 playtest 92325 (#4121)
* style activity role tooltip like instruction inline tooltips

* style updates to activity details

* don't show token underlines in practice mode

* show loading activity analytics

* use all construct types to calculate activity analytics, include audio messages in activity summary request

* update chat context menus for activities

* fix positioning on menu in main chat list
2025-09-25 08:46:46 -04:00
ggurdin
4efe9106a4
fix: make invite button go to course invite page (#4103) 2025-09-23 12:13:15 -04:00
ggurdin
a38f7c4357
chore: fix copy issue (#4102) 2025-09-23 12:09:16 -04:00
ggurdin
e10f2bebeb
feat: show instruction overlay on first gain points in activity pointing user to click activity stats button (#4099) 2025-09-23 10:55:53 -04:00
ggurdin
2ca92dea87
fix: check if can invite to course when deciding if show invite button in activity session in course without enough users, disable instead of hiding (#4095) 2025-09-23 09:23:57 -04:00
ggurdin
152a716aa8
chore: use synapse room_preview to determine which activities users have completed (#4078) 2025-09-22 13:14:38 -04:00
ggurdin
8887efa22d
fix: fix button visibility in activity start page (#4073) 2025-09-22 12:31:59 -04:00
ggurdin
d338d24a83
fix: fix needed participants copy (#4058) 2025-09-19 14:06:15 -04:00
ggurdin
29ec50493d
chore: render activity instruction markdown (#4056) 2025-09-19 13:53:20 -04:00
ggurdin
2cf46d09b3
fix: don't allow new users to steal roles (#4055) 2025-09-19 13:30:44 -04:00
ggurdin
54918d4969
4036 playtest 91825 (#4051)
* chore: improve constrast in message practice

* fix typo

* chore: disable learning settings save button until change is made

* show word card on click vocab in activity dropdown
2025-09-19 12:04:48 -04:00
avashilling
235b78d92f
3934 activity summary card visual changes (#4013)
* visual tweaks and confetti rain on results generation

* create star rain widget to trigger when activity finishes

* delete commented out lines

* use new star confetti widget in levelup

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-09-19 10:03:51 -04:00
ggurdin
1b353afbac
feat: integrate room preview endpoint (#4014)
* feat: integrate room preview endpoint

* initial work for intermediary activity page

* Update lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update lib/pangea/chat_settings/utils/room_summary_extension.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* formatting

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-19 09:55:13 -04:00
ggurdin
1a307285f0
chore: fix click cursor showing on hover of disabled activity participant widget (#4020) 2025-09-18 09:31:13 -04:00
Kelrap
f9dec3152b
Add dark/light mode check for unassigned participant label color (#4006) 2025-09-17 14:37:50 -04:00
ggurdin
414d28f78d
chore: don't allow hover of non-selectable activity participants items (#4002) 2025-09-16 13:08:12 -04:00
ggurdin
70f0e4ddfd
chore: add snackbar message after pinging course participants (#3995) 2025-09-16 09:48:23 -04:00
ggurdin
c6816aea03
chore: show user menu on click participant item (#3992) 2025-09-15 16:19:24 -04:00
ggurdin
d951d5eee9
3921 display unsubscribed errors for users (#3991)
* url cleanup

* chore: display unsubscribed errors differently
2025-09-15 15:58:08 -04:00
avashilling
617030cd78
3873 add superlatives for most vocab grammar and xp (#3977)
* add grammar and vocab superlatives

- adds superlatives to the summary cards for each user
- WIP, doesn't include XP superlative yet and it continuously reinitializes state which reloads the superlatives

* get analytic superlatives from saved state event

Revert activity user summaries widget to stateless, get info from saved state event instead of awaiting it, and fix some spacing issues.

* add xp superlative

- simplify 3 loop logic into one
- change from constant updates to only generate superlatives on analytics save

* sort imports

* put analytics loading inside buttonControlledCarouselView

* delete commented out code

* return superlative map instead of setting value
2025-09-15 10:57:17 -04:00
ggurdin
94e55d9940
update activity launch page buttons, sort activities in topics by number of participants (#3974) 2025-09-12 14:53:26 -04:00