yungle246
fdeef63c45
test(web): add useDatasetScopedApiKeys to develop-page-flow mock
...
DevelopMain renders the SecretKeyModal, which now calls
useDatasetScopedApiKeys; the use-dataset mock in this flow test was
missing that export, causing the modal to throw at render.
2026-06-21 00:12:31 +09:00
yungle246
1edffca717
Merge remote-tracking branch 'upstream/main' into feat/dataset-api-key-scope
...
# Conflicts:
# web/app/components/datasets/extra-info/api-access/__tests__/card.spec.tsx
# web/app/components/datasets/extra-info/api-access/card.tsx
# web/app/components/develop/secret-key/secret-key-modal.tsx
2026-06-20 03:16:09 +09:00
Wu Tianwei
33edf97f81
feat: RBAC ( #37107 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
Co-authored-by: Charles Yao <chongbinyao33@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Jingyi <jingyi.qi@dify.ai>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
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: chariri <w@chariri.moe>
Co-authored-by: Evan <2869018789@qq.com>
Co-authored-by: zyssyz123 <916125788@qq.com>
2026-06-18 16:35:29 +00:00
yungle246
940686b731
fix: resolve CI failures after merging main
...
- Migration: rebase dataset_id migration onto current head (d2f1a4b8c3e0)
instead of 7bad07dc267d, which had become a second head after upstream
merged 0b2f2c8a9d1e; restores a single Alembic head.
- Integration test: capture dataset ids into locals before the commit that
expires the instances, fixing a DetachedInstanceError in
test_list_excludes_keys_bound_to_other_datasets.
- Web test: add the new useDatasetScopedApiKeys export to the use-dataset mock
in api-key-management-flow.test.tsx (SecretKeyModal now calls it).
2026-06-18 14:20:18 +09: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
Coding On Star
210710e76d
refactor(web): extract custom hooks from complex components and add comprehensive tests ( #32301 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-13 17:21:34 +08:00
Coding On Star
bfdc39510b
test: add unit and integration tests for share, develop, and goto-anything modules ( #32246 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:05:43 +08:00