Commit graph

1399 commits

Author SHA1 Message Date
avashilling
b6c61c6683
4480 restrict options in archived activity session chat UI (#4538)
* remove chat UI from archived activities

- only count current, non left or banned activities in list to remove directly deleted activities
- change learning indicators to reflect the same activity list

* revert accidental changes

* import sorting and edge case handling

* chore: update pangea comments

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-10-30 09:11:02 -04:00
ggurdin
c9d02f6c88
chore: add l1 and l2 to audio message content (#4536) 2025-10-28 11:06:40 -04:00
Kelrap
a2a81733bd
Fix bottom bar spacing issues, make it more consistent with Fluffychat behavior (#4523)
* Add background to activity role tooltip

* Fix spacing directly, instead of adding role tooltip background

* Make bottom bar padding, background color, and divider behave more like Fluffychat

* remove changes to fluffychat code

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-10-28 09:47:28 -04:00
avashilling
6e50354636
lighten text bubbles and increase dark mode button elevation (#4266)
for better message shadow visibility

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-10-27 10:11:29 -04:00
ggurdin
6cbec5abca
4428 word zoom card changes positionsize when mobile keyboard opens (#4491)
* fix: on flag token info, close word card

* chore: update icon and tooltip for emoji mode

* refactor: create base feedback dialog

* fix: start drag imeadiatly on tap practice match item
2025-10-22 11:55:22 -04:00
ggurdin
1b3ae5f537
4478 take out stickers from chat emoji picker (#4489)
* chore: remove stickers tab from emoji picker

* fix: always show click cursor over message bubbles
2025-10-22 10:36:36 -04:00
avashilling
cd2f43c00c
add XP animation on match activity tokens (#4373) 2025-10-14 14:18:04 -04:00
ggurdin
b06b1ff16c
fix: don't show language mismatch warning popup if activity lang matches L1 (#4269) 2025-10-07 13:56:04 -04:00
Kelrap
5d4d51b10b
Adjust unread badge height to compensate for activity header height (#4213)
* Adjust unread badge height to compensate for activity header height

* Limit height instead of hardcoding values
2025-10-03 11:51:22 -04:00
ggurdin
dc55796ea6
feat: show warning popup on l2/activity language mixup (#4229) 2025-10-02 13:29:49 -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
65b0747929
chore: remove unnecessary padding (#4143) 2025-09-25 13:31:02 -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
f076584623
fix: fix toolbar buttons on mobile (#4087) 2025-09-22 14:46:52 -04:00
ggurdin
26a3a03ad6
chore: only show emoji button for save-vocab tokens, fix alignment for non-token text (#4071) 2025-09-22 11:33:03 -04:00
ggurdin
d89d852488
chore: fix practice mode icon / border contrast (#4067) 2025-09-22 09:19:42 -04:00
Kelrap
652c1fe4a6
Set height of activity creation sized box to 0 (#4048) 2025-09-19 11:28:50 -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
00641b901c
chore: don't animate in-chat tooltips (#4034) 2025-09-18 12:40:51 -04:00
ggurdin
802465c92c
3895 emoji sequence on clicking the words in a sentence of the target language (#4004)
* cleanup

* feat: toolbar emoji mode
2025-09-17 11:38:11 -04:00
ggurdin
e4f52f87b3
3803 indented bullets displayed strangely (#3999)
* make markdown function the same as matrix sdk

* fix: fix newline issues in html messages
2025-09-16 12:14:42 -04:00
ggurdin
712cd101d5
fix: don't show green underlines on own messages (#3997) 2025-09-16 10:25:15 -04:00
ggurdin
6c05ffaf2a
feat: always show new tokens with green underlines (#3984) 2025-09-15 10:46:20 -04:00
ggurdin
c04466fdca
3915 course chat view updates (#3919) 2025-09-10 11:10:13 -04:00
ggurdin
ad2e0e26db
chore: show role goal in text abut button on activity launch page and in tooltip above input bar (#3910) 2025-09-09 10:34:54 -04:00
ggurdin
b45541d826
feat: activity dropdown menu 2025-09-08 16:56:26 -04:00
ggurdin
5ce2a787b4
3890 activity start page changes (#3901)
* comment out unreferenced files

* decouple courses, topics, and activities

* update start page

* disable 'join open session' button
2025-09-08 15:25:56 -04:00
ggurdin
19381d0fd7
fix: in new courses, set course_user state event power level to 0 (#3882) 2025-09-05 09:57:56 -04:00
ggurdin
916da50bd4
3871 activity session issues feedback (#3874)
* fix: add header when fetching image from CMS

* fix: only show activity start page is all roles have never been full

* chore: disable archive button until summary loads

* chore: still save activity analytics summary even if there's a choreo error when fetching summary
2025-09-04 13:48:26 -04:00
ggurdin
677e9ce594
3822 begin activity design implementation (#3827)
* file reorganization

* added activity summary widget to show in chat view and activity launch view

* more updates to activity sessions start page

* function to ping course

* remove duplicate loading of participants

* nav bar visibility changes

* add generalized image from url widget

* update bottom of screen activity status message and add summaries to chat event list

* scroll to summary on click

* show invited activity sessions in course chats view
2025-09-02 12:37:16 -04:00
ggurdin
4b3d58e30b
fix: bring back lazy loading of members, call requestParticipants where full participant list is needed (#3815) 2025-08-26 15:37:17 -04:00
ggurdin
20b17e5f3d
fix: load full participant list when needed (#3782) 2025-08-21 11:37:08 -04:00
ggurdin
ece75b7f74
3770 total vocab grammar and xp calculations per user and activity (#3775) 2025-08-19 10:15:22 -04:00
ggurdin
506e069997
chore: display activity role state events (#3732) 2025-08-13 15:25:11 -04:00
ggurdin
861da39362
chore: show role name in message sender display (#3730) 2025-08-13 14:54:51 -04:00
ggurdin
fe7e5385e8
fix: group adjacent punctuation tokens with content tokens to prevent line breaks, added token positions cache (#3713) 2025-08-13 10:50:40 -04:00
ggurdin
9016a41c9f
chore: fix substring index issue with emoji characters (#3708) 2025-08-12 16:24:35 -04:00
ggurdin
1e3529180b
chore: simplify activity summary display, add activity summary widget to chat event list 2025-08-12 11:31:07 -04:00
ggurdin
d87f86bee1
3667 replace room creation state event with big image (#3670)
* build: reorganize activity-related files

* chore: add roles to instances of activity plan models

* chore: add avatar url to role object

* chore: in activity sessions, replace room creation state event with larger image
2025-08-08 12:21:46 -04:00
ggurdin
c2134d2f3e
chore: change activity roles event so admins can finish activity for everyone (#3665) 2025-08-08 11:33:17 -04:00
ggurdin
9b72bd8a09
Sentry (#3655)
* chore: render newlines in html message properly

* chore: log timeouts as warnings

* chore: update log level
2025-08-07 14:25:07 -04:00
ggurdin
867004243f
chore: don't lazy load members, account for left memebers when determ… (#3653)
* chore: don't lazy load members, account for left memebers when determining if activity is finished

* chore: always show continue button in unfinished activities
2025-08-07 11:49:57 -04:00
Kelrap
f0b3946d52
Move ActivityPinnedMessage to AppBar (#3643) 2025-08-06 16:00:15 -04:00
Kelrap
f4f1113277
Don't show popup for invalid commands (#3635) 2025-08-05 16:01:46 -04:00
ggurdin
dea50a51fd
chore: some small updates to activity session UI (#3630) 2025-08-05 12:02:20 -04:00
ggurdin
aabb97bc15
chore: hide activity chat UI elements for older activity chats (#3627) 2025-08-05 10:59:30 -04:00
Kelrap
451ced6580
Edit unpin confirmation text (#3620)
* Edit unpin confirmation text

* Add new intl entry for edited unpin confirmation text

* Add Pangea comments

* Fix pangea comments

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-08-04 16:39:04 -04:00
ggurdin
62140c56da
feat: activity sessions 2025-08-04 16:31:00 -04:00