347 Commits

Author SHA1 Message Date
Lucas
105f244a4b
feat: shared folder refactor (#7948)
* feat: get the shared folder

* feat: add shared_view sql

* feat: persist the shared view data

* feat: support notification

* fix: flutter compile

* feat: add logic, data and presentations

* feat: integrate client-api endpoints

* feat: replace upsert with replace_all for workspace shared views management

* refactor: streamline sharedPages retrieval with extension method

* feat: enhance SharedSidebarBloc with folder notification support and update shared pages management

* feat: implement SharedSection with Bloc integration and new UI components

* chore: update comments

* feat: introduce SharedSectionBloc for managing shared pages with polling and notification support

* refactor: replace AFAccessLevelPB with ShareAccessLevel in shared pages management and extend functionality with new extensions

* chore: rename folder

* feat: add unit tests for SharedSectionBloc and UI components in shared section

* fix: rust fmt

* chore: revert version changes

* fix: cargo clippy

* fix: unit test
2025-05-20 16:37:09 +08:00
Richard Shiue
c634e906ea
chore: implement custom prompt usage metrics (#7923)
* chore: implement custom prompt usage metrics

* chore: bump client-api
2025-05-19 16:07:11 +08:00
Lucas
03d35f8fe1
feat: refactor share menu (#7935)
* chore: update client-api

* chore: integrate share endpoints

* feat: add share repository

* feat: add share events

* feat: integrate rust events

* chore: code refactor

* feat: add share logic

* feat: optimize share_with_user bloc

* feat: share with user widget

* feat: use AFPopover

* feat: add shared user list

* feat: fetch current user

* feat: add shared usert list

* feat: add mock share repo

* feat: update client-api

* feat: add people_with_access and general_access

* fix: flutter analyze

* feat: support share link

* feat: edit access level

* feat: invite guest

* feat: optimize share menu loading perf

* fix: unable to display the share link

* feat: update access role

* feat: support cached network image

* feat: add access level callback

* feat: remove guest access

* fix: popover exclusive issue

* fix: close edit access level popover after editing

* feat: use rust share apis

* chore: rename folder

* test: add widget tests

* test: share with user bloc test

* chore: downgrade to 0.9.3
2025-05-19 15:26:25 +08:00
Nathan.fooo
7e5b243e40
chore: remove unused ai code (#7919) 2025-05-13 00:13:25 +08:00
Nathan.fooo
b4d48a63b9
chore: support multiple source search in chat (#7906)
* chore: support multiple source search in chat

* chore: clippy
2025-05-10 15:28:38 +08:00
Nathan.fooo
c986e414f4
Vault workspace suggested question (#7903)
* chore: return suggested question when ai say i don't know

* chore: new message type

* chore: implement uI

* chore: implement UI

* fix: assertion in local ai chat

* chore: implement UI

* chore: update prompt

* chore: update logs

* chore: add tests

* chore: message id

* fix: local ai page animation issue

* chore: remove debug log

* fix: remove repeated setState

* chore: add test

* chore: test

* fix: compile

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2025-05-09 21:58:23 +08:00
Nathan.fooo
95f9b07ef7
chore: use tanvity as fallback ai search (#7892)
* chore: use tanvity as fallback ai search

* chore: fix test
2025-05-08 00:17:02 +08:00
Nathan.fooo
0f5699571c
chore: filter out space when indexing search (#7882) 2025-05-06 20:49:44 +08:00
Nathan.fooo
53cbd22111
chore: local ai chat with pages (#7881)
* chore: local ai chat with page

* chore: temp

* chore: clippy

* chore: fix ui bugs

* chore: fix ui bugs

* chore: fix view title

* chore: cloud id

* chore: bump server

* chore: bump server
2025-05-06 20:32:10 +08:00
Nathan.fooo
bdac73e934
chore: refactor local ai (#7880)
* chore: refactor local ai

* chore: ios build
2025-05-05 20:27:29 +08:00
Nathan.fooo
20f3116bd9
refactor: Model select (#7875)
* refactor: model select

* refactor: add test

* fix: add source

* fix: add source

* chore: notify all unset source

* chore: fix test
2025-05-02 15:37:40 +08:00
Nathan.fooo
612d652320
feat: support local ai embedding, local ai search, local document content search (#7839)
* chore: generate embeddings

* chore: save embedding

* chore: vec sqlite

* chore: clippy

* chore: init vector

* chore: create vector db

* chore: periodically write embedding

* chore: fix compile

* chore: skip write

* chore: impl search

* fix: test

* fix: stop scheduler

* fix: search

* chore: add test

* chore: update schema

* chore: index all

* chore: index

* chore: search document content

* chore: index document content and title

* chore: index all view

* chore: rename trait

* refactor: remove folder index manager

* chore: index folder changes

* chore: delete folder search

* chore: update logs

* chore: update logs

* chore: search

* chore: add search test

* chore: fmt

* chore: fix test

* chore: fix ios build
2025-05-02 08:21:42 +08:00
Nathan
da47c11070 chore: replace auth type with workspace type 2025-04-24 20:01:41 +08:00
Nathan
7fc2fd56f0 fix: retain cycle 2025-04-23 15:59:53 +08:00
Nathan
db5e4766af chore: fix test 2025-04-22 23:20:15 +08:00
Nathan
514eeb8466 chore: init local ai when switching workspace 2025-04-22 12:16:59 +08:00
Nathan
530e076838 chore: update test 2025-04-22 00:09:43 +08:00
Nathan
4e2990e599 chore: remove local model 2025-04-21 22:02:06 +08:00
Nathan
1356382524 refactor: only notify when user workspaces were changed 2025-04-21 11:41:58 +08:00
Nathan
2ee786f351 chore: update logs 2025-04-20 19:32:52 +08:00
Nathan
92d5690bba chore: pass folder init data 2025-04-20 18:07:02 +08:00
Nathan
fa798f3ecd chore: workspace usage 2025-04-20 15:54:37 +08:00
Nathan
bb5d36402a chore: fix test 2025-04-20 13:35:06 +08:00
Nathan
2c5f41b580 fix: set auth type 2025-04-20 12:47:14 +08:00
Nathan
72fc0cce07 chore: move sql 2025-04-19 22:18:15 +08:00
Nathan
6dac45172e chore: auth type 2025-04-19 15:34:06 +08:00
Nathan
edc5710e32 chore: auth type and remove unused code 2025-04-19 14:00:51 +08:00
Nathan
2dc22004a1 refactor: remove server type 2025-04-18 15:57:33 +08:00
Nathan
0906febe95 refactor: remove server type 2025-04-18 15:48:17 +08:00
Nathan
394ac85c32 refactor: server type name 2025-04-18 15:31:50 +08:00
Nathan
31d8653ba6 refactor: save chat and chat message 2025-04-18 13:34:13 +08:00
Nathan
ac659066c6 chore: return local model 2025-04-17 20:49:24 +08:00
Nathan
13065ac726 chore: add tests 2025-04-17 15:47:17 +08:00
Nathan
af91a72187 chore: select message 2025-04-17 14:07:01 +08:00
Nathan
98b835227e chore: remove unused code 2025-04-17 11:22:14 +08:00
Nathan
c633dd0919 chore: remove unused code 2025-04-17 11:11:54 +08:00
Nathan
77fbf0f8a3 chore: local ai initialize 2025-04-16 21:26:09 +08:00
Nathan
c89f33e2f8 chore: remove unused code 2025-04-16 20:59:25 +08:00
Nathan
4d172761ce chore: search with ai summary 2025-04-14 10:36:42 +08:00
Nathan
6886261692 chore: ensure path 2025-04-08 20:49:15 +08:00
Nathan
efb98d28ef chore: rename data path 2025-04-08 15:53:34 +08:00
Nathan
0286678286 chore: clippy 2025-04-08 10:30:48 +08:00
Nathan
4896d7c1be chore: enable sync log by default 2025-04-07 22:04:32 +08:00
Nathan
20bcdd1f90 chore: fmt 2025-04-07 21:28:48 +08:00
Nathan
91397c963a chore: clippy 2025-04-07 19:34:26 +08:00
Nathan
995b773c74 chore: replace str with uuid 2025-04-07 19:24:58 +08:00
Nathan
671e855b0e Merge branch 'main' into mcp_protocol 2025-03-28 16:27:19 +08:00
Nathan
7456c65799 chore: clippy 2025-03-27 20:54:48 +08:00
Nathan
ccb020e885 chore: bump lai 2025-03-27 14:19:27 +08:00
Nathan
949556e2fa chore: remove tauri feature 2025-03-24 12:03:42 +08:00