41 Commits

Author SHA1 Message Date
Louis
f97fdaed30 chore: stop model accordingly on settings changes 2024-01-04 14:39:33 +07:00
Faisal Amir
49d5703ac3 bring back tooltip each params setting 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
bf9cd4443c feat: disable send button and show tooltip when user have changes value on setting panel 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
Gri-ffin
32a82ad565 Enable scrolling in the message chat box 2024-01-02 10:28:01 +07:00
Louis
8757d4d086
fix: input message duplicated due with some input sources (#1259) 2023-12-30 10:04:12 +07:00
Faisal Amir
dd0a18ad1d fix: darkmode broken color 2023-12-25 11:28:07 +07:00
Louis
a485fa9c1f
fix: handle chat completion state with enter button (#1114) 2023-12-20 14:59:40 +07:00
NamH
84fb5ef346
fix(Thread): #1042 allow create new thread by clicking Use in Jan Hub (#1103)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-19 17:06:57 +07:00
Faisal Amir
87facacb9a fix: autoresize chatbox textarea 2023-12-19 10:52:22 +07:00
Faisal Amir
4f41dab9b5 feat: move stop inference button into the send button 2023-12-14 16:40:51 +07:00
Faisal Amir
01939afb40 fix: separate model start loader 2023-12-14 13:42:21 +07:00
Faisal Amir
c17a4fec6e feat: fake loader when starting model 2023-12-14 13:42:21 +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
Faisal Amir
3aa58cee62 Finished flow hub screen 2023-12-04 22:48:36 +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
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
0xSage
1f59d7b167 chore: updated copy grammar 2023-11-28 18:15:36 +08: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
Louis
d74698a448
fix: error when switching between threads (#736)
* fix: error when switching between threads

* chore: fix model loading state
2023-11-27 16:02:41 +07:00
Louis
26bd092f03 chore: Add a "clean option" to remove conversation messages while keeping system message 2023-11-27 11:30:06 +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
Faisal Amir
62400243e0 Fix clickable small download button on chat screen 2023-11-25 19:57:25 +07:00
Louis
38b2e5e7a2 refactor: entities references & logics 2023-11-16 22:57:28 +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
Louis
df6e9802f6
fix: wrong model available state check 2023-11-14 20:04:49 +07:00
Faisal Amir
dcc2b466d7 Using some function instead filter 2023-11-13 15:41:36 +07:00
Faisal Amir
bad29b8a4a Added downloadedModels as dependecies useEffect 2023-11-13 15:41:36 +07:00
Faisal Amir
2dc0b0b3ea Fix conditional class 2023-11-13 15:41:36 +07:00
Faisal Amir
d6c463674d Resolve reduce a rendering performance 2023-11-13 15:41:36 +07:00
Faisal Amir
5a197f1e73 Enable download conversation after deleted model 2023-11-13 15:41:36 +07:00
Faisal Amir
ef3d89f33e suppoer multiple line input using textarea instead 2023-11-12 22:20:58 +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
f4d390cb4f Improve state of welcome screen 2023-11-08 08:43:21 +07:00
Louis
7e7f5e0dc4
chore: fixed an issue where app does not yield message result (#561) 2023-11-07 22:23:43 +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
28c969759f Move new conversation sticky to top 2023-10-30 22:41:42 +07:00
Faisal Amir
6ea8eb1d50 Showing a modal when user start conf but model not active 2023-10-26 15:45:23 +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