4919 Commits

Author SHA1 Message Date
Faisal Amir
aba75a7d2c
fix: allow dialog triggered by tooltip (#5066) 2025-05-22 15:52:29 +07:00
Faisal Amir
d3c6d7cfaa
enhancement: wrap long line codeblock (#5069) 2025-05-22 15:52:17 +07:00
Faisal Amir
12ad61aaa8
enhancement: show assistant info on message (#5064) 2025-05-22 14:45:58 +07:00
vansangpfiev
2d7d731a76
chore: wildcard for connect-src (#5048)
* chore: wildcard for connect-source

* chore: stricter list of connect-src

* chore: update tauri.conf.json

* chore: update font-src
2025-05-22 14:16:24 +07:00
vansangpfiev
e43b109291
fix: tauri updater (#5051)
* fix: updater

* chore: sync latest nightly

* chore: ignore electron updater config

* chore: upload signatures

* chore: update connect-src

* chore: add log

* chore: correct path macos s3

* fix: close cortex before restarting

* chore: clean

* chore: comment

* Revert "chore: update connect-src"

This reverts commit a592845c0b5293c121fb17671c14bb1f9958bf00.

* chore: update lastest.yml

* chore: cleanup

* chore: stop uploading yml for electron

* chore: linux workflow
2025-05-22 14:16:10 +07:00
Faisal Amir
dde4e97d8b
enhance: setup screen redirect to hub (#5061) 2025-05-22 11:55:34 +07:00
Faisal Amir
434abaaca6
chore: app updater UI (#5054)
* chore: initial app updater UI and download management enhance

* chore: revert package version

* chore: update conditional app updater

* chore: remove console

* chore: add utils isDev

* chore: close popup when user click download

* revert yarn lock
2025-05-22 11:54:06 +07:00
Faisal Amir
a7d2e72313
enhancement: disabled config when server is running (#5058) 2025-05-22 11:07:14 +07:00
Faisal Amir
fab8f0a9c9
Merge pull request #5059 from menloresearch/enhancement/hub-left-panel-collapse
enhancement: update layout hub when left panel collapse
2025-05-22 11:04:21 +07:00
Faisal Amir
bd0d2a5cec
Merge pull request #5057 from menloresearch/feat/assistant-emoji
feat: add assistant emoji picker
2025-05-22 10:56:01 +07:00
Faisal Amir
6a6ccc9a9e
Merge pull request #5055 from menloresearch/enhancement/message-toolbar
enhancement: message toolbar using tooltip
2025-05-22 10:55:28 +07:00
Faisal Amir
81e88f6632
Merge pull request #5060 from menloresearch/feat/app-logs
feat: initial app logs
2025-05-22 10:54:09 +07:00
Faisal Amir
0622106f8e chore: update routes log 2025-05-22 00:51:30 +07:00
Faisal Amir
0c73035b3c feat: initial app logs 2025-05-22 00:46:28 +07:00
Faisal Amir
661e907784 enhancement: update layout hub when left panel collapse 2025-05-22 00:14:16 +07:00
Faisal Amir
80cfd57dbd chore: cleanup unused code 2025-05-21 23:52:30 +07:00
Faisal Amir
974f7901e6 feat: add assistant emoji picker 2025-05-21 23:45:49 +07:00
David
d06526a97e
Merge pull request #5056 from menloresearch/4853-release-jan-v0517
chore: update Jan change logs v0.5.17
2025-05-21 23:14:50 +07:00
David
58f6b061a8 chore: update Jan change logs v0.5.17
chore: update Jan change logs v0.5.17
2025-05-21 23:11:37 +07:00
Faisal Amir
2e5795945b chore: fix slice default model 2025-05-21 22:38:19 +07:00
Faisal Amir
fa1a71cc01 chore: copy update 2025-05-21 22:38:19 +07:00
Faisal Amir
9d5e670344 enhancement: message toolbar using tooltip 2025-05-21 22:38:19 +07:00
Sam Hoang Van
ad962c2cf6
feat(webapp): Replace Fuse.js with Fzf for thread search and enhance highlighting (#5052)
This commit replaces Fuse.js with Fzf for client-side thread searching
within the web application, offering potentially improved performance and
a different fuzzy matching algorithm.

Key changes include:

- Updated `package.json` to remove `fuse.js` and add `fzf`.
- Refactored `useThreads.ts` hook:
    - Replaced Fuse.js instantiation and search logic with Fzf.
    - Integrated a new `highlightFzfMatch` utility to return thread
      titles with HTML highlighting for matched characters.
- Created `utils/highlight.ts` for the `highlightFzfMatch` function.
- Updated `ThreadList.tsx`:
    - Renders highlighted thread titles using `dangerouslySetInnerHTML`.
    - Ensures the rename functionality uses and edits a plain text
      version of the title, stripping any highlight tags.
- Updated `index.css`:
    - Modified the `.search-highlight` class to use `font-bold` and
      `color-mix(in srgb, currentColor 80%, white 20%)` for a
      subtly brighter text effect on highlighted matches, replacing
      previous styling.

This provides a more robust search experience with clear visual feedback
for matched terms in the thread list.
2025-05-21 22:31:01 +07:00
Louis
0627f29059
chore: enable / disable proxy configrations (#5050)
* chore: enable / disable proxy configrations

* Update web-app/src/routes/settings/https-proxy.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update web-app/src/lib/completion.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-21 14:18:25 +07:00
Faisal Amir
a7e4037449
Merge pull request #5049 from menloresearch/chore/system-monitor
chore: intial new window system monitor
2025-05-21 13:30:37 +07:00
Faisal Amir
afab839733 chore: seperate function onclick 2025-05-21 12:47:06 +07:00
Sam Hoang Van
4b77548eb9
Fix/thread sorted and drag drop (#5046)
Modified the `onDragEnd` handler in `ThreadList.tsx` to use the complete global thread list from the `useThreads` store. This resolves a bug where dragging and dropping threads could lead to items disappearing from "Favorites" or "Recents" sections by ensuring the reordering logic operates on the full dataset.

Additionally, the default `order: 1` initialization for new threads in `useThreads.ts` and `services/threads.ts` has been commented out this make thread sorted by newest to oldest
2025-05-21 12:42:29 +07:00
Faisal Amir
2812a8978a chore: intial new window system monitor 2025-05-21 12:27:54 +07:00
Louis
6676e0ced8
chore: add relocate jan data folder function to new FE (#5043)
* chore: typo

* fix: linter issues

* chore: fix linter

* chore: fix linter

* chore: add relocate data folder
2025-05-21 10:48:10 +07:00
Faisal Amir
e4168a4c17
Merge pull request #5044 from menloresearch/chore/chat-input-inline-message
chore: add inline message chat input
2025-05-20 23:45:26 +07:00
Faisal Amir
b0a55d63f0
Merge pull request #5045 from menloresearch/chore/import-model-filename
chore: show model name as filename
2025-05-20 23:45:18 +07:00
ethanova
abe265ac71
make the model selector popup responsive and wider for bigger screens (#5025)
* make the model selector popup responsive and wider for bigger screens

* fix linting issue

* use vscode config files to recommend prettier plugin and use it to auto format on save

---------

Co-authored-by: Ethan Garber <ethancgarber@gmail.com>
2025-05-20 22:54:47 +07:00
Faisal Amir
88ea8b0638 chore: show model name as filename 2025-05-20 22:25:40 +07:00
Louis
e8ca7f3c1b
chore: Jan's code is now under the Apache license (#5042) 2025-05-20 22:18:59 +07:00
Faisal Amir
c0cef78ef2 chore: add inline message chat input 2025-05-20 21:36:19 +07:00
Louis
81c4dc516b
chore: handle hardware settings (#5041)
* chore: handle hardware settings

* chore: activate GPUs

* Update web-app/src/services/hardware.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-20 20:05:47 +07:00
Faisal Amir
3e887deb3e
Merge pull request #5038 from menloresearch/chore/import-model 2025-05-20 19:12:19 +07:00
David
22298f46a3
Merge pull request #5030 from samhvw8/fix/type-rename-thread
fix: type rename thread
2025-05-20 17:36:22 +07:00
Faisal Amir
c54e8c80b6 chore: model import from llama.cpp provider 2025-05-20 15:48:45 +07:00
vansangpfiev
9fe4dbdb3d
fix: windows installer (#5037) 2025-05-20 15:42:22 +07:00
sam hoang
06ba2f178b chore: update dialog title from "Rename Title" to "Rename Thread" 2025-05-20 14:45:44 +07:00
Faisal Amir
c4d32c72d1
Merge pull request #5035 from menloresearch/chore/data-folder
chore: show location data folder and ui for let user change folder
2025-05-20 14:42:21 +07:00
Faisal Amir
421c24bf4b
Merge pull request #5036 from menloresearch/chore/auto-focus-chat-input
chore: fix auto focus chat input
2025-05-20 14:42:14 +07:00
Louis
d5393e4563
feat: add custom OpenAI provider (#5033)
* feat: add custom OpenAI provider

* chore: add HF token setting

* chore: move HF token setting to llama.cpp provider - later deprecate model extension
2025-05-20 14:30:51 +07:00
Faisal Amir
adc90167d4 chore: fix auto focus chat input 2025-05-20 14:29:44 +07:00
Faisal Amir
4adaeed3da chore: show location data folder and prepare ui for let user change folder 2025-05-20 14:10:49 +07:00
Louis
46943a1cf7
chore: token speed and edit message (#5031)
* chore: add token speed measurement

* chore: add edit message handler

* chore: add DialogClose wrapper around save button
2025-05-20 14:09:25 +07:00
Faisal Amir
76827d42f5
Merge pull request #5032 from menloresearch/chore/model-loading
chore: model loading and truncate dropdown assiatant title
2025-05-20 12:44:51 +07:00
vansangpfiev
d70e20ae0a
chore: enable test on PR to release branch (#5028)
* chore: enable test on PR to release branch

* chore: disable coverage check

* chore: remove verbose build
2025-05-20 12:34:08 +07:00
Faisal Amir
d95439e3f4 chore: update copy 2025-05-20 12:21:30 +07:00