Commit graph

951 commits

Author SHA1 Message Date
ggurdin
5564663ce8
chore: account for chat details column width in message overlay max width (#1920) 2025-02-25 14:23:36 -05:00
ggurdin
becd9d7395
chore: revert deleting selection area in input bar (#1915) 2025-02-25 13:21:01 -05:00
Sofanyas Genene
fbf8abd987
Use system keyboard setting in Learning Settings (#1867)
* Use system keyboard setting in Learning Settings

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-02-21 09:25:26 -05:00
ggurdin
c46ec1d459
fix: delete selection are around input bar textfield (#1871) 2025-02-20 15:43:09 -05:00
Kelrap
19abec6422
Adds logging when redirecting from space chat (#1862)
* Adds logging when redirecting from space chat

* generated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-20 13:43:48 -05:00
ggurdin
e591ce3a4d
fix: dynamically update input bar height to offset event list (#1859) 2025-02-20 09:25:28 -05:00
ggurdin
99b7b7cd42
fix: always show display event in toolbar (#1855) 2025-02-19 16:13:28 -05:00
ggurdin
21b9b7e720
Fix arb types (#1848)
* chore: move over all fluffychat copy changes, revert any differenced between FluffyChat and Pangea copy

* chore: sort copy between FluffyChat and Pangea, update metadata types for FluffyChat copy

* chore: update metadata type for pangea chat copy

* chore: add placeholders to Pangea vietnamese copy
2025-02-19 13:53:32 -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
Kelrap
a218591805
Remove routes that can lead to space chats (#1757)
* Use push instead of go when traversing spaces
* Redirects from space chat page

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-12 14:28:15 -05:00
ggurdin
8988cce68a
chore: updated input bar copy (#1774) 2025-02-12 13:30:34 -05:00
wcjord
c72a2da7fc
Unborked locales (#1741)
* feat: localized languages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-02-12 11:59:23 -05:00
ggurdin
ad241aa631
feat: move reply button to chat view header (#1733) 2025-02-07 16:46:10 -05:00
ggurdin
b98f2d3283
1547 level indicator for all users (#1722)
* feat: publicly viewable target language and level indicator

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-06 16:37:09 -05:00
ggurdin
5347b4764f
feat: add submit button to learning settings popup (#1717) 2025-02-05 16:40:45 -05:00
ggurdin
18cbb45fe1
chore: update link text color in dark mode (#1716) 2025-02-05 15:15:26 -05:00
ggurdin
0cce17d27b
chore: update reply and link text styling (#1708) 2025-02-05 09:25:58 -05:00
ggurdin
75a0d1e07b
feat: allow users to edit lemmas (#1694) 2025-02-04 11:02:30 -05:00
ggurdin
49e586a7ad
Fluffychat merge (#1685)
chore: Merge upstream changes

---------

Signed-off-by: Krille <c.kussowski@famedly.com>
Co-authored-by: krille-chan <christian-kussowski@posteo.de>
Co-authored-by: Krille <c.kussowski@famedly.com>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: fadelkon <fadelkon@posteo.net>
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Co-authored-by: josé m <correoxm@disroot.org>
Co-authored-by: Bezruchenko Simon <worcposj44@gmail.com>
Co-authored-by: Christian <christian-pauly@posteo.de>
Co-authored-by: - <hitekex@yandex.ru>
Co-authored-by: Angelo Schirinzi <Odi-3@users.noreply.hosted.weblate.org>
Co-authored-by: xabirequejo <xabi.rn@gmail.com>
Co-authored-by: Piotr Orzechowski <piotr@orzechowski.tech>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Tewuzij <tenajeza@outlook.com>
Co-authored-by: goknarbahceli <goknarbahceli@proton.me>
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: Erin <erin@erindesu.cz>
Co-authored-by: EpicKiwi <me@epickiwi.fr>
Co-authored-by: Christian Tietze <me@christiantietze.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 12:36:46 -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
e20844fe86
1512 level up notification (#1570)
* feat: initial work for level up notification

* feat: initial animation

* feat: level up slide animation, wait for image data to load

* feat: trigger animation on level up

* feat: added sound to level up notificaton
2025-01-31 16:40:41 -05:00
ggurdin
875d6bb7eb
fix: revert some changes to leaving space logic, updated copy (#1677) 2025-01-31 15:17:45 -05:00
ggurdin
7a071dea77
Switch bot svg (#1654)
* fix: use bot face png for most bot faces to fix memory issues

* fix: if no data in vocab popup, still show title
2025-01-30 16:43:26 -05:00
ggurdin
3ed92b3411
fix: update text controller value when text field value changes (#1637) 2025-01-29 16:15:40 -05:00
wcjord
33278567bc fix(instructions): dont show clickMessage instructions after message click 2025-01-29 15:13:44 -05:00
ggurdin
632384af03
fix: use case insensitive match for replacing emoji (#1605) 2025-01-27 15:47:52 -05:00
ggurdin
98aeb60f3a
fix: don't pass PangeaMessageEvent to activity message (#1561) 2025-01-23 13:31:42 -05:00
ggurdin
1d8e68a147
feat: different styling for activity plan messages (#1558)
* feat: different styling for activity plan messages
2025-01-23 13:03:21 -05:00
wcjord
b81f3841f8
feat(activity_planner): full draft done (#1542)
* feat(activity_planner): mvp done

* refactor(activity_planner): move launch icon button to file

* dev: dart formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-01-22 17:00:48 -05:00
ggurdin
cbf9bd22ee
fix: reset audio play on open toolbar (#1543) 2025-01-22 16:50:15 -05:00
ggurdin
a253809862
1518 dont give hidden word activity for html formatted messages (#1520)
* fix: prevent hidden word activities for HTML formatted messages

* fix: add token highlighting for tokens with activities in HTML messages
2025-01-22 12:00:30 -05:00
ggurdin
58cfbdeac9
dev: move toolbar positioning logic into its own file and move some d… (#1519)
* dev: move toolbar positioning logic into its own file and move some dimension values into AppConfig

* fix: dart format
2025-01-22 11:22:50 -05:00
ggurdin
f59b31ce9c
feat: add clicking for tokens in HTML messages (#1510) 2025-01-21 12:54:48 -05:00
Kelrap
6f63a6d710
Highlight audio text (#1333)
* Highlight text as TTS plays - attempt 1

* Make highlighting actually work

* Fix to minor version of punctuation issue

* Highlights all applicable text

* fix: filter out punctuation tokens in the client side when highlighing audio tokens

* Highlight selection separate from normal selection

* cleanup: further decouple tts highlighting and token selection, renamed temporarySelection => _highlightedTokens

* fix: don't show token highlights for non-overlay messages

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-21 09:15:17 -05:00
ggurdin
426d1429b3
fix: don't overflow language options (#1496)
* fix: don't overflow language options

* fix: match font size of number and text, bold number

* default to send on enter

* fix: don't run mode validation if not enabled
2025-01-17 11:50:24 -05:00
ggurdin
d8f484871e
feat: if message needs tokenization before send, send fake message to… (#1443)
* feat: if message needs tokenization before send, send fake message to look like the message is sending

* feat: make fake event replacement smoother
2025-01-15 14:27:53 -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
wcjord
02050d3006
1407 bring back locking of tools (#1408)
* dev: clean up isActivityBasicallyEligible and shouldDoActivity defs

* feat: bring back locking of tools and highlight words with meaning activities

* fix: exclude tokens that are not relevant for meaning activities from proportionOfActivitiesCompleted computation

* fix: show yellow if token meaning activity has been done but shouldDoActivity is true

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-01-13 10:23:40 -05:00
wcjord
bbc791b314 dev/feat: refactor of instructions, tweaking of morph/lemma edits 2025-01-11 13:25:07 -05:00
ggurdin
771bd4b6c3
fix: don't run startChatWithBotIfNotPresent if user is bot (#1392)
* fix: don't run startChatWithBotIfNotPresent if user is bot

* fix: dart formatting
2025-01-09 16:04:16 -05:00
wcjord
8084cc24cc
1380 content challenges (#1391)
* use gold consistently for positive xp color

* fix: dont point to local choreo
2025-01-09 14:19:01 -05:00
ggurdin
a26895ad81
feat: uncomment sendOnEnter chat setting (#1388) 2025-01-09 10:46:27 -05:00
ggurdin
9ecf4e3bd2
fix: fix dart formatting for CI (#1368)
* fix: fix dart formatting for CI

* fix: sorted imports, updated deprecated flutter functions

* fix: format files

* fix: format files

* feat: replace syncfusion flutter package with excel flutter package

* fix: don't run enable google services patch in CI

* fix: update iOS supported platforms for enable ios build script

* fix: commented out linux build in integrate CI
2025-01-07 08:32:42 -05:00
ggurdin
dd2ccccaad
fix: make overlay accurate for message with edits and replies (#1338) 2024-12-31 14:39:03 -05:00
ggurdin
6f06cfd911
feat: added submit on enter to login/signup pages and other text fields (#1336) 2024-12-31 13:15:42 -05:00
ggurdin
0fdd8a62b2
fix: don't play button click sound on click message button (#1334) 2024-12-31 12:26:56 -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
wcjord
9c8edaada8 adding data error handler call 2024-12-20 10:07:50 -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