Commit graph

39 commits

Author SHA1 Message Date
ggurdin
3c0c84b366
chore: make scaling / not scaling consistent when rendering messages and chat list item subtitles (#2618) 2025-05-02 11:14:39 -04:00
wcjord
9b547d702b
2506 feedback on the new word card and message activities (#2525)
* fix(reading_assistance): fixed playing of sound and edited some copy

* chore: show token emojis for non-activity tokens, show morph defintion below choices once correct choice has been made

* chore(reading_assistance): added morph meaning for incorrect choices and adjusted some spacing

* chore(reading_assistance): adjusting spacing of morph choices to accomodate meaning text

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-04-21 18:17:36 -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
4adedd6b78
chore: revert changes to text sizing (#2458) 2025-04-16 12:56:19 -04:00
ggurdin
b7a6ee6fe2
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
2025-04-10 16:51:42 -04:00
ggurdin
e7a2d12a3c
chore: disable custom message text sizing (#2355) 2025-04-04 11:31:11 -04:00
ggurdin
6888c8f152
fix: dispose text painter to prevent memory leak (#2352) 2025-04-03 16:53:16 -04:00
ggurdin
0321d20f44
fix: don't use custom sizing for subtitles (#2312) 2025-04-01 16:52:27 -04:00
ggurdin
44a33bc60f
chore: don't change message text size for chat list item subtitles (#2311) 2025-04-01 16:30:58 -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
35aa5ced02
chore: account for non-l2 message in token TTS (#2271) 2025-03-31 09:33:57 -04:00
wcjord
2e1da66006 refactor(reading_assistance): persistent practice records 2025-03-30 10:11:21 -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
06ee5403bb
formatting (#2210) 2025-03-24 15:35:45 -04:00
wcjord
379e4a8db9
Reading assistance (#2175)
* still in draft

* feat(reading_assistance): whole message activity oriented

* chore: fix .env file path

* feat: animate selected toolbar into middle of screen

* chore: initial work for message bubble size animation

* refactor(reading_assistance): hooking up the choice interactions and polishing UI

* chore: animate in content and buttons

* formatting

* position reading content relative to selected token

* working on limiting choices

* chore: fix positioning of toolbar animation

* chore: simplify positioning logic

* chore: animate in button height

* getting there

* rough draft with restricted activity number is complete

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-03-24 15:20:07 -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
ggurdin
6df46c73a1
chore: fix newline rendering in non-HTML formatted messages (#2131) 2025-03-12 12:08:57 -04:00
ggurdin
365b7f0a12
fix: resolve issues with token punctuation combination and HWL activities (#2051) 2025-03-05 16:08:32 -05:00
ggurdin
0c9a44a26e
chore: link visibility (#1988) 2025-02-28 11:15:27 -05:00
ggurdin
32d314c026
feat: fetch new tokens for messages without originalsent representations (#1853) 2025-02-19 15:21:18 -05:00
ggurdin
3c0a1b9e56
fix: fix emoji rendering issues in message token text (#1842) 2025-02-18 16:17:19 -05:00
ggurdin
b1b5e998ce
fix: move shouldDoActivity function to pangeaMessageEvent to prevent giving activities for messages not in user's l2 (#1832) 2025-02-18 09:57:48 -05:00
ggurdin
beb0e91c07
fix: fix for splitting up tokens with combined punctuation (#1828) 2025-02-17 16:48:39 -05:00
ggurdin
0e48228cd1
fix: more accurate splitting of tokens containing punctuation (#1822) 2025-02-17 14:52:27 -05:00
ggurdin
87581e8cfc
fix: when merging punctuation into tokens to prevent line breaks, account for punctuation preceding tokens (#1812) 2025-02-17 11:52:00 -05:00
ggurdin
4fe67a9384
fix: combine token with following punctuation to prevent punctuation from causing newline (#1783) 2025-02-13 12:30:38 -05:00
ggurdin
cd0650f6b7
fix: dispose TextPainter after use (#1777) 2025-02-12 16:00:38 -05:00
wcjord
e2ca788f81
Add message meaning challenge activity (#1706)
* Add message meaning mode to toolbar

---------

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-06 17:03:21 -05:00
ggurdin
18cbb45fe1
chore: update link text color in dark mode (#1716) 2025-02-05 15:15:26 -05:00
ggurdin
76a465f14f
fix: reenable token clicking after adding linkify spans (#1711) 2025-02-05 12:03:52 -05:00
ggurdin
0cce17d27b
chore: update reply and link text styling (#1708) 2025-02-05 09:25:58 -05:00
ggurdin
72dcdb4fd5
fix: added linkify to message token text widget (#1702) 2025-02-04 16:19:17 -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
d2779eaf82
fix: don't highlight words while doing hwl activity (#1481) 2025-01-16 14:04:58 -05:00
ggurdin
87fca9f56a
Revert "revert recent changes to relevant files to test if that fixes hidden …" (#1456)
This reverts commit c1041dda70.
2025-01-15 12:51:26 -05:00
ggurdin
c1041dda70
revert recent changes to relevant files to test if that fixes hidden message bug (#1455) 2025-01-15 12:38:39 -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
Renamed from lib/pangea/widgets/chat/message_token_text.dart (Browse further)