CodingOnStar
b58a482475
refactor(plugin-tasks): consolidate plugin task components and improve state management
...
- Removed redundant components and consolidated logic for handling plugin tasks.
- Updated the rendering logic to directly manage plugin states within the main component.
- Enhanced the modal handling for clearing tasks and displaying statuses.
- Improved the overall structure and readability of the code by eliminating unnecessary files and simplifying the component hierarchy.
2025-12-29 15:30:13 +08:00
Coding On Star
4733a70913
Merge branch 'main' into test/plgin-auth
2025-12-29 14:48:21 +08:00
yyh
09be869f58
refactor(web): drop swr and migrate share/chat hooks to tanstack query ( #30232 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-12-29 14:04:01 +08:00
DevByteAI
0b1439fee4
fix(template-transform): use base64 encoding for Jinja2 templates to fix #26818 ( #30223 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-29 13:03:39 +08:00
Bowen Liang
dfd2dd5c68
build: update github actions ( #30106 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-29 11:26:34 +08:00
yyh
3ae7788933
refactor(query-state): migrate query param state management to nuqs ( #30184 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-29 11:24:54 +08:00
yyh
446df6b50d
fix(web): rollback React Scan dynamic import ( #30294 )
2025-12-29 10:40:56 +08:00
Shemol
d9cecabe93
fix: release graph_runtime_state reference to prevent memory leak under high load ( #30236 )
...
Signed-off-by: SherlockShemol <shemol@163.com>
2025-12-29 10:35:47 +08:00
lif
b71a0d3f04
fix(web): handle null/undefined message in log list ( #30253 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-29 10:34:20 +08:00
Will
d546d525b4
feat: MCP tool adds support for embeddedResource ( #30261 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-29 10:15:47 +08:00
Stephen Zhou
a46dc2f37e
chore(sdk/nodejs): update deps ( #30291 )
2025-12-29 10:13:19 +08:00
wangxiaolei
8b38e3f79d
feat: document batch operation tool add re-index operation ( #30275 )
2025-12-29 10:03:15 +08:00
非法操作
44ab8a3376
fix: Workflow Start node optional enum parameter is treated as required ( #30287 )
2025-12-29 10:02:40 +08:00
yyh
1e86535c4a
refactor(web): Migrate to Unified TanStack Devtools ( #30279 )
2025-12-29 09:43:44 +08:00
dependabot[bot]
5b1c08c19c
chore(deps): bump json-repair from 0.54.1 to 0.54.3 in /api ( #30285 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 09:42:24 +08:00
dependabot[bot]
6202c566e9
chore(deps): bump scheduler from 0.26.0 to 0.27.0 in /web ( #30284 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 09:42:17 +08:00
NeatGuyCoding
a00ac1b5b1
fix(api): fix credential type handling and rebuild subscription transaction safety ( #30242 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-12-28 20:29:35 +08:00
wangxiaolei
bf56c2e9db
fix: fix custom tool content is not update ( #30250 )
2025-12-28 17:50:30 +08:00
yyh
543ce38a6c
chore(claude-code): migrate from legacy MCP configuration to official plugin system ( #30265 )
2025-12-28 17:48:55 +08:00
NeatGuyCoding
1f2c85c916
fix: wrong usage of redis lock ( #28177 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
2025-12-28 13:47:54 +08:00
Maries
2b01f85d61
fix: consolidate duplicate InvokeRateLimitError definitions ( #30229 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 03:03:42 +09:00
Novice
d8010a7fbc
fix: Add JSON RPC request type guard ( #30216 )
2025-12-28 03:02:46 +09:00
Sara Rasool
b067ad2f0a
chore(web): remove unused dev-preview page ( #30226 )
...
Co-authored-by: Dev <dev@Devs-MacBook-Pro-4.local>
2025-12-28 03:01:57 +09:00
Wu Tianwei
b85564cae5
fix: remove unused CSS styles and fix HitTestingPage layout ( #30235 )
2025-12-28 03:00:30 +09:00
Shemol
c393d7a2dc
test(web): add unit tests for Avatar component ( #30201 )
2025-12-27 10:07:10 +08:00
Jyong
f610f6895f
fix: retrieval test and knowledge retrieval node failed in multimodal mode ( #30210 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-26 21:42:06 +08:00
wangxiaolei
d20a8d5b77
fix: fix missing not in ( #30207 )
2025-12-26 16:52:34 +08:00
wangxiaolei
8611301722
fix: fix DatasetRetrieval._process_metadata_filter_func miss in operator ( #30199 )
2025-12-26 16:34:50 +08:00
Xiyuan Chen
6044f0666a
fix: use query param for delete method ( #30206 )
2025-12-26 00:34:35 -08:00
Joel
8d26e6ab28
chore: some tests for components ( #30194 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-26 14:36:24 +08:00
wangxiaolei
61d255a6e6
chore: bypass InsufficientPrivilege on Azure PostgreSQL ( #30191 )
2025-12-26 14:35:05 +08:00
CodingOnStar
16cdf381dc
feat: implement plugin task management UI and tests
...
- Added a new component to manage and display plugin tasks, including running, success, and error states.
- Created separate components for rendering sections of running, success, and error plugins.
- Introduced a component for handling task interactions with visual indicators.
- Implemented a custom hook to manage the state and logic of the plugin task panel.
- Added comprehensive tests for the new components and their interactions, ensuring proper rendering and functionality across various states.
2025-12-26 14:18:05 +08:00
Coding On Star
51b293aeb3
Merge branch 'main' into test/plgin-auth
2025-12-26 11:12:20 +08:00
CodingOnStar
e42627289d
test: enhance JinaReader component tests
...
- Updated tests to handle promise resolution for task creation and status checking, preventing act() warnings.
- Removed redundant tests for null and undefined limits, streamlining the test suite.
- Improved assertions to ensure proper rendering and state updates during API interactions.
2025-12-26 11:11:25 +08:00
Asuka Minato
f0d02b4b91
refactor: split changes for api/controllers/console/explore/message.py ( #29890 )
2025-12-26 11:02:12 +08:00
Asuka Minato
d100354851
refactor: split changes for api/controllers/console/explore/saved_mes… ( #29889 )
2025-12-26 11:00:31 +08:00
Asuka Minato
93d1b2fc32
refactor: split changes for api/controllers/console/workspace/load_ba… ( #29887 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-26 11:00:03 +08:00
zhaobingshuang
fa1009b938
fix(dataset): dataset tags service_api error "Dataset not found" ( #30028 )
...
Co-authored-by: zbs <zbs@cailian.onaliyun.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-26 10:55:42 +08:00
wangxiaolei
fd64156f9d
feat: allow config NEXT_PUBLIC_BATCH_CONCURRENCY ( #30086 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 10:49:10 +08:00
wangxiaolei
bdd8a35b9d
feat: add mcp tool display directly ( #30019 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 10:41:10 +08:00
wangxiaolei
b892906d71
fix: fix metadata filter not survive a rename ( #30174 )
2025-12-26 10:40:30 +08:00
Asuka Minato
7e06225ce2
refactor: part of remove all reqparser ( #29847 )
2025-12-25 19:57:07 +08:00
Pleasure1234
f08d847c20
fix: add transparent border to prevent button size flickering ( #30128 )
2025-12-25 19:50:21 +08:00
lif
44fc0c614c
fix(web): correct deleted tools matching to use provider_id instead of id ( #30138 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-25 19:49:26 +08:00
Joel
0f3ffbee2c
chore: some test ( #30148 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-25 19:45:27 +08:00
Stephen Zhou
08d5eee993
fix: load i18n on server ( #30171 )
2025-12-25 19:13:59 +08:00
wangxiaolei
9885e92854
fix: validate first then save to db ( #30107 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-25 19:36:52 +09:00
Coding On Star
f2555b0bb1
feat(refactoring): introduce comprehensive guidelines and tools for component refactoring in Dify ( #30162 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-25 18:19:28 +08:00
CodingOnStar
38e5955760
test: improve unit tests for plugin authentication components
...
- Updated tests for the transformFormSchemasSecretInput function to clarify handling of null and numeric values.
- Added a data-testid to the AddOAuthButton for more reliable selection in tests.
- Refactored tests for AddOAuthButton to use the new data-testid for clicking the settings button.
- Enhanced assertions in ApiKeyModal and OAuthClientSettings tests to ensure proper API call handling during validation and state updates.
2025-12-25 17:52:45 +08:00
CodingOnStar
289d752565
test: enhance unit tests for plugin components
...
- Added comprehensive tests for the plugin authentication and management components, including PluginItem, FilterManagement, and PluginList.
- Implemented tests for rendering, props handling, user interactions, and edge cases.
- Ensured proper integration with mocked API hooks and context providers.
- Improved coverage for various plugin states and filter functionalities.
2025-12-25 17:27:54 +08:00