Commit Graph

150 Commits

Author SHA1 Message Date
CodingOnStar
fe0b221354 test(JinaReader): add tests for handling null and undefined limits
- Introduced new test cases to verify that the JinaReader component correctly handles scenarios where the crawl limit is null or undefined, ensuring that the task is not initiated in these cases.
- Refactored existing tests to remove unnecessary promise resolutions, improving clarity and maintainability.
2025-12-29 15:37:01 +08:00
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
Stephen Zhou
6d0e36479b
refactor(i18n): use JSON with flattened key and namespace (#30114)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 14:52:32 +08:00
Coding On Star
4733a70913
Merge branch 'main' into test/plgin-auth 2025-12-29 14:48:21 +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
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
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
yyh
3cbbb06dc4
chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
Maries
02e0fadef7
feat: add editing support for trigger subscriptions (#29957)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 19:15:54 +08:00
CodingOnStar
e85cb76d93 test: add comprehensive tests for plugin authentication components
- Introduced unit tests for the  components, including , , and .
- Implemented tests for rendering, props handling, user interactions, and edge cases.
- Ensured proper integration with mocked API hooks and context providers.
- Enhanced coverage for credential handling and OAuth flows.
2025-12-24 16:39:15 +08:00
Stephen Zhou
1e3823e605
chore: fix type check for i18n (#30058)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-24 16:31:16 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
Stephen Zhou
f2842da397
chore(web): new lint setup (#30020)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-23 16:58:55 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query (#29009) 2025-12-19 17:34:14 +08:00
Stephen Zhou
a26881cb24
refactor: unified cn utils (#29916)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 12:08:34 +08:00
Wu Tianwei
1d1351393a
feat: update RAG recommended plugins hook to accept type parameter (#29735) 2025-12-17 13:48:23 +08:00
Angel98518
c2f2be6b08
fix: oxlint no unused expressions (#29675)
Co-authored-by: daniel <daniel@example.com>
2025-12-16 18:00:04 +08:00
Coding On Star
d942adf3b2
feat: Enhance Amplitude tracking across various components (#29662)
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-15 15:25:10 +08:00
Pleasure1234
b7bdd5920b
fix: add secondary text color to plugin task headers (#29529) 2025-12-15 10:13:59 +08:00
GuanMu
0867c1800b
refactor: simplify plugin task handling and improve UI feedback (#26293) 2025-12-10 13:34:05 +08:00
yyh
2f96374837
perf: optimize marketplace card re-renders with memoization (#29263) 2025-12-08 14:09:03 +08:00
Wu Tianwei
b509661b08
refactor: simplify plugin marketplace link construction in ProviderCard component (#29178) 2025-12-05 13:42:48 +08:00
非法操作
3e5f683e90
feat: dark theme icon support (#28858) 2025-12-04 09:29:00 +08:00
zhsama
31481581e8
refactor: simplify marketplace component structure by removing unused… (#29095) 2025-12-03 21:30:24 +08:00
yyh
2e0c2e8482
refactor/marketplace react query (#29028)
Co-authored-by: zhsama <torvalds@linux.do>
2025-12-03 18:30:20 +08:00
yyh
f8b10c2272
Refactor apps service toward TanStack Query (#29004) 2025-12-02 15:18:33 +08:00
yangzheli
203c2f0456
feat(web): update marketplace description & icon (#28662) 2025-11-26 09:42:09 +08:00
yangzheli
b502d30e77
fix(web): resolve readme-panel display and styling issues (#28658) 2025-11-26 02:21:50 +09:00
非法操作
e1d11681c0
fix: plugin auto update display issues (#28564) 2025-11-24 11:08:40 +08:00
Yessenia-d
ad7fdd18d0
fix: update currentTriggerPlugin check in BasePanel component (#28287) 2025-11-17 17:19:35 +08:00
Yeuoly
b76e17b25d
feat: introduce trigger functionality (#27644)
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
Co-authored-by: Harry <xh001x@hotmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 17:59:37 +08:00
johnny0120
744b287e67
fix: avoid passing empty uniqueIdentifier to InstallFromMarketplace (#27802)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-05 10:22:22 +08:00
crazywoola
c0fc5d98f0
fix: installation_id is missing when in tools page (#27849) 2025-11-05 10:19:12 +08:00
CrabSAMA
95471b1188
fix(ui): fixed the bug about empty placeholder when plugin install successfully (#27780) 2025-11-04 09:35:14 +08:00
Wu Tianwei
4ca7ba000c
refactor: update install status handling in plugin installation process (#27594) 2025-10-29 18:31:02 +08:00
Wu Tianwei
0e62a66cc2
feat: Introduce RAG tool recommendations and refactor related components for improved plugin management (#27259)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-28 10:22:16 +08:00
GuanMu
43bcf40f80
refactor: update installed app component to handle missing params and improve type safety (#27331) 2025-10-27 14:38:58 +08:00
GuanMu
6217c96576
Fix type error (#27152)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-20 19:35:46 +08:00
crazywoola
f0e739be43
fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
GuanMu
8c298b33cd
Fix frontend type error (#27116) 2025-10-20 11:27:18 +08:00
Wu Tianwei
9088f151d9
fix: invalid data source list in plugin refresh hook (#26813) 2025-10-13 11:17:46 +08:00
znn
a90b60c36f
removing horus eye and adding mcp icon (#25323)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-10-10 17:00:03 +08:00
fenglin
294e01a8c1
Fix/tool provider tag internationalization (#26710)
Co-authored-by: qiaofenglin <qiaofenglin@baidu.com>
2025-10-10 15:52:09 +08:00
Asuka Minato
a8746bff30
fix oxlint warnings (#26634) 2025-10-09 09:23:34 +08:00
Wu Tianwei
d9e45a1abe
feat(pipeline): add language support to built-in pipeline templates and update related components (#26124) 2025-09-23 18:18:22 +08:00
Wu Tianwei
87394d2512
fix: enhance model parameter handling with advanced mode support and localization updates (#25963) 2025-09-19 15:47:52 +08:00
zxhlyh
6453fc4973
fix: refresh datasource list after install datasource (#25949) 2025-09-19 11:03:45 +08:00