YungLe
d2d4e54b11
Merge remote-tracking branch 'upstream/main' into feat/dataset-api-key-scope
2026-06-17 16:45:13 +09:00
Jingyi
9b74df21d0
feat(web): refine onboarding UI ( #37433 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
Co-authored-by: gigglewang <gigglewang@dify.ai>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
Co-authored-by: chariri <w@chariri.moe>
Co-authored-by: Evan <2869018789@qq.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-06-15 08:47:15 +00:00
yyh
8eb6a19784
refactor: normalize search input and dify-ui focus states ( #37413 )
2026-06-15 01:03:31 +00:00
yyh
ad96501e09
fix(ui): keep loading buttons focusable ( #37383 )
2026-06-12 10:31:33 +00:00
yungle246
be6612f454
feat: allow knowledge base API keys to be scoped to a single dataset
...
Reintroduce the nullable api_tokens.dataset_id column (dropped in 2e9819ca5b28)
so dataset API keys can opt into per-knowledge-base scoping:
- NULL dataset_id keeps today's workspace-wide behavior, so every existing key
and the existing /datasets/api-keys create route are unchanged.
- validate_dataset_token rejects a bound key for any other dataset, and for
endpoints that carry no dataset id (e.g. list-all), with 403.
- CachedApiToken carries dataset_id with a None default so cache entries
written before deploy keep deserializing.
- The per-dataset console routes in apikey.py (previously dead code that 500ed
on a missing ApiToken.dataset_id) now create bound keys; their list returns
bound keys plus workspace keys so the dataset page shows the full access
picture.
- Frontend: the knowledge base API access popover gains an API keys entry; the
secret key modal accepts datasetId, shows a scope column, and offers a
workspace / this-knowledge-base scope choice on create. New strings are
localized for all 23 locales.
2026-06-11 11:41:47 +09:00
Rohit Gahlawat
56b82449fc
refactor(web): mark Props of datasets/ components as read-only ( #25219 ) ( #37300 )
2026-06-11 00:16:21 +00:00
Rohit Gahlawat
366e58bbbb
refactor(web): replace useContext with use() in remaining components ( #25193 ) ( #37254 )
2026-06-10 06:52:41 +00:00
Archie
1c0080be6f
refactor(web): mark Props of datasets/hit-testing components as read-only ( #37118 )
...
Co-authored-by: archievi <13202986+archievi@users.noreply.github.com>
2026-06-06 00:30:26 +00:00
yyh
dea4e66456
fix(web): use generated account-profile contracts ( #36927 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-02 07:28:05 +00:00
yyh
8fc2807194
feat(web): create system-features vertical ( #36894 )
2026-06-01 10:15:25 +00:00
yyh
20f62b9919
fix(web): use generated current workspace query ( #36843 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-31 13:04:18 +00:00
yyh
cee90a4e82
feat(ui): add kbd primitive ( #36729 )
2026-05-27 11:58:13 +00:00
Jingyi
cab215e209
fix(web): add loading skeletons for tools and knowledge lists ( #36712 )
2026-05-27 05:07:40 +00:00
yyh
884e2b864b
feat(dify-ui): add textarea primitive ( #36547 )
2026-05-26 02:33:32 +00:00
yyh
fe86fa31ec
fix: normalize app icon picker dialog state ( #36621 )
2026-05-25 10:39:52 +00:00
yyh
23539c5bcc
feat(dify-ui): add status and progress primitives ( #36615 )
2026-05-25 08:31:52 +00:00
yyh
ffd336cfe8
feat: add and unify pagination components across UI and app surfaces ( #36569 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-25 02:22:31 +00:00
非法操作
473c945839
chore: seprate vector space quota query ( #36514 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-22 09:26:17 +00:00
yyh
a698c60b29
fix(web): stabilize document picker search focus ( #36525 )
2026-05-22 09:24:37 +00:00
yyh
93b7a81071
fix(dify-ui): align form label guidance ( #36510 )
2026-05-22 07:29:57 +00:00
yyh
7f633622aa
fix(web): use popup-open selectors for trigger styles ( #36471 )
2026-05-21 06:13:11 +00:00
yyh
66f5ab4cfc
feat: add dify-ui input primitive ( #36446 )
2026-05-21 03:15:38 +00:00
yyh
9f9cb4d17e
feat(ui): migrate radio to Base UI and update web callsites ( #36451 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-20 12:05:31 +00:00
yyh
5a585c8618
refactor(web): use dropdown data attributes ( #36431 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-20 07:32:11 +00:00
Stephen Zhou
2b2a5824c1
refactor: migrate to tailwind v4 style ( #36417 )
2026-05-20 03:39:44 +00:00
yyh
4b2badb6f2
refactor(web): migrate multi-checkbox lists to CheckboxGroup ( #36381 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-19 07:55:33 +00:00
-LAN-
5468c4ec96
fix: can not create empty knowledge ( #36336 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
2026-05-18 09:41:57 +00:00
yyh
28818f2e2a
fix(web): constrain dialog overflow layouts ( #36302 )
2026-05-18 06:11:58 +00:00
yyh
e2c52c9b0f
refactor: migrate checkbox to dify-ui ( #36295 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-18 05:27:42 +00:00
yyh
6649e4025e
feat(dify-ui): add Checkbox/CheckboxGroup primitives ( #36271 )
2026-05-18 02:01:56 +00:00
zhangxuhe1
cd4d6f8a22
fix(web): migrate metadata picker to combobox ( #36255 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-17 03:35:20 +00:00
Coding On Star
b04a3851cc
refactor: enhance layout and scrolling behavior in various modals for improved user experience ( #36210 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-15 07:17:23 +00:00
yyh
cd90d7ffc1
refactor(web): migrate searchable pickers to combobox ( #36066 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-12 05:34:19 +00:00
yyh
bd0d10ac5c
fix: use infotip for help glyphs ( #36008 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-11 04:23:04 +00:00
yyh
e134c1e0d5
feat(web): improve a11y and remove data-testid ( #35999 )
2026-05-11 03:53:03 +00:00
Coding On Star
e48d7bb097
refactor(web): migrate drawer components to dify-ui and remove legacy drawer implementation ( #35982 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-05-09 16:24:45 +00:00
Coding On Star
8581a68174
refactor(web): drop headless-ui, migrate overlay to dify-ui ( #35963 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-05-09 10:33:25 +00:00
yyh
2bb1f0906b
refactor(web): migrate legacy tooltip callers ( #35961 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-09 05:26:21 +00:00
yyh
8f93bb36ba
feat(dify-ui): add drawer ( #35917 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-08 08:53:32 +00:00
Coding On Star
9331024d91
refactor(web): portal to follow elem migration ( #35892 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-05-07 13:02:11 +00:00
yyh
00bf3f83f2
refactor: verticalize tag management and batch bindings ( #35840 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 01:36:10 +00:00
yyh
8967ff34b3
fix(web): normalize dify-ui overlay control ( #35832 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 07:28:13 +00:00
yyh
03e227f8f1
fix(web): align Tailwind v4 CSS migration ( #35829 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-06 06:20:28 +00:00
yyh
8e2b8168be
refactor(web): migrate HITL overlays to base dialog ( #35792 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-05 08:50:49 +00:00
yyh
1359c03216
refactor(web): migrate legacy tooltip to infotip ( #35774 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-04 13:17:09 +00:00
yyh
88196c186e
refactor(web): workflow hotkeys and history state ( #35736 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-30 09:43:16 +00:00
yyh
fe2f7a8920
refactor(web): migrate short tooltips to dify-ui ( #35715 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-30 03:29:17 +00:00
yyh
0e55dcb297
refactor(web): migrate rich tooltip overlays ( #35675 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-29 06:44:39 +00:00
yyh
28a26f2d59
refactor: improve scrollbar handling in plugin and model selector UI ( #35630 )
2026-04-28 06:09:02 +00:00
yyh
cc4d6db7c8
chore: update dependency catalog ( #35594 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-27 07:29:42 +00:00