90 Commits

Author SHA1 Message Date
Faisal Amir
49d5703ac3 bring back tooltip each params setting 2024-01-04 14:39:33 +07:00
Faisal Amir
e8934d0771 Validate max input on slider component 2024-01-04 14:39:33 +07:00
Faisal Amir
a653c58384 Revert back save button thread setting 2024-01-04 14:39:33 +07:00
Faisal Amir
2a90cac56d feat: make auto focus button leave when dialog unsave setting shown 2024-01-04 14:39:33 +07:00
Faisal Amir
b1f33d3d18 feat: revamp new thread setting panel flow 2024-01-04 14:39:33 +07:00
Faisal Amir
4e26e1a598 update state case when user change value form and revert to old state 2024-01-04 14:39:33 +07:00
Faisal Amir
6780807949 feat: show button save and cancel form when have changes value 2024-01-04 14:39:33 +07:00
Faisal Amir
347e47f1ce feat: finalize UI form new right panel thread 2024-01-04 14:39:33 +07:00
Faisal Amir
590fa67244 feat: finished new UI thread setting pannel 2024-01-04 14:39:33 +07:00
Faisal Amir
2332c4e1d2 feat: change layout thread setting right panel 2024-01-04 14:39:33 +07:00
Louis
566a5a332f
refactor: deprecate the appVersion IPC and use the predefined VERSION from webpack (#1309)
## Description
According to #1287, the web version will be updated accordingly. There is no need to use the electron app version anymore. It's to reduce the IPC dependency and reduce requests.
2024-01-04 11:22:24 +07:00
Louis
051dbcb937
fix: app getting stuck at downloading 99 percent while downloading model (#1320)
Addressed a critical issue where the application would become unresponsive at the 99 percent mark during model download
2024-01-04 11:22:11 +07:00
0xSage
868be41928
fix: Jan twitter url 2024-01-03 12:32:45 +08:00
Gri-ffin
1c38710308 add social media links 2024-01-02 14:05:52 +01:00
hiento09
1d902567f7
Switch from Gigabyte to Gibibyte (#1286)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 14:54:41 +07:00
Faisal Amir
d7b91fc55f feat: added keyboard shortcut list in setting page 2024-01-01 08:39:59 +07:00
Louis
54750ed315
fix: mac users should not see GPU settings (#1255) 2023-12-29 16:45:40 +07:00
Louis
a9579a3cbd
fix: remove redundant gpu detection prompt event (#1254) 2023-12-29 16:37:34 +07:00
hiento09
1ec8174700
Feature GPU detection for Jan on Windows and Linux (#1242)
* Add js function to generate gpu and cuda detection

* inference nitro manage via json file instead of bash and bat script

* Add /usr/lib/x86_64-linux-gnu/ to linux check gpu

* chore: add CPU - GPU toggle

* correct file path

* fix: exist file sync check

* fix: get resources path

* Fix error jan/engines create existed error

* Seting sync to file

* Fix error show notification for GPU

* Set notify default to true

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2023-12-29 15:56:36 +07:00
Louis
7feaf9694d
feat: Deprecate model.json ready state in favor of .download ext (#1238)
* feat: Deprecate model.json ready state in favor of .download ext

* refactor: resolve ts ignore

* chore: fix warning

* fix: path polyfill on Windows
2023-12-28 14:06:13 +07:00
NamH
cbc63da831
fix: #1183 Reveal in finder does not work on windows (#1239)
* fix(OpenFile): #1183 reveal in finder does not work on windows

Signed-off-by: James <james@jan.ai>
---------

Signed-off-by: James <james@jan.ai>
2023-12-28 13:00:20 +07:00
NamH
c580b4c848
feat: add engine settings (#1199)
* feat: add engine settings

Signed-off-by: James <james@jan.ai>
---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-12-28 09:11:37 +07:00
Faisal Amir
959bae3419 fix: remove delay tooltip and click event 2023-12-27 22:32:56 +07:00
Louis
a7f186cc5e
feat: users should be able to switch models mid-thread (#1226)
## Problem
Right now users have to start a new thread to use another model which causes a lot of confusion to our users.

fixes #1201
2023-12-27 15:35:27 +07:00
Faisal Amir
dd0a18ad1d fix: darkmode broken color 2023-12-25 11:28:07 +07:00
0xSage
cf4de3f30f chore: copy fixes 2023-12-22 12:11:09 +08:00
Faisal Amir
c723fb6866 fix: remove remote model from shortcut models dialog 2023-12-21 09:50:40 +07:00
Faisal Amir
88fc0715b2
fix: added tooltip for user cannot change model after starting thread (#1115)
* fix: added tooltip for user cannot change model after starting thread

* fix: typo content tooltip
2023-12-20 15:24:09 +07:00
Faisal Amir
c68d0371a0
fix: model active indicator only show when model activated (#1110) 2023-12-20 14:59:13 +07:00
Louis
e0370210a7
fix: #1096 yield error message upon thread switching (#1109) 2023-12-20 14:58:47 +07:00
NamH
7a148ea025
feat(ModelSetting): #1065 update state of model setting between threads (#1090)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 13:15:15 +07:00
NamH
55ab4ae70f
fix(thread): #1043 default model to prefer active model (#1070)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 10:51:41 +07:00
Louis
d9b0625b17 chore: read and write openai settings 2023-12-15 14:14:59 +07:00
Faisal Amir
48195371e2 fix: prepare add UI input for openai key 2023-12-15 14:14:59 +07:00
Faisal Amir
a83a3d4565 feat: app theme depend on localstorage instead native theme electron 2023-12-14 20:14:44 +07:00
Louis
cb3055ca2e
fix: #995 - Fix onboarding state and model sorting (#1009)
* fix: #995 - Fix onboarding state and model sorting

* fix: typo
2023-12-14 20:11:17 +07:00
Faisal Amir
ef85220910 fix: remove console 2023-12-14 14:44:55 +07:00
Faisal Amir
8e551d0a06 fix: wrong selected model right panel 2023-12-14 14:44:55 +07:00
Faisal Amir
01939afb40 fix: separate model start loader 2023-12-14 13:42:21 +07:00
Louis
f22d7d99a7
chore: add desktop app analytics (#978) 2023-12-13 20:26:47 +07:00
NamH
121dc119f1
feat: adding model params (#886)
* feat: adding model params

Signed-off-by: James <james@jan.ai>

* chore: inference request parameter

* Improve ui right panel model params

* Remove unused import

* Update slider track for darkmode

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2023-12-11 23:58:24 +07:00
Louis
c4d8defe94
refactor: deprecate invokers - auto proxying apis - strict types (#924)
* refactor: deprecate invokers

* refactor: define routes and auto proxying routes

* refactor: declare types for APIs, avoid making dynamic calls to any functions from the web

* chore: deprecate route handling from preload script

* refactor: deprecate unused apis
2023-12-11 13:10:53 +07:00
Faisal Amir
c811ec611e Fix floating border outside card accordion 2023-12-10 15:42:35 +07:00
hiro
4266d86226 fix: Passing model object instead of model id 2023-12-08 23:06:49 +07:00
hiro
a51b206cb8 fix: Add OnModelStopped Event 2023-12-08 23:06:49 +07:00
Louis
489c8584a9 chore: models ref event handler 2023-12-08 23:06:49 +07:00
hiro
1bc5fe64f3 fix: Use Events for init, load, stop models 2023-12-08 23:06:49 +07:00
Faisal Amir
004b7b8a64 bug: fix tag description showing a title and fix card right panel 2023-12-06 16:17:55 +07:00
Louis
9e6fdf8c94
fix/no-assistant-available-fresh-install (#876) 2023-12-06 16:17:10 +07:00
Louis
7656048e64
fix: can not download multiple models at once (#867) 2023-12-06 11:18:05 +07:00