183 Commits

Author SHA1 Message Date
Faisal Amir
852ea84cd8
epic: Jan with new UI/UX (#4964)
* chore: initial new FE setup

* chore: update namespace text-left-panel foreground variable

* chore: enable dynamic mainview color

* chore: remove greetings new chat

* chore: fix chat input style

* chore: simplify hook useAppearance

* chore: enable internationalization

* chore: prepare vn locale

* chore: keyboardshortcut layout

* chore: update keyboard shortcut exclude pathname

* chore: update state active setting route

* chore: fix update theme by system

* chore: handle dynamic primary color

* chore: fix left panel navigation active state and styled item privacy analytic

* chore: reorder general setting being a first

* chore: add function reset appearance

* chore: update scrollbar

* chore: update delete thread with dialog confirmation

* chore: update state dialog inside dropdown menu

* chore: wip thread detail or chat page

* chore: wip model dropdown

* chore: prepare model dropdown select

* chore: update model providers setting

* chore: show provider on model dropdown based isActive toogle

* chore: update layout model provider

* chore: update state active on storage

* chore: update gap of item dropdown model

* chore: update select model base on id

* chore: update edit model capabilities

* chore: add dialog to add model

* chore: update sheet for model setting

* chore: add sheet setting each model

* chore: make dynamic syntax highlight

* chore: fix menu setting appearance theme

* chore: markdown render support emoji

* chore: markdown support latex

* chore: change codeblock default theme

* chore: update ui codeblock

* chore: custom render link taget new window

* chore: fix copy button codeblock

* chore: update accent and desctructive color

* chore: setup user chat message

* chore: prepare some page settings

* chore: simple list extension and prepare mcp, local api, and hardware

* chore: mcp-serve

* chore: MCP server UI

* chore: update local api server config

* chore: adjust chat input

* chore: update local api server log

* chore: prepare hub page

* chore: remove help page

* chore: update mock

* chore: prepare http proxy setting UI

* chore: adjust local api server and title every action

* fix: chore FE package (#4962)

* fix: update command which referred to non-existent web app

* fix: added commented out macos platform for now

* fix: remove the platform name as macos

* fix: remove unnecessary line for platform name in HeaderPage component

* fix: update dev script to specify port 3000 for Vite

* feat: model providers and chat completion

* enhancement: threads performance

* fix: thread content update

* chore: clean up threads

* fix: performance issue with streaming and state loop

* fix: streaming

* fix: react markdow

* feat: extension manager

* chore: add nodePolyfills include path

* chore: improve performance avoid unhandle rejection

* chore: update pre margin bottom

* chore: swith thread should be deafult scroll to bottom

* chore: wip scroll to bottom

* chore: add model loader

* chore: add platform utils

* feat: threads functionality

* chore: setup toaster

* chore: persist threads deletion

* fix: create thread with new message

* chore: create new thread should change route path

* chore: navigate after delet dialog thread

* chore: thread favorites and orders

* chore: dismiss deleting modal on delete

* chore: remove undefined properties

* chore: remove deprecated run step

* chore: fix delete thread

* chore: create empty thread content on started streaming

* chore: correct messages store key

* chore: stuck at generating state

* chore: preapre chat toolbar

* chore: introduce in-memory app state

* chore: update extensions migration logic

* chore: remove redundant extensions migration gate

* chore: message toolbar user and assistant

* chore: add logo gemini

* feat: remote providers with model capabilities

* chore: maintain provider settings

* chore: move speed token into chat input

* chore: temp harcoded model loader

* chore: make chat text selectable and truncate model list

* chore: update shortcut UI

* Feat/implement threads (#4977)

* chore: add fuse.js library for enhanced search functionality

* feat: implement thread filtering with Fuse.js for improved search capabilities

* fix: update the fuseOptions

* feat: add search functionality to LeftPanel and refactor thread retrieval logic

* refactor: optimize thread filtering and improve search functionality in LeftPanel

* fix: more edits

* refactor: remove duplicate import of useAppState in StreamingContent component

* chore: update navigate after delete all thread

* chore: pass prop speedToken from new chat input

* chore: persist provider general settings

* chore: styling search left panel

* chore: cleanup margin

* chore: update size icon

* chore: improve chat input

* chore: imprve list markdown

* chore: animate border

* feat: local model provider work

* chore: persist manually added model

* chore: prepare download management ui and show version on general setting

* chore: improve pre tag

* chore: remove buton install extension and improve light theme download

* chore: add missing hardware information handler

* chore: cleanup small ui

* chore: update default provider settings

* fix: missing fs commands

* chore: correct provider models

* chore: prepare delete model

* chore: handle thinking block

* chore: fix conditional message toolbar

* chore: pophover download select none

* enhancement: add prune mode

* chore: model settings

* chore: bump engine version tauri

* chore: update style thinking

* chore: add indicator and toogle mcp server

* chore: wip hub

* chore: update model settings

* chore: mvp hub

* chore: add function rename title

* chore: update function delete message

* chore: update rename title

* chore: update model settings

* chore: persist MCP configs

* refactor: clean up utils

* chore: add tools to completion request

* chore: clean up

* chore: ignore assets

---------

Co-authored-by: Ivan Leo <ivanleomk@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2025-05-15 19:38:59 +07:00
Louis
5c88cedaf0
enhancement: automatically update MCP tool list UI on server change (#4940)
* enhancement: automatically update MCP tool list UI on server change

* enhancement: tool call block fit content
2025-05-15 17:10:58 +07:00
Louis
89c095094f
chore: simplify assistant name 2025-05-15 17:10:57 +07:00
Louis
7edb987cbd
fix: glitchy UI when hover last message 2025-05-15 17:10:57 +07:00
Louis
a81b644a8f
enhancement: tool call block should be wrapped in a collapsible scroll area 2025-05-15 17:10:56 +07:00
Louis
1630e2eb77
feat: allow users to enable and disable tools 2025-05-15 17:10:56 +07:00
Louis
5e80587138
chore: button css 2025-05-15 17:10:56 +07:00
Louis
e1995a3ccb
feat: permission dialog for tool call requests 2025-05-15 17:10:56 +07:00
Louis
c4ae61dd75
fix: tool outputs are gone after switching to another thread 2025-05-15 17:10:54 +07:00
Louis
19146fec6a
feat: restart MCP servers to reflect config updates (#4917) 2025-05-15 17:10:54 +07:00
Faisal Amir
c0b9e8eb77
chore: update UI mcp settings 2025-05-15 17:10:53 +07:00
Louis
6f53f1056a
refactor: Jan manages threads for a better performance (#4912)
* refactor: Jan manages threads for a better performance

* test: add tests
2025-05-15 17:10:52 +07:00
Louis
ea88b27593
Merge pull request #4900 from menloresearch/feat/jan-ui-with-tool-use
feat: jan UI with Tool use UX
2025-05-15 17:10:51 +07:00
Lại Tuấn Anh
bcc9f74607
fix: use more appropriate html tag for 'ModelDropdown' trigger and 'Settings' button (#4841) 2025-03-31 14:39:48 +07:00
Faisal Amir
a7c3cbec55 fix: table markdown 2025-03-11 15:57:19 +07:00
Faisal Amir
3bf88a3da1 chore: fix linter 2025-03-11 11:01:13 +07:00
Faisal Amir
8844046b19 fix: hub UI issue render readme 2025-03-11 11:00:47 +07:00
Faisal Amir
abfbb2616c
fix: image preview overlap toolbar message (#4790) 2025-03-10 16:36:30 +07:00
Louis
455d320d35
fix: engine version update - cortex version bump - update tests (#4787) 2025-03-10 13:26:48 +07:00
Faisal Amir
c79c10c96b
fix: list space styled and hidden message toolbar when editmode (#4773) 2025-03-03 20:42:07 +07:00
Louis
7d7d343de1
fix: first message padding is off 2025-02-28 21:23:11 +07:00
Faisal Amir
b4ba76aa71
chore: handle list number and disc readme hgf (#4756)
* chore: handle list number and disc readme hgf

* chore: fix space hover message toolbar

* chore: handle reset state filter hub revamp
2025-02-28 09:49:08 +07:00
Faisal Amir
250d30d73a
chore: hub UI tooltip filter, max model size and search result (#4753)
* chore: fix hub ui tooltip, max-filter, and search result

* chore: fix linter
2025-02-27 15:31:11 +07:00
Louis
d7329c7719
chore: remove hard coded recommendation models and use cortexso featured tags (#4741)
* chore: remove hard coded recommendation models and use cortexso featured tags

* chore: polish model detail page

* chore: fix test
2025-02-26 15:54:06 +07:00
Louis
916b28044d
fix: onboarding screen should show persisted cloud providers (#4738) 2025-02-26 14:29:36 +07:00
Faisal Amir
053604ec28
fix: chat body scrollbar (#4737)
* fix: chat body scrollbar

* chore: update lock file

* fix: remove PluggableList
2025-02-26 13:23:03 +07:00
Faisal Amir
a4368cf26e
enhancement: improve chat thread (#4736)
* enhancement: improve chat thread

* chore: fix linter

* fix: linter

* chore: fix linter

* fix: chore failed test
2025-02-26 09:42:31 +07:00
Faisal Amir
51f8c96a57
chore: update hub UI (#4734)
* chore: update hub ui based feedback

* chore: update hub ui

* chore: code block ui

* chore: update bg color

* chore: decrease margin codeblock
2025-02-25 14:37:15 +07:00
Louis
b990b259bc
refactor: clean up legacy predefined models (#4730)
* refactor: clean up legacy predefined models

* chore: fix onboarding filtered models
2025-02-25 12:40:37 +07:00
Faisal Amir
2ea8083ad7
enhancement: scrollbar setting options (#4726)
* enhancement: scrollbar setting options

* chore: fix linter
2025-02-25 09:37:04 +07:00
Louis
81fea5665b
chore: enhance onboarding screen's models (#4723)
* chore: enhance onboarding screen's models

* chore: lint fix

* chore: correct lint fix command

* chore: fix tests
2025-02-25 09:36:55 +07:00
Louis
60257635ad
fix: should not select vulkan by default when there are Nvidia GPUs detected (#4720) 2025-02-24 18:51:22 +07:00
Louis
cddaf61c99
feat: preserve token speed in the thread (#4711)
* feat: preserve token speed in the thread

* chore: lint fix
2025-02-21 00:45:11 +07:00
Louis
046e8d5094
chore: Hub UI and markdown CSS 2025-02-19 15:20:59 +07:00
Louis
7d5aa46eef
chore: lint fix 2025-02-18 18:18:38 +07:00
Louis
dc06a07c71
Merge branch 'release/v0.5.15' into chore/sync-release-to-dev
# Conflicts:
#	extensions/engine-management-extension/rolldown.config.mjs
#	extensions/inference-cortex-extension/bin/version.txt
#	extensions/yarn.lock
#	web/containers/Layout/BottomPanel/SystemMonitor/index.tsx
#	web/containers/ModelDropdown/index.tsx
#	web/containers/ModelLabel/ModelLabel.test.tsx
#	web/screens/Settings/HuggingFaceRepoDetailModal/ModelDownloadRow/index.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/MarkdownTextMessage.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx
#	yarn.lock
2025-02-18 16:33:58 +07:00
Faisal Amir
9aed6523ea
fix: link open new window inside chat message (#4651)
* fix: link open new window inside chat message

* chore: fix linter
2025-02-14 22:29:02 +07:00
Louis
b8743cfb50
fix: messages re-render on different threads (#4638) 2025-02-12 16:32:10 +07:00
Louis
8419973d5e
chore: open URL from model detail page should open in an external browser (#4611)
* chore: open URL from model detail page should open in an external browser

* chore: remove unused param
2025-02-09 14:23:54 +07:00
Faisal Amir
a9a63ab5d9
fix: server log actions position (#4608)
* fix: sever log actions position

* chore: unused import
2025-02-09 13:07:08 +07:00
Faisal Amir
9837d09756
fix: load model error component (#4604)
* fix: load model error should using error component

* chore: fix linter issue
2025-02-07 22:18:21 +07:00
Faisal Amir
e99cbd9e5c
enhancement: code snippet color and bakground should depend on native theme (#4566) 2025-02-04 19:12:08 +07:00
Faisal Amir
f8557c78d5
fix: think content render as markdown (#4564)
* fix: think content render as markdown

* chore: fix linter issue failed on CI
2025-02-04 14:54:21 +07:00
Faisal Amir
899f01d5c4
enhancement: update ui uploading files and images (#4562) 2025-02-03 20:36:19 +07:00
Faisal Amir
043284f51e
chore: reasoning block (#4551)
* chore: reasoning text block

* chore: update interface support all theme

* chore: update failed test

* chore: update state collapsed based on message index

* fix: use reserve_id instead of message index

* chore: clean up

* chore: fix loading indicator

---------

Co-authored-by: Louis <louis@jan.ai>
2025-02-01 22:22:45 +07:00
Louis
83f090826e
feat: Jan Hub Revamp (#4491)
* feat: model hub revamp UI

* chore: model description - consistent markdown css

* chore: add model versions dropdown

* chore: integrate APIs - model sources

* chore: update model display name

* chore: lint fix

* chore: page transition animation

* feat: model search dropdown - deeplink

* chore: bump cortex version

* chore: add remote model sources

* chore: model download state

* chore: fix model metadata label

* chore: polish model detail page markdown

* test: fix test cases

* chore: initialize default Hub model sources

* chore: fix model stats

* chore: clean up click outside and inside hooks

* feat: change hub banner

* chore: lint fix

* chore: fix css long model id
2025-01-28 22:23:25 +07:00
Faisal Amir
65c9bb9fe1
enhancement: update app layout with system monitor open (#4528) 2025-01-28 12:33:03 +07:00
Louis
a8cac58355
chore: refactor - clean out useEngines - mutate swr to update 2025-01-17 12:43:35 +07:00
Louis
f328c357da
fix: remote engine revamp issues 2025-01-17 11:32:13 +07:00
Louis
1affa5a144
fix: app crashes on select cloud model first time onboarding 2025-01-16 19:59:22 +07:00