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
88ea8b0638
chore: show model name as filename
2025-05-20 22:25:40 +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
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
Faisal Amir
d95439e3f4
chore: update copy
2025-05-20 12:21:30 +07:00
Faisal Amir
ead591d3b8
Merge pull request #5029 from menloresearch/chore/hardware
...
chore: add setting hardware
2025-05-20 11:30:03 +07:00
Faisal Amir
97728734a7
chore: model loading and truncate dropdown assiatant title
2025-05-20 11:29:18 +07:00
Faisal Amir
ba4d1d3c12
chore: fix typo
2025-05-20 10:49:57 +07:00
Faisal Amir
4c50ebfe0a
chore: add setting hardware
2025-05-20 10:43:36 +07:00
vansangpfiev
837d3ab0e3
chore: remove electron nightly/manual ( #5027 )
...
* chore: remove electron nightly/manual
* chore: change nightly pull request branch
2025-05-20 10:22:13 +07:00
Louis
b3a6edb704
chore: reduce state update to prevent glitchy scroll to bottom ( #5026 )
2025-05-20 09:47:40 +07:00
Louis
9047d0df4f
chore: remove unnecessary imports
2025-05-20 09:42:34 +07:00
Faisal Amir
cbad4396cd
Merge pull request #5021 from menloresearch/chore/scroll-bottom-log
...
chore: scroll to bottom when have new log message
2025-05-20 09:33:12 +07:00
Faisal Amir
7d25bcb168
Merge pull request #5022 from menloresearch/chore/appearance-group
...
chore: regroup codeblock setting appearance
2025-05-20 09:33:04 +07:00
Louis
2dac53e9ca
feat: Jan supports multiple assistants ( #5024 )
...
* feat: Jan supports multiple assistants
* chore: persists current assistant to threads.json
* chore: update assistant persistence
* chore: simplify persistence objects
2025-05-20 00:57:26 +07:00
Louis
f6433544af
feat: handle stop streaming message, scroll to bottom and model loads ( #5023 )
2025-05-19 23:32:55 +07:00
Faisal Amir
0cc50531f8
chore: regroup codeblock setting appearance
2025-05-19 23:21:19 +07:00
Faisal Amir
fba7529281
chore: scroll to bottom when have new log message
2025-05-19 23:09:55 +07:00
Faisal Amir
b69a9ceb0f
Merge pull request #5020 from menloresearch/chore/cleanup-assistant
...
chore: add function delete and params type assistant
2025-05-19 22:53:45 +07:00
Louis
28c7e0d105
chore: stream app logs to log window ( #5019 )
...
* chore: stream app logs to log window
* chore: remove unused states
2025-05-19 22:51:37 +07:00
Faisal Amir
afb8ff716a
chore: add functiond delete and params type assistant
2025-05-19 22:47:57 +07:00
Louis
2ae7417e10
feat: add MCP server connection status ( #5018 )
2025-05-19 15:17:19 +07:00
vansangpfiev
90da49f873
chore: add some ts-ignore to make tauri build works ( #5010 )
...
* chore: add some ts-ignore to make build works
* chore: remove tauri build nightly script
* chore: update core package.json
* chore: fix build
* chore: add devtools for tauri beta, nightly
* chore: change transport-sse to transport-sse-server
* chore: comment out dll files
* chore: add ts-ignore
* chore: update nightly CI
2025-05-19 14:49:03 +07:00
Faisal Amir
1507f220e5
chore: cleanup whitespace left panel on thread list
2025-05-19 13:55:46 +07:00
Faisal Amir
42088c44cb
Merge pull request #5016 from menloresearch/chore/switch-component
...
chore: improve switch component offset
2025-05-19 13:15:57 +07:00
Louis
2bc8fccaf0
chore: allow users to enable/disable MCP servers ( #5015 )
2025-05-19 13:15:37 +07:00
Faisal Amir
1ce0480684
chore: improve switch component offset
2025-05-19 13:08:23 +07:00
Faisal Amir
1c81e5a95e
chore: remove lock
2025-05-19 13:00:28 +07:00
Faisal Amir
1435cd3162
chore: add functional use button when download complete
2025-05-19 12:35:18 +07:00
Faisal Amir
53f5729674
chore: update hub progress download, added toaster
2025-05-19 11:17:16 +07:00
Louis
2345ff172d
chore: update model handlers on the new frontend ( #5011 )
...
* chore: provide model handlers to new frontend
* chore: add API server function to the new front end
2025-05-19 10:39:43 +07:00
Louis
74c2c59c90
chore: handle chat functions ( #5009 )
2025-05-18 20:41:10 +07:00