42 Commits

Author SHA1 Message Date
Faisal Amir
39cdd638d4 Add icon collapsible left panel and update keyboard shortcut page 2024-01-08 13:48:11 +07:00
Faisal Amir
73566e3907 fix copy on shortcut view 2024-01-08 10:20:55 +07:00
Faisal Amir
548203c8aa Resolve conflict 2024-01-08 10:20:55 +07:00
Faisal Amir
a3dd868722 make cmd shortcut list always show on bottom bar 2024-01-08 10:20:55 +07:00
Faisal Amir
e38e9c7e45 feat: allow user click badge cmd shortcut my model and update copy 2024-01-08 10:20:55 +07:00
NamH
82ffcd06f1
feat(UI): #1404 make left side bar collapsible by hot key (#1420)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-08 09:26:03 +07:00
NamH
9ca6487183
chore: clean up use os hook (#1418)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-07 13:16:56 +07:00
Faisal Amir
aecef0df5a chore: move social media from left panel into footer 2024-01-04 14:43:36 +07:00
Faisal Amir
c81f301b6c revert social media link 2024-01-04 14:39:33 +07:00
Louis
f97fdaed30 chore: stop model accordingly on settings changes 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
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
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
Faisal Amir
d7b91fc55f feat: added keyboard shortcut list in setting page 2024-01-01 08:39:59 +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
Faisal Amir
dd0a18ad1d fix: darkmode broken color 2023-12-25 11:28:07 +07:00
Faisal Amir
c723fb6866 fix: remove remote model from shortcut models dialog 2023-12-21 09:50:40 +07:00
Faisal Amir
c68d0371a0
fix: model active indicator only show when model activated (#1110) 2023-12-20 14:59:13 +07:00
Faisal Amir
a83a3d4565 feat: app theme depend on localstorage instead native theme electron 2023-12-14 20:14:44 +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
9e6fdf8c94
fix/no-assistant-available-fresh-install (#876) 2023-12-06 16:17:10 +07:00
Faisal Amir
424b00338e
feat: revamp thread screen (#802)
* Make thread screen as default screen

* Blank state when user have not any model

* Cleanup topbar thread screen

* Improve style right panel

* Add instructions right panel

* Styling thread list history

* Resolve conflict

* Default title new thread

* Fix trigger panel sidebar

* Make default right panel false when no activethread

* Fix CI test

* chore: assistant instruction with system prompt

* Fix title and blank state explore the hub

* Claenup style thread screen and add buble message for assitant

* Remove unused import

* Styling more menus on thread list and right panel, and make max height textarea 400 pixel

* Finished revamp ui thread

* Finished system monitor UI

* Style box running models

* Make animate right panel more smooth

* Add status arround textarea for starting model info

* Temporary disable hide left panel

* chore: system resource monitoring update

* copy nits

* chore: typo

* Reverse icon chevron accordion

* Move my models into setting page

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: 0xSage <n@pragmatic.vc>
2023-12-04 10:55:47 +07:00
NamH
1bf4c1b621
feat: pre-populate Jan's /models folder (#796)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-01 18:03:51 +07:00
Louis
1143bd3846
refactor: jan extensions (#799)
* refactor: rename plugin to extension
2023-12-01 11:30:29 +07:00
NamH
86e693b250
refactor: model plugin to follow new specs (#682)
* refactor: model plugin to follow new specs

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

* chore: rebase main

chore: rebase main

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-11-29 11:36:59 +07:00
Louis
1407c22f29 fix: cancel download does not work 2023-11-28 15:06:36 +07:00
Louis
0ffc81e0f8
chore: bumb nitro version (#740)
* chore: take out experimental feature and bump nitro version

* chore: update inference module to use nitro 0.1.17
2023-11-28 10:36:17 +07:00
Faisal Amir
ff01a6e7ed fix bug filter the list menu from command and make a symbol base on OS 2023-11-25 19:58:19 +07:00
Louis
db17ec81cc fix: incorrect update progress bar visibility check 2023-11-24 13:26:07 +07:00
Faisal Amir
cc68e42415 Fix title screen should not camel case 2023-11-20 09:36:16 +07:00
NamH
52d56a8ae1
refactor: move file to jan root (#598)
* feat: move necessary files to jan root

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

* chore: check model dir

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-11-16 12:09:09 +07:00
Faisal Amir
21a616e838 Download modal should truncate model name 2023-11-12 22:21:39 +07:00
Faisal Amir
b752595554 Add loader buble chat 2023-11-09 23:07:01 +07:00
Faisal Amir
ac1c7018d8 Update convo state when user change model 2023-11-09 12:39:27 +07:00
Faisal Amir
2394c13065
ui: standalone UIKit and refactor (#557)
* Eslint import order

* Initial Uikit

* Rename file with camelCase

* Remove unused code

* Remove unused code

* Set position traficlight mac

* Grouping Ribbon, Topbar and Bottombar as layout

* Added image brand

* Moving feature toggle into context folder

* Fix active state of setting menu

* Cleanup downloadModel atom helper

* Cleanup useGetConfigureModel

* Added wave animation

* Create useMainViewState intead of import helper atom

* Remove unused code

* Take a back switch ui

* Toggle using switch component

* Add dynamic primary color

* Cleanup import

* Added uikit scroll area

* Add best practice form

* Added toaster container

* Fix loader container

* Add hooks useDownloadState

* Added tooltip on ribbon menu

* Added case user multiple download model

* Adjust input style with bigger ring

* Restyle my model screen

* Replace useStartStop model with useActiveModel

* Import icon using Icon name

* Fix missing login loading start and stop model

* WIP integrate with cmdk

* Move layout search bar on middle of app

* Added function cancel download

* Cleanup model explore

* Cleanup unused code

* Move app version in bototmbar or footer

* WIP chat screen

* WIP chat screen

* Cleanup style and remove unsed code

* Added command for showing downloaded model

* Fix missing keyframe loader dot animation

* Conditional loader of plugin setting

* WIP history list message

* chore: rebase main

* Adding script ui into root package

* Fix different version react hooks form

* Add close toaster

* Added status model active or not on list of command

* Conditional showing info if user don't have a model

* Disabled toolbar chat when user not yet have convo

* chore: fix state

* fix: get resource atom

* Fix conditional bottom bar

* fix: model download state

* Fix font

* Improve icon my model

* Add toaster delete chat

* Remove test classname

* Fix scroll chat body

* Fix scrolling chat body

* chore: add message update

* Add uikit into depedencies on root package

* Update chat flow

* Fix hot reload ui changes

* Increate background color chat screen light mode

* Added visual conversation active state

* Added build:uikit on gh actions

* chore: attempt to fix CI

* fix: deps

* fix: tests

* chore: attempt to fix CI

---------

Co-authored-by: Louis <louis@jan.ai>
2023-11-07 21:27:11 +07:00
Faisal Amir
539b467141
ui: interface revamp (#429)
* feat: adding create bot functionality

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

* update the temperature progress bar

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

* WIP baselayout

* Mapping plugins with available preferences

* Added loader component

* WIP working another screen

* Cleanup types and avoid import one by one

* Prepare bottom bar

* Add css variables colors to enable user select the accent

* Enable change accent color

* Seperate css variable

* Fix conflict

* Add blank state of my model empty

* Restyle explore models page

* Enable user config left sidebar

* Restyle my models page

* WIP styling chat page

* Restyling chat message

* Fix conflict

* Adde form preferences setting plugins

* Fixed form bot info

* Sidebar bot chat

* Showing rightbar for both setting when user created bot

* Fix style bot info

* Using overflow auto intead of scroll

* Remove script built UI from root package

* Fix missig import

* Resolve error linter

* fix e2e tests

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-24 10:59:12 +07:00