Commit graph

14378 commits

Author SHA1 Message Date
ggurdin
2dae236706
chore: update copy of state event expand button when expanded (#5744) 2026-02-18 13:05:20 -05:00
wcjord
f6a048ca3e
feat: embed STT transcription in audio event content (#5731)
* feat: embed STT transcription in audio event content

Before sending the audio event, the client now fetches the STT
transcript first, then embeds it under 'user_stt' in the event
content. This mirrors the 'original_sent' pattern for text messages
and lets the bot read the transcript immediately without downloading
audio or calling choreo.

- Add ModelKey.userStt constant
- Rewrite onVoiceMessageSend to get transcript before sending audio
- Update getSpeechToTextLocal() to check userStt before botTranscription

* chore: replace inaccurate comment with TODO referencing #5730

* formatting

* fix pangea comments

* feat: make stt translations relate to pangea message events instead of stt representation events

* clean up pangea event types

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-18 12:39:38 -05:00
ggurdin
edcc1e9b43
fix: clear last result on start new file search (#5739) 2026-02-18 10:43:06 -05:00
avashilling
03745fff89
5702 audio practice tweaks (#5724)
* feat: add transcription and translation to audio practice

* fix: make sure answer form matches word in audio

and optimize distractor/answer selection with one pass through the list

* feat: audio practice progress bar

* fix: simplify audio logic
2026-02-18 09:52:15 -05:00
ggurdin
af9b9b4e1f
chore: brighten igc underlines (#5736) 2026-02-18 09:45:34 -05:00
ggurdin
ba054a2557
chore: remove duplicate send image button (#5735) 2026-02-18 09:38:37 -05:00
ggurdin
abc4a9630c
chore: fix text overflow in ping participants button on small screen with large text in Spanish (#5734) 2026-02-18 09:33:54 -05:00
ggurdin
9ce7c7b4cb
chore: autofocus email field in login with email page (#5733) 2026-02-18 09:28:37 -05:00
ggurdin
43afb4bc61
chore: show localized exception in settings 3pid (#5732) 2026-02-18 09:23:47 -05:00
ggurdin
3100b2e4e5
fix: add guard to not update space hierarchy info if space ID changes while fetching (#5723) 2026-02-17 14:34:59 -05:00
ggurdin
33774da076
chore: log badge error to google analytic instead of sentry (#5718) 2026-02-17 09:50:21 -05:00
ggurdin
58513051f7
fix: always pass pos and morph when available on request TTS (#5716) 2026-02-16 16:00:28 -05:00
ggurdin
dea49e3086
chore: on token feedback response, replace all tokens when available (#5715) 2026-02-16 15:37:35 -05:00
ggurdin
55de949924
chore: set max lines for feedback text field (#5714) 2026-02-16 15:12:42 -05:00
ggurdin
672c17361e
build: point to matrix SDK fork main branch (#5710) 2026-02-16 12:35:24 -05:00
ggurdin
a83cef7807
chore: better logging when getting event by construct use (#5708) 2026-02-16 12:25:31 -05:00
wcjord
8a3979c61b
feat: unified use-type-aware practice scoring (#5703)
* feat: unified use-type-aware practice scoring on ConstructUses

- Add practiceScore() and practiceTier to ConstructUses for shared
  scoring across message practice and standalone practice
- Add isChatUse, isAssistedChatUse, isIncorrectPractice getters to
  ConstructUseTypeEnum with exhaustive switches
- Add PracticeTier enum (suppressed/active/maintenance)
- Wire into PracticeSelectionRepo and AnalyticsPracticeSessionRepo
- 28 unit tests covering tier classification, scoring, and ordering

Closes #5700

* formatting, fix linting issue

* move some stuff around

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-16 12:13:46 -05:00
ggurdin
c2472bd2a4
fix: add missing dependency (#5707) 2026-02-16 11:56:39 -05:00
wcjord
20b1619126 docs: update copilot instructions to include documentation standards reference 2026-02-15 19:37:46 -05:00
wcjord
b6f368fa1f docs: add instruction docs for analytics, practice, activities, toolbar; adjust content-word scoring ratio (10:7)
- Add analytics-system.instructions.md
- Add practice-exercises.instructions.md (with three-tier design direction)
- Add conversation-activities.instructions.md
- Add toolbar-reading-assistance.instructions.md
- Update copilot-instructions.md header
- Change content-word multiplier from 9 to 7 in practice_selection_repo.dart
2026-02-15 15:49:26 -05:00
wcjord
75a237b90c
fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698)
Closes #5697

- Extract buildUpdatedBotOptions (pure) and applyBotOptionUpdatesInOrder
  (async orchestration) as top-level @visibleForTesting functions
- Handle bot DM independently of _targetBotChats filter — the DM may
  lack a botOptions state event or have a stale activityPlan, but it's
  the most important room to keep current
- Update remaining rooms sequentially (not Future.wait) to avoid rate-limiting
- DM errors propagate; other room errors are logged and isolated
- Add 17 unit tests covering both extracted functions
- Add profile.instructions.md design doc for profile settings architecture
2026-02-14 14:47:05 -05:00
ggurdin
5fed2df7f2
fix: use correct matrix sdk version (#5695) 2026-02-13 15:18:36 -05:00
ggurdin
3537cd5fd4
feat: add language indicators to analytics database entries (#5692)
* feat: add language indicators to analytics database entries

* better handling for database reinit

* don't clear database is last update not set
2026-02-13 15:06:21 -05:00
avashilling
1de440156c
feat: unsubscribed page in vocab practice (#5694)
* feat: unsubscribed page in vocab practice

* fix uncaught unsubscribed error

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-13 14:36:40 -05:00
Kelrap
8491e2e874
Make Pangea Chat specific issue templates (#5688) 2026-02-13 13:34:03 -05:00
ggurdin
c34e6812fd
chore: catch error if fetching scroll controller position fails (#5693) 2026-02-13 13:29:41 -05:00
ggurdin
5cd6007346
fix: attach metadata for emoji constructs on specific message event (#5689) 2026-02-13 10:18:29 -05:00
ggurdin
f00115f712
chore: send audio event and request for transcription concurrently (#5687) 2026-02-13 09:49:47 -05:00
ggurdin
229370abc7
fix: prevent subscription management launch from being blocked, show snackbar with button to try launch again (#5685) 2026-02-12 15:58:07 -05:00
wcjord
33719b3ee7
Add score field to LLMFeedbackModel for human audit integration (#5684)
- Add score: Optional[int] to LLMFeedbackModel with conditional serialization
- Add ModelKey.score constant
- Update choreographer.instructions.md with feedback architecture docs

Closes krille-chan/fluffychat#2560
2026-02-12 14:52:22 -05:00
avashilling
b8af6234d5
5595 make this nicer looking (#5683)
* feat: nicer unsubscribed word card

with a small shimmer animation placeholder, and audio on word click

* create new widget instead of returning widget from function

* translations

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-12 14:23:26 -05:00
ggurdin
499829f2c9
chore: make cancel button less prominent in email verification registration dialog (#5682) 2026-02-12 13:56:23 -05:00
ggurdin
45a9eb5e71
chore: update styling in subscription paywall (#5681) 2026-02-12 13:06:40 -05:00
ggurdin
1db5dbb09f
chore: show close button for send file snackbars (#5680) 2026-02-12 12:58:41 -05:00
ggurdin
aa023160fc
chore: Onboarding L1 not adjust on L1 change (#5678) 2026-02-12 12:46:31 -05:00
ggurdin
c91cb1ca77
feat: Enable bulk analytics vocab deletion (#5677) 2026-02-12 12:22:55 -05:00
ggurdin
451705929f
Merge pull request #5674 from pangeachat/5662-show-direct-matches-first-in-vocab-search
chore: if vocab analyics search, sort to put matches that start with …
2026-02-12 11:00:47 -05:00
ggurdin
53ba7f9899
chore: if vocab analyics search, sort to put matches that start with search term at the top 2026-02-12 11:00:07 -05:00
ggurdin
ee8475f818
Merge pull request #5672 from pangeachat/5659-audio-circle-color-different-when-in-chat-and-selected
fix: make audio player thumb color consistent
2026-02-12 10:50:37 -05:00
ggurdin
835bd4e009
fix: make audio player thumb color consistent 2026-02-12 10:50:04 -05:00
ggurdin
9c68ce6982
Merge pull request #5671 from pangeachat/5606-allowed-to-have-same-base-and-target-language-from-chat
chore: prevent users from setting their l1 to their l2
2026-02-12 10:15:27 -05:00
ggurdin
77c54dc41a
chore: prevent users from setting their l1 to their l2 2026-02-12 10:14:47 -05:00
wcjord
dd85dce27d chore: update .gitignore to include node_modules, playwright-report, and e2e/.auth 2026-02-12 09:18:03 -05:00
ggurdin
f52f9c3744
Merge pull request #5666 from pangeachat/5658-audio-practice-issues
5658 audio practice issues
2026-02-12 09:17:31 -05:00
ggurdin
7d19a5c825
Merge pull request #5669 from pangeachat/5667-2-x-on-vocab-emoji-snackbar
fix: don't show duplicate close button in lemma emoji snackbar
2026-02-12 09:15:34 -05:00
ggurdin
94b7bf9121
fix: don't show duplicate close button in lemma emoji snackbar 2026-02-12 09:14:57 -05:00
wcjord
66d412c612 chore: remove .env from tracking
Credentials and API keys should not be in version control.
Team: back up your local .env before pulling — git will delete it.
2026-02-12 09:08:06 -05:00
wcjord
14b113639c revert: remove temp e2e-tests workflow from main 2026-02-11 19:54:27 -05:00
wcjord
6dc053570a temp: add e2e-tests workflow to main for dispatch testing 2026-02-11 19:24:26 -05:00
Ava Shilling
a05796e6de fix: give XP to clicked choice in audio practice
Or, upon wrong click give XP to chosen activity token
2026-02-11 16:46:38 -05:00