Commit Graph

28 Commits

Author SHA1 Message Date
BiggerRain
ff7721d17f feat: add selection toolbar window for mac (#980)
* feat: add selection window page

* fix: chat input

* feat: add selection page

* chore: add

* chore: test

* feat: add

* feat: add store

* feat: add selection settings

* chore: remove unused code

* docs: add release note

* docs: add release note

* chore: format code

* chore: format code

* fix: copy error

* disable hashbrown default feature

* Enable unstable feature allocator_api

To make coco-app compile in CI:

```
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.15.5/src/raw/mod.rs:3856:12
     |
3856 | impl<T, A: Allocator> RawIntoIter<T, A> {
     |            ^^^^^^^^^
     |
     = note: see issue #32838 <https://github.com/rust-lang/rust/issues/32838> for more information
     = help: add `#![feature(allocator_api)]` to the crate attributes to enable
     = note: this compiler was built on 2025-06-25; consider upgrading it if it is out of date
```

I don't know why it does not compile, feature `allocator-api2` is
enabled for `hashbrown 0.15.5`, so technically [1] it should not use the
allocator APIs from the std. According to [2], enabling the `nightly`
feature of `allocator-api2` may cause this issue as well, but it is not
enabled in our case either.

Anyway, enabling `#![feature(allocator_api)]` should make it work.

[1]: b751eef8e9/src/raw/alloc.rs (L26-L47)
[2]: https://github.com/rust-lang/hashbrown/issues/564

* put it in main.rs

* format main.rs

* Enable default-features for hashbrown 0.15.5

* format main.rs

* enable feature allocator-api2

* feat: add selection set config

* fix: selection setting

* fix: ci error

* fix: ci error

* fix: ci error

* fix: ci error

* merge: merge main

* fix: rust code warn

* fix: rust code error

* fix: rust code error

* fix: selection settings

* style: selection styles

* style: selection styles

---------

Co-authored-by: Steve Lau <stevelauc@outlook.com>
2025-11-27 10:12:49 +08:00
SteveLauC
783cb73b29 feat: deeplink handler for install ext from store (#860)
Co-authored-by: rain9 <15911122312@163.com>
Co-authored-by: ayang <473033518@qq.com>
2025-08-05 18:08:00 +08:00
BiggerRain
f1dfc5c730 fixed: chat message confusion (#782)
* fix: chat

* fix: chat

* chore: add session id

* fix: fixed incorrect taskbar icon display on linux (#783)

* fix: fixed incorrect taskbar icon display on linux

* docs: update changelog

* fix: fix data inconsistency issue on secondary pages (#784)

* chore: chat

* chore: chat

* chore: add logging message

* chore: chat

* chore: chat

* chore: add

* feat: add

* chore: chat end

* style: message width

---------

Co-authored-by: ayangweb <75017711+ayangweb@users.noreply.github.com>
Co-authored-by: medcl <m@medcl.net>
2025-07-21 21:17:20 +08:00
BiggerRain
e3a3849fa4 chore: search-chat components add formatUrl & think data & icons url (#765)
* chore: web components add formatUrl & think data

* chore: add headers

* chore: add

* chhore: add server url

* docs: update notes

* chore: url

* docs: search chat docs
2025-07-17 09:22:23 +08:00
BiggerRain
4d11afe18e chore: assistant params & styles (#753)
* chore: add

* chore: add

* chore: assistant params & styles

* docs: update notes
2025-07-10 11:47:10 +08:00
BiggerRain
5b27488402 refactor: adjusted assistant, datasource, mcp_server interface parameters (#746)
* chore: handle mcp interface parameters

* docs: update notes

* chore: remove code

* chore: assistant params

* fix: assistant params

* docs: update notes
2025-07-10 09:48:42 +08:00
BiggerRain
91c9cd5725 fix: show only enabled datasource & MCP list (#523)
* fix: show only enabled datasource & MCP list

* docs: update notes

* fix: show only enabled datasource & MCP list
2025-05-17 12:01:18 +08:00
BiggerRain
e088f5dcbe fix: active shadow setting (#354)
* chore: active shadow setting

* chore: add isTauri

* chore: web build

* docs: update notes
2025-04-11 14:17:42 +08:00
BiggerRain
57b2a20c56 fix: load app & web utils (#337) 2025-04-08 15:24:12 +08:00
BiggerRain
e15baef8f9 refactor: web components (#331)
* refactor: web components

* chore: web component

* chore: web

* chore: web

* docs: update notes
2025-04-07 11:19:09 +08:00
BiggerRain
ef1304ce5e feat: add web pages (#277)
* feat: add web pages

* feat: add web page

* refactor: search page

* feat: add tsup build web componet

* chore: update timeout time

* build: build web page

* build: build search chat

* chore: add web page

* docs: update release note
2025-03-17 16:24:18 +08:00
BiggerRain
b444dc35ae refactor: chat components (#273)
* refactor: chat components

* refactor: chat components

* docs: update release notes

* docs: update release notes

* chore: history reload
2025-03-11 11:02:30 +08:00
BiggerRain
58ce845fd2 fix: dataSourceList all & login async (#258) 2025-03-07 12:11:29 +08:00
BiggerRain
e92884b4a8 chore: new chat message (#215)
* chore: chat message

* chore: new chat id

* chore: chat message

* chore: notify on weboskcer error

---------

Co-authored-by: medcl <m@medcl.net>
2025-02-26 22:37:21 +08:00
BiggerRain
74af718249 fix: chat lag (#151)
* fix: chat lag

* chore: update translation

* fix: console log

* fix: chat error

* feat: add time out & greetings

---------

Co-authored-by: medcl <m@medcl.net>
2025-02-19 17:23:49 +08:00
BiggerRain
37d395bde2 refactor: search list (#150)
* refactor: search list

* feat: add virtual scrolling to the list
2025-02-19 11:19:15 +08:00
BiggerRain
0844970a1f fix: setup & build error (#147) 2025-02-18 11:51:50 +08:00
BiggerRain
e9ec1be42f feat: add locales switch (#144)
* feat: add locales

* feat: add locales

* feat: add listen language
2025-02-18 09:40:00 +08:00
BiggerRain
cb4f1ac4b1 feat: add categories and icons (#107)
* feat: add search data type

* feat: add search store

* feat: search result add category

* chore: UI adjustments

* chore: UI adjustments

* chore: add css duration

* feat: add type icon & add categories

* feat: add doc click open url

* chore: remove debug

* chore: optimize page details
2025-01-21 19:37:15 +08:00
BiggerRain
6e39e25d72 feat: add login page (#93)
* feat: add signIn

* feat: add connect service

* feat: add login page
2025-01-08 16:51:05 +08:00
BiggerRain
de74cb7c7e fix: opening duplicate windows (#88)
* feat: add login page

* fix: opening duplicate windows

* chore: vscode settings
2025-01-06 18:22:35 +08:00
BiggerRain
e2dfda9f1d fix: Esc key failure issue & removing unused code related to the tauri-nspanel plugin & introduct the server variable name (#85)
* fix: Esc key failure issue

* feat: add env

* chore: modify the environment variable name

* chore: modify websocket id  name

* chore: remove tauri-nspanel
2025-01-06 10:50:44 +08:00
BiggerRain
9215ae060e feat: add new UI about no-data page (#80)
* feat: new UI redesign

* feat: add new ui no-data page
2025-01-02 14:41:54 +08:00
BiggerRain
75e27a9ec9 fix: keydown error & listen focus (#73) 2024-12-26 10:08:55 +08:00
BiggerRain
dd2260a9e0 feat: add keyboard events and tooltip (#61) 2024-12-20 18:53:41 +08:00
tu6ge
00a9650a15 Adapt to Windows (#51)
* feat: remove tauri-nspanel plugin

* chore: auto formatter rust code

* feat(windows): shortcut support windows

* doc: note windows error

* feat(linux): shortcut support linux

* fix: remove open_devtools code

* wip: emit open_settings event on all os

* feat: support autostart with settings

* doc: close autostart

* wip: open settings distinguish window or other os
2024-12-14 15:38:32 +08:00
BiggerRain
5d96aef14b add startup & hotkey (#45)
* feat: add startup

* feat: add hotkey switch
2024-12-11 09:07:27 +08:00
BiggerRain
15a3949aec feat: add web config (#42) 2024-12-10 13:38:31 +08:00