633 Commits

Author SHA1 Message Date
Louis
b28cac7083
fix: render performance while generating messages (#4328) 2024-12-23 21:04:37 +07:00
Faisal Amir
e8e5c8c5f4
fix: disabled native resize textarea when textarea autogrowing (#4326)
* fix: disabled native resize textarea when textarea autogrowing

* fix: disabled auto resize on instruction field
2024-12-23 20:39:22 +07:00
Faisal Amir
56d1ffa136
fix: scroll bottom when generation text (#4323)
* fix: scroll bottom when generation text

* chore: update logic when prepare generate

* chore: fix case no switch thread

* chore: remore dep thread id

* chore: handle fix generation without have dep thread id
2024-12-23 17:55:51 +07:00
Louis
df1c465fd9
fix: app picks model automatically edge cases (#4322) 2024-12-23 15:52:18 +07:00
Louis
1f4c00dc41
fix: change theme settings do not work after relocated data folder (#4317) 2024-12-23 13:09:26 +07:00
Faisal Amir
abb718c57f
fix: width inputbox based on preference and remove tooltip image upload (#4315) 2024-12-23 12:14:49 +07:00
Faisal Amir
8738421e75
fix: overlap bottom system monitor (#4310) 2024-12-21 00:32:34 +07:00
Faisal Amir
af84a3a8d9
fix: scroll bottom issue (#4308) 2024-12-20 22:39:08 +07:00
Faisal Amir
714097851a
fix: escape heading on user message item (#4301) 2024-12-19 22:38:55 +07:00
Faisal Amir
c7a5cb52e3
fix: conditional render model setting based on selected model (#4300) 2024-12-19 22:12:24 +07:00
Louis
a1ea94aeca
fix: attach file information into message metadata for a quick retrieval (#4298) 2024-12-19 22:01:13 +07:00
Faisal Amir
0271774773
enhancement: set recommend model to undefined if no model available (#4296)
* enhancement: set recommend model to undefined if not lastUsedModel

* chore: update logic
2024-12-19 14:14:42 +07:00
Louis
fd45e7e47f
Merge pull request #4295 from janhq/fix/no-new-thread-created-on-factory-reset
fix: new thread isn't automatically created on factory reset
2024-12-19 14:14:10 +07:00
Louis
b81b008a93
chore: use seconds timestamp system 2024-12-19 11:38:10 +07:00
Louis
4cd0e63029
fix: create new thread with default assistant 2024-12-19 11:16:17 +07:00
Louis
bdcc3ef48c
chore: fix role 2024-12-19 10:51:13 +07:00
Faisal Amir
8663a7e4bf
fix: scroll to bottom issue (#4289) 2024-12-19 10:35:00 +07:00
Faisal Amir
d12408cd83
enhancement: update thumbnail chat width option setting (#4284) 2024-12-19 10:02:44 +07:00
Faisal Amir
ffdea36b18
fix: empty tooltip on attachment icon, also fix z-index (#4290) 2024-12-19 09:22:58 +07:00
Faisal Amir
7d07e995ab
feat: handle case thread when original model deleted (#4280) 2024-12-18 18:37:26 +08:00
Louis
8613e35c15
fix: timestamp issue 2024-12-17 17:12:03 +07:00
Louis
66e37d80d6
fix: attachment preview issue 2024-12-17 16:07:11 +07:00
Faisal Amir
f2db31781e
feat: add chat width setting option for thread (#4278) 2024-12-17 13:36:15 +07:00
Faisal Amir
0164db2139
fix: starter screen layout (#4279) 2024-12-17 13:33:24 +07:00
Louis
2410de0ba9
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-17 10:02:48 +07:00
cuhong
294d7ec602
Merge branch 'dev' into fix/cjk-input-issue 2024-12-17 02:32:52 +09:00
Louis
b91c3c8e75
test: fix test case 2024-12-16 22:57:06 +07:00
Louis
8cc24df902
chore: clean up 2024-12-16 20:48:10 +07:00
Louis
1de98873c1
fix: linter 2024-12-16 18:28:53 +07:00
Louis
d09b1b7a87
fix: linter 2024-12-16 17:53:59 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
hongchan-ui
6efdb74027 chore: Fix linter issue by adjusting onKeyDown logic formatting to Prettier standard
- Refactored condition in `onKeyDown` function for better readability.
- Resolved Prettier lint error by adding line breaks and proper indentation.
2024-12-16 18:47:30 +09:00
Faisal Amir
5fc04e09eb
feat: product analytic UI (#4262)
* chore: initial ui prompt product analytic

* chore: integrate posthog

* chore: update event app_version

* chore: update build env

* feat: posthog config in ci

* chore: resolve linter test CI

* chore: resolve e2e

* chore: disable capture unless property

* chore: update e2e

* chore: update privacy data analytic

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-12-16 15:06:46 +07:00
Faisal Amir
5041651c21
enhancement: remove tooltip local api server when server start (#4275) 2024-12-16 15:06:30 +07:00
Faisal Amir
e5a2d41206
enhancement: move token speed to bottom (#4276) 2024-12-16 15:06:17 +07:00
Faisal Amir
9bb73f10b7
fix: disabled start model from mymodel list when server is running (#4277) 2024-12-16 15:05:46 +07:00
cuhong
3272c30b20
Merge branch 'dev' into fix/cjk-input-issue 2024-12-13 16:56:46 +09:00
Louis
f6ba447f1b
test: update test cases 2024-12-12 16:38:56 +07:00
Louis
174f1c7dcb
feat: reroute threads and messages requests to the backend 2024-12-12 16:38:55 +07:00
Faisal Amir
14737b7e31
fix: markdown inline inputbox (#4269) 2024-12-12 14:44:54 +07:00
cuhong
137ba0789b Add check for isComposing to ensure events are not triggered prematurely. 2024-12-12 15:30:14 +09:00
Faisal Amir
09bfc0549e
fix: auto scrolling to bottom (#4256) 2024-12-10 12:34:59 +07:00
Faisal Amir
893d6ff40e
fix: crash markdown render code block without triple backtick (#4248) 2024-12-09 16:18:34 +07:00
Faisal Amir
21389070fb
fix: performance issue when pasting long content into the chat input box (#4240) 2024-12-06 15:48:01 +07:00
Louis
41e0d4cddc
Merge pull request #4226 from janhq/chore/hide-vulkan-option-when-there-is-no-gpu-detected
fix: hide Vulkan option for users who don't have GPU
2024-12-05 17:34:54 +07:00
Louis
b71dfb8047
fix: unexpected content 2024-12-05 16:15:21 +07:00
Louis
7e28939a0c
fix: hide Vulkan option for users who don't have GPU 2024-12-05 10:12:17 +07:00
Louis
fdc819e1c8
fix: syntax highlight configurations that made everything dark 2024-12-05 08:51:11 +07:00
Louis
da09f50253
fix: react-markdown crash on code highlighting - threads switching do not take effect sometime 2024-12-04 16:45:00 +07:00
Louis
bfd66c421c
fix: error message should not be capitalized 2024-12-03 13:53:26 +07:00