zhsama
d69e7eb12a
fix: Fix variable insertion to only remove @ trigger on current line
2026-01-20 01:32:42 +08:00
zhsama
4b91969d0f
refactor: Refactor keyboard navigation in agent and variable lists
2026-01-20 00:41:23 +08:00
zhsama
92c54d3c9d
feat: merge app and meta defaults when creating workflow nodes
2026-01-19 23:56:15 +08:00
yyh
bc9ce23fdc
refactor(skill): rename components for semantic clarity
...
Rename components and reorganize directory structure:
- skill-doc-editor.tsx → file-content-panel.tsx (handles edit/preview/download)
- editor-area.tsx → content-area.tsx
- editor-body.tsx → content-body.tsx
- editor-tabs.tsx → file-tabs.tsx
- editor-tab-item.tsx → file-tab-item.tsx
Create viewer/ directory for non-editor components:
- Move media-file-preview.tsx from editor/ to viewer/
- Move unsupported-file-download.tsx from editor/ to viewer/
This clarifies the distinction between:
- editor/: actual file editors (code, markdown)
- viewer/: preview and download components (media, unsupported files)
2026-01-19 23:50:08 +08:00
yyh
cab33d440b
refactor(skill): remove Office file special handling, merge into unsupported
...
Remove the Office file placeholder that only showed "Preview will be
supported in a future update" without any download option. Office files
(pdf, doc, docx, xls, xlsx, ppt, pptx) now fall through to the generic
"unsupported file" handler which provides a download button.
Removed:
- OfficeFilePlaceholder component
- isOfficeFile function and OFFICE_EXTENSIONS constant
- isOffice flag from useFileTypeInfo hook
- i18n keys for officePlaceholder
This simplifies the file type handling to just three categories:
- Editable: markdown, code, text files → editor
- Previewable: image, video files → media preview
- Everything else: download button
2026-01-19 23:39:32 +08:00
zhsama
267de1861d
perf: reduce input lag in variable pickers
2026-01-19 23:35:45 +08:00
yyh
b3793b0198
fix(skill): use download URL for all non-editable files
...
Change useSkillFileData to use isEditable instead of isMediaFile:
- Editable files (markdown, code, text) fetch file content for editing
- Non-editable files (image, video, office, unsupported) fetch download URL
This fixes the download button for unsupported files which was incorrectly
using file content (UTF-8 decoded garbage) instead of the presigned URL.
2026-01-19 23:34:56 +08:00
yyh
8486c675c8
refactor(skill): extract hooks from skill-doc-editor for better separation
...
Extract business logic into dedicated hooks to reduce component complexity:
- useFileTypeInfo: file type detection (markdown, code, image, video, etc.)
- useSkillFileData: data fetching with conditional API calls
- useSkillFileSave: save logic with Ctrl+S keyboard shortcut
Also fix Vercel best practice: use ternary instead of && for conditional rendering.
2026-01-19 23:25:48 +08:00
zhsama
5e49b27dba
Merge branch 'zhsama/panel-var-popup' into feat/pull-a-variable
2026-01-19 23:15:01 +08:00
yyh
b6df7b3afe
fix(skill): use presigned URL for image/video preview in skill editor
...
Previously, media files were fetched via getFileContent API which decodes
binary data as UTF-8, resulting in corrupted strings that cannot be used
as img/video src. Now media files use getFileDownloadUrl API to get a
presigned URL, enabling proper preview of images and videos of any size.
2026-01-19 23:15:00 +08:00
zhsama
6f74a66c8a
feat: enable typeahead filtering and keyboard navigation
2026-01-19 23:12:08 +08:00
yyh
31a7db2657
refactor(skill): unify root/blank constants and eliminate magic strings
...
- Add constants.ts with ROOT_ID, CONTEXT_MENU_TYPE, NODE_MENU_TYPE
- Add root utilities to tree-utils.ts (isRootId, toApiParentId, etc.)
- Replace '__root__' with ROOT_ID for consistent root identifier
- Replace inline 'blank'/'root' strings with constants
- Use NodeMenuType for type-safe menu type props
- Remove duplicate ContextMenuType from types.ts, use from constants.ts
2026-01-19 23:07:49 +08:00
zhsama
68fd7c021c
feat: Remove allowGraphActions check from retry and error panels
2026-01-19 23:07:32 +08:00
zhsama
e1e64ae430
feat: code node output initialization and agent placeholder1
2026-01-19 23:06:08 +08:00
yyh
9080607028
refactor(skill): unify tree selection with VSCode-style single state
...
Remove redundant createTargetNodeId and use selectedTreeNodeId for both
visual highlight and creation target. This simplifies the state management
by having a single source of truth for tree selection, similar to VSCode's
file explorer behavior where both files and folders can be selected.
2026-01-19 22:36:04 +08:00
zhsama
6e9a5139b4
chore: Remove sonarjs ESLint suppressions and reformat code
2026-01-19 22:31:04 +08:00
zhsama
f44305af0d
feat: add AssembleVariablesAlt icon and integrate into sub-graph
...
components.
2026-01-19 22:31:04 +08:00
yyh
ff210a98db
feat(skill): add placeholder for inline tree node input
...
Display localized placeholder text ("File name" / "Folder name") when
creating new files or folders in the skill editor file tree.
2026-01-19 22:01:31 +08:00
hjlarry
e36ee54a16
fix web style
2026-01-19 21:44:26 +08:00
hjlarry
cb8fc9cf2d
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-01-19 21:15:53 +08:00
hjlarry
aaa3d2d74f
add unittests
2026-01-19 21:11:44 +08:00
yyh
9f444f1f6a
refactor(skill): split file operations hook and extract TreeNodeIcon component
...
Split use-file-operations.ts (248 lines) into smaller focused hooks:
- use-create-operations.ts for file/folder creation and upload
- use-modify-operations.ts for rename and delete operations
- use-file-operations.ts now serves as orchestrator maintaining backward compatibility
Extract TreeNodeIcon component from tree-node.tsx for cleaner separation of concerns.
Add brief comments to drag hooks explaining their purpose and relationships.
2026-01-19 19:13:09 +08:00
Joel
49effca35d
fix: auto default
2026-01-19 18:41:05 +08:00
yyh
fb28f03155
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-19 18:37:48 +08:00
Joel
2afc4704ad
chore: add limit to tool param auto
2026-01-19 18:35:57 +08:00
yyh
7756c151ed
feat: add VSCode-style blink animation before folder auto-expand
...
When dragging files over a closed folder, the highlight now blinks
during the second half of the 2-second hover period to signal that
the folder is about to expand. This provides better visual feedback
similar to VSCode's drag-and-drop behavior.
2026-01-19 18:35:26 +08:00
Joel
83c458d2fe
chore: change tool setting copywriting and ts promble
2026-01-19 18:27:33 +08:00
yyh
fc49592769
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-19 18:07:15 +08:00
Joel
6643569efc
fix: tool can not auth modal
2026-01-19 18:06:23 +08:00
yyh
fe0ea13f70
perf: parallelize file uploads and add consistent drag validation
...
Use Promise.all for concurrent file uploads instead of sequential
processing, improving upload performance for multiple files. Also
add isFileDrag check to handleFolderDragOver for consistency with
other drag handlers.
2026-01-19 18:05:59 +08:00
yyh
144ca11c03
refactor file drop handlers into hooks
2026-01-19 18:05:58 +08:00
yyh
a432fa5fcf
feat: add external file drag-and-drop upload to file tree
...
Enable users to drag files from their system directly into the file tree
to upload them. Files can be dropped on the tree container (uploads to root)
or on specific folders. Hovering over a closed folder for 2 seconds auto-
expands it. Uses Zustand for drag state management instead of React Context
for better performance.
2026-01-19 18:05:58 +08:00
hjlarry
805bb7c468
fix node in panel sync
2026-01-19 18:01:43 +08:00
Joel
4b67008dba
fix: not blank not render tool correct
2026-01-19 17:01:32 +08:00
Joel
f4b683aa2f
fix: no blank not render file write
2026-01-19 17:01:32 +08:00
yyh
7de6ecdedf
fix: lint
2026-01-19 16:35:50 +08:00
Joel
bd070857ed
fix: fold indent style
2026-01-19 16:34:46 +08:00
Joel
eae82b1085
chore: remove sync from left panel tree
2026-01-19 16:11:10 +08:00
Joel
f9fd234cf8
feat: support expand the selected file struct
2026-01-19 15:38:43 +08:00
Joel
1dfee05b7e
fix: view file popup place error
2026-01-19 15:25:57 +08:00
zhsama
066d18df7a
Merge branch 'main' into feat/pull-a-variable
2026-01-19 15:00:15 +08:00
zhsama
06f6ded20f
fix: Fix assemble variables insertion in prompt editor
2026-01-19 14:59:08 +08:00
Joel
3a775fc2bf
feat: support choose folders and files
2026-01-19 14:47:57 +08:00
yyh
0d5e971a0c
fix(skill): pass root nodeId for blank-area context menu
...
The previous refactor inadvertently passed undefined nodeId for blank
area menus, causing root-level folder creation/upload to fail. This
restores the original behavior by explicitly passing 'root' when the
context menu type is 'blank'.
2026-01-19 14:23:38 +08:00
yyh
9aed4f830f
refactor(skill): merge BlankAreaMenu into NodeMenu
...
Consolidate menu components by extending NodeMenu to support a 'root'
type, eliminating the redundant BlankAreaMenu component. This reduces
code duplication and simplifies the context menu logic by storing
isFolder in the context menu state instead of re-querying tree data.
2026-01-19 14:22:25 +08:00
yyh
5947e04226
feat: decouple create target from tab selection
2026-01-19 14:09:37 +08:00
yyh
611ff05bde
feat: sync tree selection with active tab
2026-01-19 14:05:46 +08:00
yyh
0e890e5692
feat: auto pin created editable files
2026-01-19 13:51:08 +08:00
hjlarry
995d5ccf66
fix graph not sync
2026-01-19 13:45:00 +08:00
yyh
6584dc2480
feat: inline create nodes in skill file tree
2026-01-19 13:43:29 +08:00
yyh
021f055c36
feat(skill-editor): add blank area context menu and align search/add styles
...
Add right-click context menu for file tree blank area with New File,
New Folder, and Upload Files options. Also align search input and
add button styles to match Figma design specs (24px height, 6px radius).
2026-01-19 11:38:59 +08:00
yyh
f481947b0d
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-19 10:38:36 +08:00
yyh
e8397ae7a8
fix(web): Zustand testing best practices and state read optimization ( #31163 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-19 10:31:34 +08:00
hjlarry
511df81201
fix web style
2026-01-18 13:40:12 +08:00
yyh
2f081fa6fa
refactor(skill-editor): adopt 4-generic StateCreator pattern for type-safe cross-slice access
...
Use explicit StateCreator<FullStore, [], [], SliceType> pattern instead of
StateCreator<SliceType> for all skill-editor slices. This enables:
- Type-safe cross-slice state access via get()
- Explicit type contracts instead of relying on spread args behavior
- Better maintainability following Lobe-chat's proven pattern
Extract all type definitions to types.ts to avoid circular dependencies.
2026-01-18 13:24:34 +08:00
yyh
3b27d9e819
refactor(skill-editor): remove type assertions by using spread args pattern
...
Replace explicit parameter destructuring with spread args pattern to
eliminate `as unknown as` type assertions when composing sub-slices.
This aligns with the pattern used in the main workflow store.
2026-01-18 13:11:06 +08:00
hjlarry
4200ac0da3
fix CI
2026-01-17 22:58:27 +08:00
hjlarry
434f7f3bcb
fix web style
2026-01-17 22:10:10 +08:00
yyh
c0a76220dd
fix(skill-editor): resolve React Compiler memoization warnings
...
Consolidate file type derivations into a single useMemo with stable
dependencies (currentFileNode?.name and currentFileNode?.extension)
to help React Compiler track stability.
Extract originalContent as a separate variable to avoid property access
in useCallback dependencies, which caused Compiler to infer broader
dependencies than specified.
2026-01-17 22:01:33 +08:00
yyh
9d04fb4992
fix(skill-editor): resolve React Compiler memoization warnings
...
Wrap isEditable in useMemo to help React Compiler track its stability
and preserve memoization for callbacks that depend on it. Also replace
Record<string, any> with Record<string, unknown> to satisfy no-explicit-any.
2026-01-17 21:51:25 +08:00
yyh
02fcf33067
fix(skill-editor): remove unnecessary store subscriptions in tool-picker-block
...
Move activeTabId and fileMetadata reads from selector subscriptions to
getState() calls inside the callback. These values were only used in the
insertTools callback, not for rendering, causing unnecessary re-renders
when they changed.
2026-01-17 21:47:31 +08:00
hjlarry
2d94904241
fix web unittests
2026-01-17 19:43:40 +08:00
yyh
bbf1247f80
fix(skill-editor): compare content with original to determine dirty state
...
Previously, any edit would mark the file as dirty even if the content
was restored to its original state. Now we compare against the original
content and clear the dirty flag when they match.
2026-01-17 17:52:00 +08:00
yyh
b82b73ef94
refactor(skill-editor): split slice into separate files for better organization
...
Split the monolithic skill-editor-slice.ts into a dedicated directory with
individual slice files (tab, file-tree, dirty, metadata, file-operations-menu)
to improve maintainability and code organization.
2026-01-17 17:28:25 +08:00
hjlarry
91e6ae2a7d
fix bug
2026-01-17 14:53:33 +08:00
hjlarry
bb3d94f1c5
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-01-17 12:24:37 +08:00
hjlarry
fc291e4ca2
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-01-17 10:22:41 +08:00
zhsama
0c62c39a1d
Merge branch 'zhsama/assemble-var-input' into feat/pull-a-variable
2026-01-16 18:54:53 +08:00
zhsama
8d643e4b85
feat: add assemble variables icon
2026-01-16 18:45:28 +08:00
Joel
d542a74733
feat: panel ui
2026-01-16 18:39:13 +08:00
zhsama
77401e6f5c
feat: optimize variable picker styling and optimize agent nodes
2026-01-16 18:21:43 +08:00
Joel
8b42435f7a
feat: support set default value when choose tool
2026-01-16 18:16:01 +08:00
Joel
3147e850be
fix: click tool not show current
2026-01-16 17:52:40 +08:00
Joel
0b33381efb
feat: support save settings
2026-01-16 17:44:40 +08:00
yyh
ee7a9a34e0
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-16 17:25:19 +08:00
Joel
148f92f92d
fix: allow all fileds and not allow model set to auto
2026-01-16 17:20:11 +08:00
zhsama
40caaaab23
Merge branch 'zhsama/assemble-var-input' into feat/pull-a-variable
2026-01-16 17:04:18 +08:00
zhsama
1bc1c04be5
feat: add assemble variables entry
2026-01-16 17:03:22 +08:00
Joel
f79df6982d
feat: support setting show on click
2026-01-16 16:58:58 +08:00
zhsama
e85e31773a
Merge branch 'zhsama/llm-warning-ui' into feat/pull-a-variable
2026-01-16 16:22:07 +08:00
zhsama
e5336a2d75
Use warning token borders for mentions
2026-01-16 15:09:42 +08:00
Joel
649283df09
fix: not popup and use new setting
2026-01-16 15:09:25 +08:00
zhsama
7222a896d8
Align warning styles for agent mentions
2026-01-16 15:01:11 +08:00
zhsama
b5712bf8b0
Merge branch 'zhsama/agent-at-nodes' into feat/pull-a-variable
2026-01-16 14:47:37 +08:00
yyh
06b6625c01
feat(skill): implement file tree search with debounced filtering
...
Add search functionality to skill sidebar using react-arborist's built-in
searchTerm and searchMatch props. Search input is debounced at 300ms and
filters tree nodes by name (case-insensitive). Also add success toast for
rename operations.
2026-01-16 14:44:44 +08:00
Joel
eb4f57fb8b
chore: split tool config
2026-01-16 14:39:33 +08:00
yyh
0f5d3f38da
refactor(skill): use node.parent chain for ancestor traversal
...
Replace getAncestorIds(treeData) with node.parent chain traversal
for more efficient ancestor lookup. This avoids re-traversing the
tree data structure and uses react-arborist's built-in parent refs.
Also rename hook to useSyncTreeWithActiveTab for clarity.
2026-01-16 14:27:21 +08:00
yyh
76da178cc1
refactor(skill): extract tree node handlers into reusable hooks
...
Extract complex event handling and side effects from file tree components
into dedicated hooks for better separation of concerns and reusability.
2026-01-16 14:15:21 +08:00
yyh
38a2d2fe68
fix(skill): isolate more button click from tree node click handling
...
Use split button pattern to separate main content area from more button.
This prevents click events on the more button from bubbling up to the
parent element's click/double-click handlers, which caused unintended
file opening when clicking the menu button multiple times.
2026-01-16 14:07:07 +08:00
yyh
9397ba5bd2
refactor: move skill store to workflow/store/
2026-01-16 13:51:50 +08:00
yyh
7093962f30
refactor(skill): move skill editor slice to core workflow store
...
Move SkillEditorSlice from injection pattern to core workflow store,
making it available to all workflow contexts (workflow-app, chatflow,
and future rag-pipeline).
- Add createSkillEditorSlice to core createWorkflowStore
- Remove complex type conversion logic from workflow-app/index.tsx
- Remove optional chaining (?.) and non-null assertions (!) from components
- Simplify slice composition with type assertions via unknown
2026-01-16 13:51:50 +08:00
yyh
7022e4b9ca
fix(skill): add key prop to editors to fix content sync on tab switch
...
Lexical editor only uses initialConfig.editorState on mount, ignoring
subsequent value prop changes when the component is reused by React.
Adding key={activeTabId} forces React to remount editors when switching
tabs, ensuring correct content is displayed.
2026-01-16 13:51:50 +08:00
yyh
b8d67a42bd
refactor(skill): migrate skill editor store to workflow store slice injection
...
Refactor the skill editor state management from a standalone Zustand store
with Context provider pattern to a slice injection pattern that integrates
with the existing workflow store. This aligns with how rag-pipeline already
injects its slice.
- Remove SkillEditorProvider and SkillEditorContext
- Export createSkillEditorSlice for injection into workflow store
- Update all components to use useStore/useWorkflowStore from workflow store
- Add SkillEditorSliceShape to SliceFromInjection union type
- Use type-safe slice creator args without any types
2026-01-16 13:51:49 +08:00
yyh
106cb8e373
refactor(skill): unify node menu components with cva variants
...
Merge file-node-menu.tsx and folder-node-menu.tsx into a single
declarative NodeMenu component that uses type prop to determine
menu items. Add cva-based variant support to MenuItem for consistent
destructive styling.
2026-01-16 13:51:49 +08:00
Joel
9492eda5ef
chore: tool format and render problem
2026-01-16 13:50:20 +08:00
pavior
cd497a8c52
fix(web): use portal for variable picker in code editor ( Fixes #31063 ) ( #31066 )
2026-01-16 13:31:57 +08:00
Joel
64ddcc8960
chore: fix choose provder id
2026-01-16 11:31:03 +08:00
yyh
c7bca6a3fb
fix(skill): restore auto-pin on edit behavior (VS Code style)
2026-01-16 11:26:13 +08:00
yyh
f1ce933b33
fix(skill): address code review issues for tab management
...
1. Add confirmation dialog when closing dirty tabs
2. Fix file double-click race condition with useDelayedClick hook
3. Fix previewTabId orphan state in closeTab
4. Remove auto-pin on every keystroke (VS Code behavior)
5. Extract shared MenuItem component to eliminate duplication
6. Make nodeId optional when node is provided (reduce props drilling)
2026-01-16 11:20:49 +08:00
yyh
17990512ce
fix(skill): add throttle to folder toggle and validate pinTab
...
- Use es-toolkit throttle with leading edge to prevent folder toggle
flickering on double-click (3 toggles reduced to 1)
- Add validation in pinTab to check if file exists in openTabIds
2026-01-16 11:20:49 +08:00
yyh
a30fb5909b
feat(skill): implement VS Code-style preview/pinned tab management
...
- Single-click file in tree opens in preview mode (temporary, replaceable)
- Double-click file opens in pinned mode (permanent)
- Preview tabs display with italic filename
- Editing content auto-converts preview tab to pinned
- Double-clicking preview tab header converts to pinned
- Only one preview tab can exist at a time
2026-01-16 11:20:49 +08:00
Joel
3dea5adf5c
fix: change caused problem
2026-01-16 11:00:56 +08:00
zhsama
72eb29c01b
fix: fix duplicate agent context warnings in tool node
2026-01-16 00:42:42 +08:00
zhsama
0f3156dfbe
fix: list multiple @mentions
2026-01-16 00:19:28 +08:00
zhsama
b21875eaaf
fix: simplify @llm warning
2026-01-16 00:08:51 +08:00
zhsama
2591615a3c
Merge branch 'zhsama/agent-at-nodes' into feat/pull-a-variable
2026-01-15 23:51:35 +08:00
zhsama
691554ad1c
feat: 展示@agent引用
2026-01-15 23:32:14 +08:00
zhsama
f43fde5797
feat: Enhance context variable handling for Agent and LLM nodes
2026-01-15 23:26:19 +08:00
yyh
783cdb1357
feat(skill): add inline rename and guide lines to file tree
...
Add TreeEditInput component for inline file/folder renaming with keyboard
support (Enter to submit, Escape to cancel). Add TreeGuideLines component
to render vertical indent lines based on node depth for better visual
hierarchy in the tree view.
Reorganize file tree components into dedicated `file-tree` subdirectory
for better code organization.
2026-01-15 21:30:02 +08:00
yyh
3b6946d3da
refactor(skill): centralize asset tree data fetching with custom hooks
...
Extract repeated appId retrieval and tree data fetching patterns into
dedicated hooks (useSkillAssetTreeData, useSkillAssetNodeMap) to reduce
code duplication across 6 components and leverage TanStack Query's
select option for efficient nodeMap computation.
2026-01-15 19:45:33 +08:00
yyh
b8adc8f498
fix(web): memoize skill sidebar menu offset
2026-01-15 19:45:32 +08:00
yyh
ca7c4d2c86
fix(skill): improve accessibility for file tree and tabs
...
- Convert div with onClick to proper button elements for keyboard access
- Add focus-visible ring styles to all interactive elements
- Add ARIA attributes (role, aria-selected, aria-expanded) to tree nodes
- Add keyboard navigation (Enter/Space) support to tree items
- Mark decorative icons with aria-hidden="true"
- Add missing i18n keys for accessibility labels
- Fix typography: use ellipsis character (…) instead of three dots
2026-01-15 19:45:32 +08:00
yyh
6e66e2591b
feat(skill): disable file tree during mutations
...
- Add useIsMutating hook to track ongoing mutations
- Apply pointer-events-none and opacity-50 when mutating
- Prevents user interaction during file operations
2026-01-15 18:14:10 +08:00
yyh
fd0556909f
fix(skill): default folders to collapsed state on load
...
- Add openByDefault={false} to Tree component
- react-arborist defaults openByDefault to true, causing all folders
to be expanded on page refresh
2026-01-15 18:05:42 +08:00
yyh
ac2120da1e
refactor(skill): separate DropTip from tree container
...
- Move DropTip component outside the tree flex container
- Use Fragment to group tree container, DropTip and context menu
- DropTip is now an independent fixed element at the bottom
2026-01-15 18:05:42 +08:00
yyh
f3904a7e39
fix(skill): use dynamic height for file tree to fix scroll issues
...
- Replace fixed height={1000} with dynamic containerSize.height
- Use useSize hook from ahooks to observe container dimensions
- Fallback to 400px default height for initial render
- Fixes scroll issues when collapsing folders
2026-01-15 18:05:42 +08:00
yyh
b3923ec3ca
fix: translations
2026-01-15 18:05:41 +08:00
Joel
9ffdad6465
fix: click tool inner caused blur
2026-01-15 17:58:38 +08:00
zhsama
f247ebfbe1
feat: Await sub-graph save before syncing workflow draft
2026-01-15 17:53:28 +08:00
yyh
f58f36fc8f
feat(skill): add file right-click/more menu and refactor naming
...
- Add right-click context menu and '...' more button for files
- Files now support Rename and Delete operations
- Created file-node-menu.tsx for file-specific menu
- Refactor component naming for consistency
- file-item-menu.tsx -> file-node-menu.tsx (unify 'node' terminology)
- file-operations-menu.tsx -> folder-node-menu.tsx (clarify folder menu)
- file-tree-context-menu.tsx -> tree-context-menu.tsx (simplify)
- file-tree-node.tsx -> tree-node.tsx (simplify)
- files.tsx -> file-tree.tsx (more descriptive)
- Renamed internal components: FileTreeNode -> TreeNode, Files -> FileTree
- Add context menu node highlight
- When right-clicking a node, it now shows hover highlight
- Subscribed to contextMenu.nodeId in TreeNode component
2026-01-15 17:26:12 +08:00
Joel
195cd2c898
chore: show line numbers to skill editor
2026-01-15 17:21:12 +08:00
Joel
d650cde323
feat: skill editor choose tool
2026-01-15 17:16:01 +08:00
zhsama
d641c845dd
feat: Pass workflow draft sync callback to sub-graph
2026-01-15 17:12:30 +08:00
yyh
e651c6cacf
fix: css
2026-01-15 16:45:40 +08:00
zhsama
2e10d67610
perf: Replace topOffset prop with withHeader in Panel component
2026-01-15 16:44:15 +08:00
yyh
eab395f58a
refactor: sync file tree open state
2026-01-15 16:39:22 +08:00
yyh
2f92957e15
fix: css
2026-01-15 16:14:51 +08:00
zhsama
e89d4e14ea
Merge branch 'main' into feat/pull-a-variable
2026-01-15 16:14:15 +08:00
zhsama
5525f63032
refactor: sub-graph panel use shared Panel component
2026-01-15 16:12:39 +08:00
yyh
7bc1390366
feat(skill-editor): enhance + button with full operations and smart target folder
...
- Refactor sidebar-search-add to reuse useFileOperations hook
- Add getTargetFolderIdFromSelection utility for smart folder targeting
- Expand + button menu: New File, New Folder, Upload File, Upload Folder
- Target folder based on selection: file's parent, folder itself, or root
2026-01-15 16:10:01 +08:00
Joel
e91fb94d0e
chore: palceholder
2026-01-15 16:08:26 +08:00
yyh
5c03a2e251
refactor(skill-editor): extract hooks and utils into separate directories
...
- Extract useFileOperations hook to hooks/use-file-operations.ts
- Move tree utilities to utils/tree-utils.ts
- Move file utilities to utils/file-utils.ts (renamed from utils.ts)
- Remove unnecessary JSDoc comments throughout components
- Simplify type.ts to only contain local type definitions
- Clean up store/index.ts by removing verbose comments
2026-01-15 16:00:42 +08:00
yyh
1741fcf84d
feat(skill-editor): add rename and delete operations for folder context menu
...
- Add Rename using react-arborist native inline editing (node.edit())
- Add Delete with Confirm modal and automatic tab cleanup
- Add getAllDescendantFileIds utility for finding files to close on delete
- Add i18n strings for rename/delete operations (en-US, zh-Hans)
2026-01-15 16:00:41 +08:00
yyh
52215e9166
fix(prompt-editor): show border on hover for better scroll boundary visibility
...
Add hover state border to prompt editor so users can see the boundary
while scrolling even when the editor is not focused.
2026-01-15 16:00:41 +08:00
Joel
4cfc135652
feat: prompt editor support line num
2026-01-15 15:56:49 +08:00
zhsama
8ee643e88d
fix: fix variable inspect panel width in subgraphs
2026-01-15 15:55:55 +08:00
yyh
ce9ed88b03
refactor(skill-editor): hoist SkillEditorProvider for state persistence
...
Move SkillEditorProvider from SkillMain to WorkflowAppWrapper so that
store state persists across view switches between Graph and Skill views.
Also add URL query state for view type using nuqs.
2026-01-15 15:09:12 +08:00
yyh
e6a4a08120
refactor(skill-editor): simplify code by extracting MenuItem component and removing dead code
...
- Extract reusable MenuItem component for menu buttons in FileOperationsMenu
- Remove unused handleUploadFileClick/handleUploadFolderClick callbacks
- Remove unused handleDropdownClose callback, inline directly
- Remove unused _fileId parameter from revealFile function
- Simplify toOpensObject using Object.fromEntries
2026-01-15 15:05:43 +08:00
yyh
388ee087c0
feat(skill-editor): add folder context menu with file operations
...
Add right-click context menu and "..." dropdown button for folders in
the file tree, enabling file operations within any folder:
- New File: Create empty file via Blob upload
- New Folder: Create subfolder
- Upload File: Upload multiple files to folder
- Upload Folder: Upload entire folder structure preserving hierarchy
Implementation includes:
- FileOperationsMenu: Shared menu component for both triggers
- FileTreeContextMenu: Right-click menu with absolute positioning
- FileTreeNode: Added context menu and dropdown button for folders
- Store slice for context menu state management
- i18n strings for en-US and zh-Hans
2026-01-15 14:56:31 +08:00
Joel
2fb8883918
feat: split different filetypes
2026-01-15 14:53:00 +08:00
yyh
28ccd42a1c
refactor(skill-editor): simplify SkillEditorProvider
...
Remove verbose comments and appId reset logic since parent component
remounts on appId change. Consolidate imports and use function declaration.
2026-01-15 14:10:41 +08:00
yyh
fcd814a2c3
refactor(skill-editor): simplify state management and remove dead code
...
- Replace useRef pattern with useMemo for store creation in context.tsx
- Remove unused extension prop from EditorTabItem
- Fix useMemo dependency warnings in editor-tabs.tsx and skill-doc-editor.tsx
- Add proper OnMount type for Monaco editor instead of any
- Delete unused file-item.tsx and fold-item.tsx components
- Remove unused getExtension and fromOpensObject utilities from type.ts
- Refactor auto-reveal effect in files.tsx for better readability
2026-01-15 14:02:15 +08:00
yyh
fe17cbc1a8
feat(skill-editor): implement file tree, tab management, and dirty state tracking
...
Implement MVP features for skill editor based on design doc:
- Add Zustand store with Tab, FileTree, and Dirty slices
- Rewrite file tree using react-arborist for virtual scrolling
- Implement Tab↔FileTree sync with auto-reveal on tab activation
- Add upload functionality (new folder, upload file)
- Implement Monaco editor with dirty state tracking and Ctrl+S save
- Add i18n translations (en-US and zh-Hans)
2026-01-15 13:53:19 +08:00
hjlarry
b549d669d6
clear logic
2026-01-15 13:17:14 +08:00
hjlarry
802b38eede
fix
2026-01-15 13:16:35 +08:00
Joel
834a5df580
fix: switch zindex
2026-01-15 11:31:08 +08:00
Joel
e40c2354d5
chore: remove useless props
2026-01-15 11:24:59 +08:00
Joel
b0eca12d88
feat: tabs
2026-01-15 11:22:43 +08:00
Joel
f461ddeb7e
missing files
2026-01-15 11:04:15 +08:00
Joel
7b534baf15
chore: file type utils
2026-01-15 11:02:07 +08:00
Joel
74d8bdd3a7
chore: search ui
2026-01-15 11:02:07 +08:00
zhsama
ccb337e8eb
fix: Sync extractor prompt template with tool input text
2026-01-15 04:09:35 +08:00
zhsama
56e537786f
feat: Update LLM context selector styling
2026-01-14 23:30:12 +08:00
zhsama
810f9eaaad
feat: Enhance sub-graph components with context handling and variable management
2026-01-14 23:23:09 +08:00
zhsama
4828348532
feat: Add structured output to sub-graph LLM nodes
2026-01-14 17:25:06 +08:00
Joel
ab531d946e
feat: add main skill struct
2026-01-14 16:28:14 +08:00
Joel
1a8fd08563
chore: add list define and mock data
2026-01-14 16:28:14 +08:00
Joel
6b55e6781f
feat: graph skill main struct
2026-01-14 15:41:02 +08:00
zhsama
c8c048c3a3
perf: Optimize sub-graph store selectors and layout
2026-01-14 15:39:21 +08:00
yyh
4887c9ea6f
refactor(web): simplify MCP tool availability context and hook
...
- Add useMemo to prevent unnecessary re-renders of context value
- Extract ProviderProps type for better readability
- Convert arrow functions to standard function declarations
- Remove unused versionSupported/sandboxEnabled from hook return type
2026-01-14 14:15:07 +08:00
yyh
18170a1de5
feat(web): add sandbox mode check for MCP tool availability
...
Extend MCP tool availability context to include sandbox mode check
alongside version support. MCP tools are now blocked when sandbox
is disabled, with appropriate tooltip messages for each blocking
condition.
2026-01-14 14:01:56 +08:00
yyh
7ce144f493
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 13:40:39 +08:00
yyh
14b2e5bd0d
refactor(web): MCP tool availability to context-based version gating ( #30955 )
2026-01-14 13:40:16 +08:00
wangxiaolei
d095bd413b
fix: fix LOOP_CHILDREN_Z_INDEX ( #30719 )
2026-01-14 10:22:31 +08:00
yyh
7c029ce808
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/services/workflow_service.py
2026-01-14 09:54:07 +08:00
zhsama
b9052bc244
feat: add sub-graph config panel with variable selection and null
...
handling
2026-01-14 03:22:42 +08:00
zhsama
b7025ad9d6
feat: change sub-graph prompt handling to use user role
2026-01-13 23:23:18 +08:00
zhsama
c5482c2503
Merge branch 'main' into feat/pull-a-variable
2026-01-13 22:57:27 +08:00
zhsama
d394adfaf7
feat: Fix prompt template handling for Jinja2 edition type
2026-01-13 22:57:05 +08:00
zhsama
bc771d9c50
feat: Add onSave prop to SubGraph components for draft sync
2026-01-13 22:51:29 +08:00
zhsama
96ec176b83
feat: sub-graph to use dynamic node generation
2026-01-13 22:28:30 +08:00
hjlarry
1845938e70
fix type issue
2026-01-13 22:18:54 +08:00
hjlarry
fad81ab85e
fix type issue
2026-01-13 22:11:36 +08:00
hjlarry
d1c64f5c74
add toast when disconnected
2026-01-13 22:08:59 +08:00
hjlarry
7f6c93bdce
reduce CURSOR_THROTTLE_MS
2026-01-13 22:08:07 +08:00
zhsama
f57d2ef31f
refactor: refactor workflow nodes state sync and extractor node
...
lifecycle
2026-01-13 18:37:23 +08:00
zhsama
e80bc78780
fix: clear mock llm node functions
2026-01-13 17:57:02 +08:00
hjlarry
8c9276370c
remove console.log
2026-01-13 17:46:53 +08:00
zhsama
ddbbddbd14
refactor: Update variable syntax to support agent context markers
...
Extend variable pattern matching to support both `#` and `@` markers,
with `@` specifically used for agent context variables. Update regex
patterns, text processing logic, and add sub-graph persistence for agent
variable handling.
2026-01-13 17:13:45 +08:00
zxhlyh
1db995be0d
Merge branch 'main' into feat/llm-support-tools
2026-01-13 16:46:03 +08:00
hjlarry
0c18d4e058
fix duplicated status
2026-01-13 15:59:59 +08:00
青枕
0e33dfb5c2
fix: In the LLM model in dify, when a message is added, the first cli… ( #29540 )
...
Co-authored-by: 青枕 <qingzhen.ww@alibaba-inc.com>
2026-01-13 15:42:32 +08:00
yyh
a46bfdd0fc
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-13 10:15:59 +08:00
zhsama
03e0c4c617
feat: Add VarKindType parameter metion to mixed variable text input
2026-01-12 20:08:41 +08:00
zhsama
47790b49d4
fix: Fix agent context variable insertion to preserve existing text
2026-01-12 18:12:06 +08:00
zhsama
b25b069917
fix: refine agent variable logic
2026-01-12 18:12:06 +08:00
zhsama
d65ae68668
Merge branch 'main' into feat/pull-a-variable
...
# Conflicts:
# .nvmrc
2026-01-12 17:15:56 +08:00
zhsama
f625350439
refactor:Refactor agent variable handling in mixed variable text input
2026-01-12 17:05:00 +08:00
zhsama
d91087492d
Refactor sub-graph components structure
2026-01-12 15:00:41 +08:00
zhsama
cab7cd37b8
feat: Add sub-graph component for workflow
2026-01-12 14:56:53 +08:00
zxhlyh
aa5e37f2db
Merge branch 'main' into feat/llm-support-tools
2026-01-12 13:42:58 +08:00
yyh
9161936f41
refactor(web): extract isServer/isClient utility & upgrade Node.js to 22.12.0 ( #30803 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-12 12:57:43 +08:00
Harry
9dd0361d0e
refactor: rename new runtime as sandbox feature
2026-01-12 01:53:39 +08:00
zhsama
f925266c1b
Merge branch 'main' into feat/pull-a-variable
2026-01-09 16:20:55 +08:00
zhsama
07ff8df58d
Merge branch 'main' into feat/support-agent-sandbox
2026-01-09 16:20:33 +08:00
wangxiaolei
0711dd4159
feat: enhance start node object value check ( #30732 )
2026-01-09 16:13:17 +08:00
Harry
d2f41ae9ef
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-09 15:37:29 +08:00
zhsama
6e2cf23a73
Merge branch 'main' into feat/pull-a-variable
2026-01-09 02:49:47 +08:00
zhsama
8b0bc6937d
feat: enhance component picker and workflow variable block functionality
2026-01-08 18:17:09 +08:00
zhsama
872fd98eda
Merge remote-tracking branch 'origin/feat/pull-a-variable' into feat/pull-a-variable
2026-01-08 18:16:29 +08:00
Novice
5bcd3b6fe6
feat: add mention node executor
2026-01-08 17:36:21 +08:00
zhsama
1aed585a19
feat: enhance agent integration in prompt editor and mixed-variable text input
2026-01-08 17:02:35 +08:00
zhsama
831eba8b1c
feat: update agent functionality in mixed-variable text input
2026-01-08 16:59:09 +08:00
zxhlyh
4d3d8b35d9
Merge branch 'main' into feat/llm-node-support-tools
2026-01-08 14:28:13 +08:00
zxhlyh
c323028179
feat: llm node support tools
2026-01-08 14:27:37 +08:00
Harry
94dbda503f
refactor(llm-panel): update layout and enhance Max Iterations component
...
- Adjusted padding in the LLM panel for better visual alignment.
- Refactored the Max Iterations component to accept a className prop for flexible styling.
- Maintained the structure of advanced settings while ensuring consistent rendering of fields.
2026-01-08 14:15:58 +08:00
Harry
c2e5081437
feat(llm-panel): collapse panel with advanced settings and max iterations
...
- Introduced a collapsible section for advanced settings in the LLM panel.
- Added Max Iterations component with conditional rendering based on the new hideMaxIterations prop.
- Updated context field and vision configuration to be part of the advanced settings.
- Added new translation key for advanced settings in the workflow localization file.
2026-01-08 12:16:18 +08:00
Rhon Joe
27a803a6f0
fix(web): resolve key-value input box height inconsistency on focus/blur ( #30715 ) ( #30716 )
2026-01-08 09:54:27 +08:00
zxhlyh
1d93f41fcf
feat: llm node support tools
2026-01-07 16:28:41 +08:00
Harry
888be71639
feat: command node output variables
2026-01-07 11:15:52 +08:00
Harry
3902929d9f
feat: new runtime options
2026-01-07 00:01:55 +08:00
zhsama
760a739e91
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/package.json
2026-01-06 22:00:01 +08:00
Harry
1c7c475c43
feat: add Command node support
...
- Introduced Command node type in workflow with associated UI components and translations.
- Enhanced SandboxLayer to manage sandbox attachment for Command nodes during execution.
- Updated various components and constants to integrate Command node functionality across the workflow.
2026-01-06 19:30:38 +08:00
zhsama
d92c476388
feat(workflow): enhance group node availability checks
...
- Updated `checkMakeGroupAvailability` to include a check for existing group nodes, preventing group creation if a group node is already selected.
- Modified `useMakeGroupAvailability` and `useNodesInteractions` hooks to incorporate the new group node check, ensuring accurate group creation logic.
- Adjusted UI rendering logic in the workflow panel to conditionally display elements based on node type, specifically for group nodes.
2026-01-06 02:07:13 +08:00
Harry
f3761c26e9
Merge remote-tracking branch 'origin/main' into feat/llm-node-support-tools
2026-01-05 18:17:05 +08:00
zhsama
9012dced6a
feat(workflow): improve group node interaction handling
...
- Enhanced `useNodesInteractions` to better manage group node handlers and connections, ensuring accurate identification of leaf nodes and their branches.
- Updated logic to create handlers based on node connections, differentiating between internal and external connections.
- Refined initial node setup to include target branches for group nodes, improving the overall interaction model for grouped elements.
2026-01-05 17:42:31 +08:00
zhsama
50bed78d7a
feat(workflow): add group node support and translations
...
- Introduced GroupDefault node with metadata and default values for group nodes.
- Enhanced useNodeMetaData hook to handle group node author and description using translations.
- Added translations for group node functionality in English, Japanese, Simplified Chinese, and Traditional Chinese.
2026-01-05 16:29:00 +08:00
zhsama
60250355cb
feat(workflow): enhance group edge management and validation
...
- Introduced `createGroupInboundEdges` function to manage edges for group nodes, ensuring proper connections to head nodes.
- Updated edge creation logic to handle group nodes in both inbound and outbound scenarios, including temporary edges.
- Enhanced validation in `useWorkflow` to check connections for group nodes based on their head nodes.
- Refined edge processing in `preprocessNodesAndEdges` to ensure correct handling of source handles for group edges.
2026-01-05 15:48:26 +08:00
zhsama
37c748192d
feat(workflow): implement UI-only group functionality
...
- Added support for UI-only group nodes, including custom-group, custom-group-input, and custom-group-exit-port types.
- Enhanced edge interactions to manage temporary edges connected to groups, ensuring corresponding real edges are deleted when temp edges are removed.
- Updated node interaction hooks to restore hidden edges and remove temp edges efficiently.
- Implemented logic for creating and managing group structures, including entry and exit ports, while maintaining execution graph integrity.
2026-01-04 21:54:15 +08:00
zhsama
b7a2957340
feat(workflow): implement ungroup functionality for group nodes
...
- Added `handleUngroup`, `getCanUngroup`, and `getSelectedGroupId` methods to manage ungrouping of selected group nodes.
- Integrated ungrouping logic into the `useShortcuts` hook for keyboard shortcut support (Ctrl + Shift + G).
- Updated UI to include ungroup option in the panel operator popup for group nodes.
- Added translations for the ungroup action in multiple languages.
2026-01-04 21:40:34 +08:00
zhsama
a6ce6a249b
feat(workflow): refine strokeDasharray logic for temporary edges
2026-01-04 20:59:33 +08:00
zhsama
8834e6e531
feat(workflow): enhance group node functionality with head and leaf node tracking
...
- Added headNodeIds and leafNodeIds to GroupNodeData to track nodes that receive input and send output outside the group.
- Updated useNodesInteractions hook to include headNodeIds in the group node data.
- Modified isValidConnection logic in useWorkflow to validate connections based on leaf node types for group nodes.
- Enhanced preprocessNodesAndEdges to rebuild temporary edges for group nodes, connecting them to external nodes for visual representation.
2026-01-04 20:45:42 +08:00
zxhlyh
04f40303fd
Merge branch 'main' into feat/llm-node-support-tools
2026-01-04 18:04:42 +08:00
zxhlyh
ececc5ec2c
feat: llm node support tools
2026-01-04 18:03:47 +08:00
zhsama
bd338a9043
Merge branch 'main' into feat/grouping-branching
2026-01-02 01:34:02 +08:00
wangxiaolei
ae43ad5cb6
fix: fix when vision is disabled delete the configs ( #30420 )
2026-01-01 00:40:21 +08:00
yyh
2aaaa4bd34
feat(web): migrate from es-toolkit/compat to native es-toolkit ( #30244 ) ( #30246 )
2025-12-31 11:13:22 +08:00
zhsama
39d6383474
Merge branch 'main' into feat/grouping-branching
2025-12-30 22:01:20 +08:00
Stephen Zhou
2399d00d86
refactor(i18n): about locales ( #30336 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-30 14:38:23 +08:00
zxhlyh
e83635ee5a
Merge branch 'main' into feat/llm-node-support-tools
2025-12-30 11:47:54 +08:00
zxhlyh
d79372a46d
Merge branch 'main' into feat/llm-node-support-tools
2025-12-30 11:47:26 +08:00
Stephen Zhou
3505516e8e
fix: missing i18n translation for Trans ( #30353 )
2025-12-30 10:46:52 +08:00
zxhlyh
bbd11c9e89
feat: llm node support tools
2025-12-30 10:40:01 +08:00
lif
5338cf85b1
fix: restore draft version correctly in version history panel ( #30296 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2025-12-30 09:22:00 +08:00
zhsama
5157e1a96c
Merge branch 'main' into feat/grouping-branching
2025-12-29 23:33:28 +08:00
zxhlyh
d132abcdb4
merge main
2025-12-29 15:55:45 +08:00
zxhlyh
d60348572e
feat: llm node support tools
2025-12-29 14:55:26 +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
yyh
1e86535c4a
refactor(web): Migrate to Unified TanStack Devtools ( #30279 )
2025-12-29 09:43:44 +08:00
wangxiaolei
bf56c2e9db
fix: fix custom tool content is not update ( #30250 )
2025-12-28 17:50:30 +08:00
wangxiaolei
b892906d71
fix: fix metadata filter not survive a rename ( #30174 )
2025-12-26 10:40:30 +08:00
Pleasure1234
f08d847c20
fix: add transparent border to prevent button size flickering ( #30128 )
2025-12-25 19:50:21 +08:00
JeeekXY
0f85ce3d0e
fix: prioritize copying selected text ( #30141 )
2025-12-25 16:22:42 +08:00
zxhlyh
0cff94d90e
Merge branch 'main' into feat/llm-node-support-tools
2025-12-25 13:45:49 +08:00
zxhlyh
fb14644a79
fix: workflow past version data sync ( #30139 )
2025-12-25 11:53:33 +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
yyh
5896bc89f5
refactor(web): migrate workflow run history from useSWR to TanStack Query ( #30077 )
2025-12-24 18:21:01 +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
zxhlyh
a7859de625
feat: llm node support tools
2025-12-24 14:15:55 +08:00
zhsama
b513933040
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/app/components/workflow/block-icon.tsx
# web/app/components/workflow/hooks/use-nodes-interactions.ts
# web/app/components/workflow/index.tsx
# web/app/components/workflow/nodes/components.ts
# web/app/components/workflow/selection-contextmenu.tsx
# web/app/components/workflow/utils/workflow-init.ts
2025-12-23 23:55:21 +08:00
wangxiaolei
870a6427c9
feat: allow user close the tab to sync the draft ( #30034 )
2025-12-23 19:01:29 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
zhsama
7b660a9ebc
feat: Simplify edge creation for group nodes in useNodesInteractions hook
2025-12-23 17:12:09 +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
zhsama
783a49bd97
feat: Refactor group node edge creation logic in useNodesInteractions hook
2025-12-23 16:44:11 +08:00
zhsama
d3c6b09354
feat: Implement group node edge handling in useNodesInteractions hook
2025-12-23 16:37:42 +08:00
zhsama
3d61496d25
feat: Enhance CustomGroupNode with exit ports and visual indicators
2025-12-23 15:36:53 +08:00
zhsama
16bff9e82f
Merge branch 'refs/heads/main' into feat/grouping-branching
2025-12-23 15:27:54 +08:00
非法操作
9701a2994b
chore: Translate stray Chinese comment to English ( #30024 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-23 14:05:21 +08:00
GuanMu
c3b713d88a
fix: adjust padding in entry node container for better alignment ( #29999 )
2025-12-22 21:16:57 +08:00
zhsama
22f25731e8
refactor: streamline edge building and node filtering in workflow graph
2025-12-22 18:59:08 +08:00
zhsama
035f51ad58
Merge branch 'main' into feat/grouping-branching
2025-12-22 18:18:37 +08:00
zhsama
93b516a4ec
feat: add UI-only group node types and enhance workflow graph processing
2025-12-22 17:35:33 +08:00
Stephen Zhou
eabdc5f0eb
refactor(web): migrate to Vitest and esm ( #29974 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2025-12-22 16:35:22 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
zhsama
fc9d5b2a62
feat: implement group node functionality and enhance grouping interactions
2025-12-19 15:17:45 +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
zhsama
e3bfb95c52
feat: implement grouping availability checks in selection context menu
2025-12-18 17:11:34 +08:00
wcc0077
114f17f1ca
fix: remove unnecessary min-width css style from AllTools and Blocks components ( #29810 )
2025-12-18 10:14:29 +08:00
zhsama
752cb9e4f4
feat: enhance selection context menu with alignment options and grouping functionality
...
- Added alignment buttons for nodes with tooltips in the selection context menu.
- Implemented grouping functionality with a new "Make group" option, including keyboard shortcuts.
- Updated translations for the new grouping feature in multiple languages.
- Refactored node selection logic to improve performance and readability.
2025-12-17 19:52:02 +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
Chen Jiaju
63624dece1
fix(workflow): tool plugin output_schema array type not selectable in subsequent nodes ( #29035 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-15 11:17:15 +08:00
yyh
59137f1d05
fix: show uninstalled plugin nodes in workflow checklist ( #29630 )
2025-12-15 10:11:23 +08:00
Agung Besti
3db27c3158
fix(workflow): agent prompt editor canvas not covering full text height ( #29623 )
2025-12-14 15:53:39 +08:00
Wu Tianwei
94244ed8f6
fix: handle potential undefined values in query_attachment_selector across multiple components ( #29429 )
2025-12-10 19:30:21 +08:00
Wu Tianwei
bafd093fa9
fix: Add dataset file upload restrictions ( #29397 )
...
Co-authored-by: kurokobo <kuro664@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-10 16:41:05 +08:00
yyh
18601d8b38
Refactor datasets service toward TanStack Query ( #29008 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
2025-12-09 13:48:23 +08:00
Wu Tianwei
14d1b3f9b3
feat: multimodal support (image) ( #27793 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 11:44:50 +08:00
非法操作
a44b800c85
chore: find more redirect to correct category ( #29303 )
2025-12-09 11:09:43 +08:00
yyh
c012eddb47
chore(web): run oxlint before eslint ( #29224 )
2025-12-07 11:36:33 +08:00
Wu Tianwei
e7c26a2f3f
refactor: update useNodes import to use reactflow across multiple components ( #29195 )
2025-12-05 16:38:03 +08:00
非法操作
3e5f683e90
feat: dark theme icon support ( #28858 )
2025-12-04 09:29:00 +08:00
Joel
876f48df76
chore: remove useless mock files ( #29068 )
2025-12-03 15:34:11 +08:00
yyh
626d4f3e35
fix(web): use atomic selectors to fix Zustand v5 infinite loop ( #28977 )
2025-12-01 15:45:50 +08:00
CrabSAMA
0a2d478749
Feat: Add "Open Workflow" link in workflow side panel ( #28898 )
2025-11-29 18:47:12 +08:00
GuanMu
5aba111297
Feat zen mode ( #28794 )
2025-11-27 20:10:50 +08:00
Joel
5f2e0d6347
pref: reduce next step components reRender ( #28783 )
2025-11-27 17:12:00 +08:00
CrabSAMA
820925a866
feat(workflow): workflow as tool output schema ( #26241 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-11-27 16:50:48 +08:00
Joel
299bd351fd
perf: reduce reRender in candidate node ( #28776 )
2025-11-27 15:57:36 +08:00
hjlarry
bd597497e7
prevent comment thread pinch
2025-11-27 15:37:46 +08:00
非法操作
6635ea62c2
fix: change existing node to a webhook node raise 404 ( #28686 )
2025-11-26 22:41:52 +08:00
Joel
ef0e1031b0
pref: reduce the times of useNodes reRender ( #28682 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-26 16:52:47 +08:00
Coding On Star
dbecba710b
frontend auto testing rules ( #28679 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: 姜涵煦 <hanxujiang@jianghanxudeMacBook-Pro.local>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-26 15:18:07 +08:00
Xiu-Lan
abc13ef762
Feat/web workflow improvements ( #27981 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Wood <tuiskuwood@outlook.com>
2025-11-25 19:54:40 +08:00
yyh
e073e755f9
Fix start tab marketplace trigger search and plugin list scroll ( #28645 )
2025-11-25 18:08:46 +08:00
Joel
15ea27868e
pref: workflow ( #28591 )
2025-11-24 17:02:18 +08:00
hjlarry
be1f841b37
control panel should be z-60
2025-11-24 16:27:37 +08:00
非法操作
9fed2dc065
fix: Code editor throws dozen of errors ( #28500 )
2025-11-21 16:48:35 +08:00
耐小心
4486b54680
Clean up legacy conditions data in if-else nodes to prevent misjudgments ( #28148 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-21 14:26:57 +08:00
znn
ae5b5a6aa9
disable sticky scroll ( #28248 )
2025-11-21 11:24:26 +08:00
yangzheli
a6cd2ad880
fix(web): remove StatusPanel's internal useStore to fix context issues ( #28348 )
2025-11-20 12:50:46 +08:00
yangzheli
4833d39ab3
fix(workflow): validate node compatibility when importing dsl between chatflows and workflows ( #28012 )
2025-11-20 11:40:24 +08:00
yangzheli
a5d0e68675
feat(workflow): optimize workflow canvas pan and scroll behavior ( #28250 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-11-20 11:27:30 +08:00
znn
014cbaf387
make expand/collapse in question classifier node ( #26772 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
2025-11-20 11:17:34 +08:00
hjlarry
b441a7fbc4
fix style
2025-11-18 10:31:56 +08:00
hjlarry
8497d296b1
feat: can drag avatar to move the comment input
2025-11-18 09:53:15 +08:00
Yessenia-d
ad7fdd18d0
fix: update currentTriggerPlugin check in BasePanel component ( #28287 )
2025-11-17 17:19:35 +08:00
hjlarry
3ee2508ec8
fix comment input also not allow to zoomin canvas
2025-11-17 16:17:34 +08:00
hjlarry
ff8d5ac4b5
fix gesture zoom in
2025-11-17 15:37:43 +08:00
hjlarry
7fc98b2183
fix sync of webhook node
2025-11-14 11:31:08 +08:00
hjlarry
a4adafd8ad
remove the single env button
2025-11-14 11:00:33 +08:00
非法操作
1e6d0de48b
fix: knowledge pipeline can not published ( #28203 )
2025-11-14 09:47:37 +08:00
yangzheli
20403c69b2
refactor(web): remove redundant add-tool-modal components and related code ( #27996 )
2025-11-13 20:21:04 +08:00
GuanMu
470883858e
fix: adjust padding in AgentNode and NodeComponent for consistent layout ( #28175 )
2025-11-13 20:16:56 +08:00
hjlarry
edf962cdb5
Merge branch 'feat/collaboration' into feat/collaboration2
2025-11-13 15:31:21 +08:00
katakyo
9cb2645793
fix: update input field width for retry configuration in RetryOnPanel ( #28142 )
2025-11-13 15:00:22 +08:00
非法操作
b02165ffe6
fix: inconsistent behaviour of zoom in button and shortcut ( #27944 )
2025-11-13 14:37:27 +08:00
yangzheli
b0e7e7752f
refactor(web): reuse the same edit-custom-collection-modal component, and fix the pop up error ( #28003 )
2025-11-13 11:44:21 +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
hjlarry
2fa13cdf86
if session unauthorized, rejoin
2025-11-11 16:38:55 +08:00
hjlarry
97626a3ba5
can't zoomOnPinch when mouse over comment preview
2025-11-07 09:27:49 +08:00
hjlarry
b7f7d04639
fix comment input mention not display avatar
2025-11-05 18:09:42 +08:00
hjlarry
13674bd859
comment input mode click empty place can close
2025-11-05 17:41:10 +08:00
wangjifeng
f65d5a9761
Fix/template transformer line number ( #27867 )
...
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-11-05 15:21:47 +08:00
hjlarry
fb9cbc0471
comment mode can't click node
2025-11-05 14:14:36 +08:00
hjlarry
2f60288d86
fix: resize workflow canvas cause incorrect comment position
2025-11-05 14:08:21 +08:00
yangzheli
f31b821cc0
fix(web): improve the consistency of the inputs-form UI ( #27837 )
2025-11-05 09:29:13 +08:00
red_sun
7a81e720d4
fix: iteration node cannot be viewed( #27759 ) ( #27786 )
2025-11-04 12:37:31 +08:00
vicen
9c01d3e775
fix: two web bugs for json-schema-config-modal ( #27718 )
2025-11-04 09:45:28 +08:00
issac2e
b7360140ee
fix: resolve stale closure values in LLM node callbacks ( #27612 ) ( #27614 )
...
Co-authored-by: liuchen15 <liuchen15@gaotu.cn>
2025-10-30 09:38:39 +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
yangzheli
a7c855cab8
fix(workflow): resolve note node copy/duplicate errors ( #27528 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-28 09:26:12 +08:00
Novice
b6e0abadab
feat: add flatten_output configuration to iteration node ( #27502 )
2025-10-27 16:04:24 +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
Wu Tianwei
95ce224df0
fix: enhance checklist functionality with embedding and rerank model lists ( #27312 )
2025-10-23 11:33:58 +08:00
GuanMu
73e217ab0d
Fix type error ( #27250 )
2025-10-22 13:06:15 +08:00
Wu Tianwei
f909040567
feat: Enhance knowledge base node validation by adding checks for embedding and reranking models ( #27241 )
2025-10-22 10:49:49 +08:00
hjlarry
ee3ded0fc2
fix control layer
2025-10-22 10:25:31 +08:00
hjlarry
351bad9ec4
fix minimap disable collobroation
2025-10-22 10:21:25 +08:00
hjlarry
9bf7473bbf
hide comments when disable collaboration
2025-10-22 10:10:23 +08:00
hjlarry
fa09c88f5c
add CollaborationEnabled for comment shortcut
2025-10-22 09:59:43 +08:00
hjlarry
83df78d0c8
hide comments icon when disable collabrotion mode
2025-10-22 09:50:37 +08:00
hjlarry
79266f7302
add note node sync data
2025-10-21 15:34:44 +08:00
hjlarry
7fecc7236c
add more collaboration manager unit tests
2025-10-21 14:37:31 +08:00
hjlarry
9c7f6b7b71
add crdt provider unittests
2025-10-21 14:27:13 +08:00
hjlarry
b46da93e99
add unittests for event-emitter
2025-10-21 14:12:13 +08:00
hjlarry
e299a1fb20
add ws manager unit tests
2025-10-21 14:09:25 +08:00
hjlarry
122033cadb
sort out code
2025-10-21 12:27:11 +08:00
hjlarry
df9bd1b3b5
add Parameters of ParametersExtractor node sync
2025-10-21 12:14:48 +08:00
hjlarry
f74492eb59
add prompt_template of LLM node sync
2025-10-21 12:00:42 +08:00
hjlarry
eaf1ae37dd
add ENABLE_COLLABORATION_MODE
2025-10-21 11:46:28 +08:00
hjlarry
8e3b412ff6
fix websocket cookie auth
2025-10-21 11:46:00 +08:00
Eric Guo
e45d5700ec
Fix vs code and using min version after bump @remixicon/react and @monaco-editor/loader ( #27008 )
2025-10-21 11:41:44 +08:00
hjlarry
ba17f576e9
Merge remote-tracking branch 'myori/main' into feat/collaboration
2025-10-21 08:47:01 +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
lyzno1
9415ce4512
Merge remote-tracking branch 'origin/main' into feat/collaboration
2025-10-20 10:04:13 +08:00
GuanMu
cf7ff76165
fix(web): resolve TypeScript type errors in workflow components ( #27086 )
2025-10-18 23:09:00 +08:00
GuanMu
1a37989769
Fix type-check error ( #27051 )
2025-10-18 12:03:40 +08:00
lyzno1
239536933b
Merge remote-tracking branch 'origin/main' into feat/collaboration
2025-10-17 19:33:40 +08:00
Wu Tianwei
64f55d55a1
fix: update TopK and Score Threshold components to use InputNumber and improve value handling ( #27045 )
2025-10-17 14:58:30 +08:00
GuanMu
4f7cb7cd2a
Fix type error ( #27044 )
2025-10-17 14:42:58 +08:00
GuanMu
8cafc20098
Fix type error ( #27024 )
2025-10-17 10:46:43 +08:00
Guangdong Liu
58524d6d2b
fix: remove unnecessary properties from condition draft ( #27009 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-17 09:11:03 +08:00
GuanMu
650e38e17f
refactor: improve TypeScript types for NodeCardProps and debug configuration context ( #27001 )
2025-10-16 22:16:01 +08:00
wellCh4n
35011b810d
feat: run with params from logs ( #26787 )
...
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
2025-10-16 11:01:11 +08:00
hjlarry
80b34598e9
try to fix start node collaboration
2025-10-16 10:18:37 +08:00
lyzno1
9c66b92c34
Merge remote-tracking branch 'origin/main' into feat/collaboration
2025-10-15 21:08:08 +08:00
lyzno1
79872ea5e2
Refine workflow comment avatar highlight ring
2025-10-15 14:58:03 +08:00
yangzheli
cff5de626b
feat(agent): similar to the start node of workflow, agent variables also support drag-and-drop ( #26899 )
2025-10-15 13:07:51 +08:00
znn
4d8b8f9210
allow editing of hidden inputs in preview ( #24370 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-10-15 11:19:53 +08:00
lyzno1
1393d21858
fix(web): adjust online users badge sizing and add pointer cursor to chevron
2025-10-15 11:06:04 +08:00
lyzno1
3a46b7bd18
fix(web): restyle workflow online-users avatar stack and dropdown
2025-10-15 10:48:38 +08:00
lyzno1
0bbfd81d26
fix: tooltip font
2025-10-15 10:35:42 +08:00
lyzno1
86db517142
fix(web): make workflow online-users dropdown click-based with revised spacing
2025-10-15 10:34:00 +08:00
lyzno1
50151f4007
fix(web): adjust workflow online-users icon and label styles
2025-10-15 10:21:54 +08:00
hjlarry
d14413f3b0
comment click caculate the panel width
2025-10-15 09:11:44 +08:00
hjlarry
708a7dd362
fix comment mode can't drag node
2025-10-14 17:31:03 +08:00
hjlarry
cd85b75312
fix control panel hovered by comment icon
2025-10-14 17:16:33 +08:00
hjlarry
d685da377e
fix minimap
2025-10-14 17:11:22 +08:00
hjlarry
8583992d23
when new user connected should rebroadcast the graph data
2025-10-14 16:57:02 +08:00
hjlarry
23fec75c90
cache the new created comment
2025-10-14 11:21:18 +08:00
hjlarry
ebe7303894
fix loop variable not sync well
2025-10-14 10:10:34 +08:00
hjlarry
79fb977f10
fix loop/iteration incorrect nodes width
2025-10-14 09:54:37 +08:00
hjlarry
1857d37fae
sync app published
2025-10-13 16:42:17 +08:00
hjlarry
60fdbb56a9
fix all lines missing
2025-10-13 16:38:50 +08:00
lyzno1
e6730f7164
fix: dropdown menu border
2025-10-13 13:15:54 +08:00
lyzno1
3344723393
fix: prevent Enter key from triggering submit during IME composition
...
Add isComposing check at the start of handleKeyDown to ignore keyboard events during IME (Chinese/Japanese/Korean) input composition. This follows the existing pattern used in tag-management component and prevents premature form submission when users press Enter to confirm IME candidates.
2025-10-13 13:09:52 +08:00
lyzno1
c571185a91
fix: extract @mention highlighting from content in real-time to persist after edit
2025-10-13 13:03:55 +08:00
lyzno1
325c1cfa41
fix: prevent Save button flash by maintaining loading state until edit closes
2025-10-13 12:56:18 +08:00
lyzno1
1069421753
refactor: replace keyboard shortcut icons with custom EnterKey icon
2025-10-13 12:52:07 +08:00
lyzno1
b33a97ea5b
style: update comment thread UI with design specs
...
- Fix edit bubble: keep avatar visible and match ThreadMessage layout
- Update edit container: rounded-xl, p-1, shadow-md, backdrop-blur
- Add keyboard shortcut icons (Cmd+Enter) to Save button
- Fix hover background: full-width with -mx-4 negative margin technique
- Apply design tokens consistently across components
2025-10-13 12:42:41 +08:00
lyzno1
d2c1d4c337
style: update mention dropdown UI to match design specs
...
- Update container: rounded-xl, border-0.5px, backdrop-blur, bg opacity 95%
- Update items: rounded-md with asymmetric padding (py-1 pl-2 pr-3)
- Use project design tokens (shadow-lg, bg-state-base-hover)
2025-10-13 12:24:28 +08:00
lyzno1
67762cf1d8
chore: resolve merge conflict in pnpm-lock.yaml
...
Merged origin/main into feat/collaboration and resolved dependency lock file conflicts by regenerating pnpm-lock.yaml through clean install.
Changes:
- Resolved eslint version differences (9.36.0 vs 9.35.0)
- Updated lock file reflects current dependency resolution
- All other changes from main branch successfully merged
2025-10-13 11:53:43 +08:00
hjlarry
eadce0287c
app meta sync
2025-10-13 11:49:54 +08:00
Wu Tianwei
c692962650
fix: update tooltip for chunk structure in knowledge base component ( #26808 )
2025-10-13 10:44:10 +08:00
Wu Tianwei
f0a60a9000
feat: enhance DataSources component with marketplace plugin integration and search filtering ( #26810 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 10:43:51 +08:00
yangzheli
f86b6658c9
perf(web): split constant files to improve web performance ( #26794 )
2025-10-13 10:22:34 +08:00
hjlarry
ecaff5b63f
fix loop var change cause collaboration crash
2025-10-13 10:06:50 +08:00
hjlarry
a300c9ef96
fix canvas empty on the bottom
2025-10-13 09:38:59 +08:00
lyzno1
44fe71e4db
fix: ensure comment thread always scrolls to bottom on first render
2025-10-12 13:27:42 +08:00
lyzno1
0ac32188c5
feat: implement comprehensive focus management for comment thread
...
- Add forwardRef support to MentionInput to expose textarea ref
- Auto-focus reply input when thread opens (100ms delay)
- Restore focus after reply submission and edit operations
- Add Esc key handler to close thread with smart guards
- Enhance accessibility with ARIA attributes (dialog, modal, labelledby)
- Improve keyboard navigation and user experience
Implements P0-P3 priorities following WCAG 2.1 AA accessibility standards
2025-10-12 13:21:57 +08:00
lyzno1
9aaace706b
feat: optimize comments panel filter UI and interaction logic
2025-10-12 13:04:24 +08:00
lyzno1
239a11855a
fix: prevent dropdown from closing when showing inline delete confirmation
...
Use pre-rendering strategy with CSS visibility control instead of conditional rendering to avoid race condition between React state update and PortalToFollowElem's click-outside detection.
2025-10-11 20:21:52 +08:00
lyzno1
0632557d91
feat: use inline delete confirm for comment reply deletion(second time)
2025-10-11 18:37:41 +08:00
lyzno1
44be7d4c51
Revert "feat: use inline delete confirm for comment reply deletion"
...
This reverts commit a077a3f609 .
2025-10-11 18:24:15 +08:00
lyzno1
a077a3f609
feat: use inline delete confirm for comment reply deletion
2025-10-11 18:06:31 +08:00
hjlarry
3006133f0e
sync node title
2025-10-11 15:48:51 +08:00
lyzno1
79beb25530
feat: add tooltips and improve delete button styling in CommentThread
...
- Add compact tooltips to Delete, Resolve, Previous, and Next buttons
- Change delete button hover to red background and text
- Use existing i18n translations for tooltip content
2025-10-11 15:22:37 +08:00
lyzno1
b47b228164
fix: align dropdown menu styles with design specs in CommentThread
...
- Update background to blur variant with backdrop filter
- Change border radius from lg to xl (12px)
- Add rounded corners to menu items to prevent hover overflow
2025-10-11 15:10:57 +08:00
lyzno1
be91db14d9
fix: add hover effect to first message in CommentThread
...
Wrap the root comment message with the same hover container as replies to ensure consistent hover behavior across all messages.
2025-10-11 15:08:27 +08:00
lyzno1
120893209e
fix: align CommentPreview styles with design specs
...
- Update border radius to 24px with 3px bottom-left corner
- Change border width to 0.5px
- Add backdrop blur effect with bg-blur variant
- Replace custom shadow with standard shadow-lg
- Maintain proper Tailwind utility class usage
2025-10-11 15:02:06 +08:00
lyzno1
f19630bcf5
Merge remote-tracking branch 'origin/main' into feat/collaboration
2025-10-11 14:43:20 +08:00
lyzno1
9d93fda471
refactor: separate loading states for comment operations
...
Separate loading states to distinguish between different operations:
- activeCommentDetailLoading: loading comment details, delete/resolve operations
- replySubmitting: sending new replies
- replyUpdating: editing existing replies
Changes:
- Add replySubmitting and replyUpdating states to comment store
- Restore full-screen loading overlay for comment detail loading
- Use inline spinner (RiLoader2Line) in send/save buttons for reply operations
- Update loading state usage in handleCommentReply and handleCommentReplyUpdate
- Pass separated loading states from workflow index to CommentThread component
Benefits:
- UI clarity: different loading states have appropriate visual feedback
- Better UX: users can still navigate while sending replies
- Clear separation of concerns: each operation has its own loading state
2025-10-11 14:34:35 +08:00
lyzno1
d986659add
chore: replace Chinese/Japanese comments with English translations
2025-10-11 14:20:37 +08:00
lyzno1
00dab7ca5f
feat: improve mention input loading state and prevent button flash on submit
2025-10-11 14:20:37 +08:00
lyzno1
a4add403fb
Fix MentionInput layout and improve comment hover styling
2025-10-11 14:20:37 +08:00
lyzno1
e9cdc96c74
feat: prevent duplicate @ insertion in mention input with visual feedback
2025-10-11 14:20:37 +08:00
lyzno1
6af1fea232
fix: update mention button icon color for better visibility in light mode
2025-10-11 14:20:37 +08:00
lyzno1
45d5d9e44f
fix: mention input cannot scroll
2025-10-11 14:20:36 +08:00
lyzno1
376a084aca
refactor: use PortalToFollowElem for dropdown with scroll handling
...
- Replace inline dropdown with PortalToFollowElem to prevent container overflow
- Use z-[100] for dropdown to ensure proper stacking
- Remove redundant outside click handler (handled by PortalToFollowElem)
- Add scroll event listener to auto-close dropdown when scrolling
- Dropdown now renders via portal outside message container
2025-10-11 14:20:36 +08:00
lyzno1
d1f42d47fe
fix: improve dropdown menu hover and positioning
2025-10-11 14:20:36 +08:00
lyzno1
64b8fd87ad
fix: improve dropdown menu positioning and z-index
2025-10-11 14:20:36 +08:00
lyzno1
364be48248
feat: add smooth scroll to comment thread
2025-10-11 14:20:36 +08:00
hjlarry
2bce046278
fix node error default value not sync
2025-10-11 14:17:58 +08:00
hjlarry
1120d552b6
fix knowledge node add/delete dataset not sync
2025-10-11 14:09:37 +08:00
hjlarry
69cab0817f
fix comment input hoverd by comment content
2025-10-11 10:41:28 +08:00
hjlarry
c4d03bf378
change event type name of websocket
2025-10-11 09:07:02 +08:00
znn
65b832c46c
pan and zoom during workflow execution ( #24254 )
2025-10-10 17:07:25 +08:00
hjlarry
6c039be2ca
fix jump to other page not disconnect websocket
2025-10-10 16:51:57 +08:00
hjlarry
832dabc8a4
only author can move the comment position
2025-10-10 15:58:01 +08:00
hjlarry
1da2028d9d
keep the previous private property when import node data
2025-10-10 13:26:55 +08:00
hjlarry
7c3f6dcc8d
use cloneDeep instead of json.parse
2025-10-10 10:34:00 +08:00
hjlarry
1472884eb5
sync the create/delete app in the list page
2025-10-10 10:18:23 +08:00
Nan LI
885dff82e3
feat: update HTTP timeout configurations and enhance timeout input handling in UI ( #26685 )
2025-10-10 09:00:06 +08:00
GuanMu
33b0814323
refactor(types): remove any usages and strengthen typings across web and base ( #26677 )
2025-10-09 21:36:42 +08:00
hjlarry
a1712df7c2
comment author avatar is the first avatar
2025-10-09 17:12:37 +08:00
hjlarry
a40e11cb3e
only can edit own replies
2025-10-09 17:02:39 +08:00
hjlarry
61c46bea40
fix missing i18n
2025-10-09 16:55:53 +08:00
hjlarry
1c5c28a82c
fix switch to cursor mode comment input still exists
2025-10-09 16:36:20 +08:00
hjlarry
2310145937
comment reply auto scoll down to bottom
2025-10-09 15:50:23 +08:00
hjlarry
6a9c9cadd0
fix comment hover the variable panel
2025-10-09 15:44:56 +08:00
Asuka Minato
a8746bff30
fix oxlint warnings ( #26634 )
2025-10-09 09:23:34 +08:00
非法操作
c4d8bf0ce9
fix: missing LLM node output var description ( #26648 )
2025-10-09 09:22:45 +08:00
Yadong (Adam) Zhang
654d522b31
perf(web): improve app workflow build performance. ( #26310 )
2025-10-07 14:21:08 +08:00
GuanMu
22f64d60bb
chore: update Dockerfile to use Python 3.12-bookworm and refactor layout logic to utilize ELK for improved node layout ( #26522 )
2025-10-05 12:49:41 +08:00
hjlarry
33d4c95470
can update comment position
2025-10-05 10:17:04 +08:00
hjlarry
659cbc05a9
fix mention-input in the bottom of the browser
2025-10-04 21:24:27 +08:00
hjlarry
6ce65de2cd
fix merged main issues
2025-10-04 21:11:59 +08:00
hjlarry
93b2eb3ff6
Merge remote-tracking branch 'myori/main' into p284
2025-10-04 15:28:29 +08:00
hjlarry
bf71300635
improve comment cursor move
2025-10-04 14:36:10 +08:00
hjlarry
37ecd4a0bc
fix @ input problem
2025-10-04 13:39:00 +08:00
hjlarry
827a1b181b
fix comment icon position
2025-10-04 13:25:59 +08:00
hjlarry
c4e7cb75cd
cache the mentioned users
2025-10-04 11:22:02 +08:00
hjlarry
98e4bfcda8
click comment icon not switch to comment mode
2025-10-03 23:36:56 +08:00
hjlarry
ee48ca7671
fix default comment icon
2025-09-30 15:23:43 +08:00
Copilot
df43c6ab8a
[Chore/Refactor] Implement lazy initialization for useState calls to prevent re-computation ( #26252 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
2025-09-29 20:35:55 +09:00
Wu Tianwei
c43c72c1a3
fix: Fix vector_setting not found error ( #26380 )
2025-09-29 16:12:26 +08:00
Wu Tianwei
1a7898dff1
fix: Fix retrieval configuration handling in dataset components ( #26361 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 14:58:28 +08:00
quicksand
029d5d36ac
Fix: Knowledge Base node crash when retrieval_model is null ( #26397 )
2025-09-29 11:55:06 +08:00
Copilot
beb1448441
[Chore/Refactor] Add missing 'type' attribute on 'button' components ( #26249 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
2025-09-28 13:43:43 +08:00
非法操作
36406cd62f
chore: time from now i18n support ( #26328 )
2025-09-28 13:37:42 +08:00
Asuka Minato
9a7245e1df
rm assigned but unused ( #25639 )
2025-09-27 10:54:25 +08:00
Yongtao Huang
319ecdd312
Fix: avoid mutating node props ( #26266 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-27 09:50:32 +08:00
hjlarry
54ae43ef47
sync children node data
2025-09-26 14:07:34 +08:00
hjlarry
7a74b5ee3e
fix add child node resize parent node size
2025-09-26 14:04:50 +08:00
hjlarry
0e9d43d605
http node data sync
2025-09-26 11:13:20 +08:00
hjlarry
89affe3139
fix opened panel be affected
2025-09-26 09:20:33 +08:00
Wood
eab6f65409
Fix array-only filtering in List Operator picker; remove file children fallback and align child types. ( #26240 )
2025-09-25 22:43:00 +08:00
zxhlyh
915023b809
Chore/remove add node restrict of workflow ( #26218 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-25 18:02:43 +08:00
hjlarry
2c4977dbb1
fix bug
2025-09-25 16:56:06 +08:00
hjlarry
e240175116
sync nodes
2025-09-25 16:31:46 +08:00
hjlarry
a8420ac33c
add fragment to prevent list missing key
2025-09-25 09:52:08 +08:00
hjlarry
8470be6411
improve delete comment i18n
2025-09-25 09:41:59 +08:00
hjlarry
3d6295c622
refactor delete comment and reply
2025-09-25 09:35:46 +08:00
hjlarry
86a9a51952
add comment preview
2025-09-24 12:54:54 +08:00
hjlarry
4188c9a1dd
fix dark theme
2025-09-24 10:08:33 +08:00
hjlarry
8c00f89e36
add icon to zoom2fit
2025-09-23 22:22:28 +08:00
hjlarry
9e8ac5c96b
refactor cursor and add hide comment
2025-09-23 22:13:02 +08:00
hjlarry
05a67f4716
add display/hide collaborator cursors
2025-09-23 17:37:40 +08:00
hjlarry
f49476a206
add show/hide minimap
2025-09-23 17:20:41 +08:00
hjlarry
c1e9c56e25
fix style
2025-09-23 17:19:36 +08:00
GuanMu
fb6ccccc3d
chore: refactor component exports for consistency ( #26033 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-23 17:04:56 +08:00
hjlarry
d5dd73cacf
add i18n for comment
2025-09-23 16:19:04 +08:00
hjlarry
21f7a49b4e
fix restore page crash
2025-09-23 15:44:57 +08:00
hjlarry
716ac04e13
add comment shortcut
2025-09-23 15:40:53 +08:00
hjlarry
c28a32fc47
fix handleModeComment
2025-09-23 15:35:28 +08:00
hjlarry
31cba28e8a
improve comment cursor icon
2025-09-23 15:28:22 +08:00
hjlarry
48cd7e6481
input comment should not cancel comment mode
2025-09-23 14:48:31 +08:00
hjlarry
47aba1c9f9
fix style
2025-09-23 14:41:34 +08:00
hjlarry
0f3f8bc0d9
make mention input can display name different color
2025-09-23 11:38:38 +08:00
hjlarry
e0df12c212
fix mentioned names color
2025-09-23 11:24:17 +08:00
hjlarry
eb448d9bb8
fix avatar background color
2025-09-23 11:09:02 +08:00
hjlarry
0ba77f13db
fix avatar inset
2025-09-23 10:46:18 +08:00
hjlarry
f0a2eb843c
fix user cursor should not over the panel
2025-09-23 10:35:16 +08:00
夏目猫猫
760a2c656c
amend regexp exec ( #25986 )
2025-09-23 00:47:13 +09:00
hjlarry
600ad232e1
fix config
2025-09-22 14:20:11 +08:00
hjlarry
7a3825cfce
fix docker config
2025-09-22 14:20:11 +08:00
hjlarry
9519653422
change default ws url
2025-09-22 14:20:11 +08:00
hjlarry
efa2307c73
change default ws url
2025-09-22 14:20:11 +08:00
hjlarry
068fa3d0e3
fix CI
2025-09-22 14:20:11 +08:00
Joel
1550316b8d
fix: undefined match the wrong output schema ( #25971 )
2025-09-19 17:03:09 +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
hjlarry
b442ba8b2b
fix UserAvatarList background color
2025-09-19 12:07:07 +08:00
hjlarry
10e36d2355
add avatar on canvas node
2025-09-19 10:43:28 +08:00
hjlarry
13c53fedad
add avatar display on node
2025-09-19 10:07:01 +08:00
zxhlyh
4692e20daf
fix: workflow header style ( #25922 )
2025-09-18 17:53:40 +08:00
hjlarry
4bda1bd884
open node panel not affect others
2025-09-18 17:42:02 +08:00
hjlarry
81c6e52401
Merge remote-tracking branch 'origin/p254' into p284
2025-09-18 15:14:55 +08:00
hjlarry
847d257366
Merge branch 'p254' into p284
2025-09-18 14:50:59 +08:00
hjlarry
687662cf1f
comment sync
2025-09-18 13:27:27 +08:00
-LAN-
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
2025-09-18 12:49:10 +08:00
hjlarry
6432d98469
improve the icon display on canvas
2025-09-18 11:49:43 +08:00
hjlarry
088ccf8b8d
add UserAvatarList component
2025-09-18 09:47:07 +08:00
hjlarry
e8683bf957
fix comment cursor position
2025-09-18 09:17:45 +08:00
hjlarry
4653981b6b
not display more icon when in edit mode
2025-09-17 20:45:54 +08:00
hjlarry
e2547413d3
fix edit input mouse pos
2025-09-17 20:40:59 +08:00
hjlarry
ea17f41b5b
refactor reply code
2025-09-17 20:29:23 +08:00
hjlarry
29178d8adf
can edit and delete a reply
2025-09-17 17:44:09 +08:00
hjlarry
7e86ead574
upgrade style
2025-09-17 16:41:10 +08:00
hjlarry
72debcb228
refactor mention input
2025-09-17 16:28:47 +08:00
hjlarry
72737dabc7
fix at can't click bug
2025-09-17 14:50:05 +08:00
hjlarry
f6e5cb4381
improve comment detail
2025-09-17 14:34:36 +08:00
hjlarry
ffad3b5fb1
comment detail window fix height
2025-09-17 13:45:56 +08:00
hjlarry
cba9fc3020
add comment reply
2025-09-17 12:50:42 +08:00
hjlarry
e776accaf3
add top operation buttons of comment detail
2025-09-17 10:45:15 +08:00
hjlarry
3eac26929a
sync the comment panel and canvas
2025-09-17 09:13:31 +08:00
hjlarry
4d3adec738
click canvas icon display the active comment detail
2025-09-17 09:01:16 +08:00
hjlarry
89bed479e4
improve comment panel
2025-09-16 17:25:51 +08:00
hjlarry
fdd673a3a9
improve comments panel
2025-09-16 13:39:31 +08:00
hjlarry
22f6d285c7
fix comment cursor in panel incorrect
2025-09-16 10:20:12 +08:00
hjlarry
10aa16b471
add workflow comment panel
2025-09-16 09:51:12 +08:00
miwa
74340e3c04
Bugfix: When i change the loop variable, 'Loop Termination Condition' wi… ( #25695 )
...
Co-authored-by: fengminhua <fengminhua@52tt.com>
2025-09-16 09:46:44 +08:00
chengjoey
169ce71e59
fix(web): custom-tool output_schema.properties missing type ( #25731 )
...
Co-authored-by: joeyczheng <joeyczheng@tencent.com>
2025-09-15 21:21:25 +08:00
hjlarry
b3838581fd
improve mention
2025-09-15 17:13:46 +08:00
hjlarry
affbe7ccdb
can mention user in the create comment
2025-09-15 16:42:31 +08:00
hjlarry
dd8577f832
comments display on canvas
2025-09-15 14:16:06 +08:00
hjlarry
d7f5da5df4
display comments avatar on the canvas
2025-09-15 11:41:06 +08:00
hjlarry
9fda130b3a
fix click comment once more then esc not work
2025-09-15 11:11:07 +08:00
Joel
9bb7bcf52e
feat: user message support generate prompt ( #25689 )
2025-09-15 10:17:19 +08:00
hjlarry
72cdbdba0f
fix chat input style
2025-09-15 09:20:06 +08:00
yo
5c50c3aa70
fix: allow empty values in Variable Inspector ( #25644 )
2025-09-14 14:10:12 +08:00
hjlarry
b92a153902
refactor code
2025-09-14 13:03:08 +08:00
hjlarry
9f2927979b
fix comment cursor icon
2025-09-14 12:50:18 +08:00
hjlarry
75257232c3
add create comment frontend
2025-09-14 12:10:37 +08:00
17hz
635e7d3e70
fix: Cannot modify values when startNode has defaultValue ( #25595 )
2025-09-12 21:11:24 +08:00
Tianyi Jing
c3f9a7ed9b
feat: add type integer to VarType ( #25500 )
...
Signed-off-by: jingfelix <jingfelix@outlook.com>
2025-09-12 21:09:41 +08:00
hjlarry
fc230bcc59
add force update workflow to support restore
2025-09-12 16:27:12 +08:00
hjlarry
b4636ddf44
add leader restore workflow
2025-09-12 15:34:41 +08:00
hjlarry
b1140301a4
sync import dsl
2025-09-12 14:46:40 +08:00
Matri Qi
33afa7c84a
Fix/disable no unsafe optional chaining ( #25553 )
2025-09-12 10:03:34 +08:00
Asuka Minato
77ba3e8f26
add autofix pnpm ( #25557 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-12 09:37:54 +08:00
椰子糖
4b6687db6b
Fix log time display bug ( #25475 )
...
Co-authored-by: wxliqigang <wxliqigang@gfpartner.com.cn>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-12 02:46:04 +09:00
hjlarry
58cd785da6
use const for cursor move config
2025-09-11 09:36:22 +08:00
hjlarry
2035186cd2
click avatar to follow user cursor position
2025-09-11 09:26:05 +08:00
hjlarry
53ba6aadff
cursor pos transform to canvas
2025-09-11 09:07:03 +08:00
Wu Tianwei
b690ac4e2a
fix: Remove sticky positioning from workflow component fields ( #25470 )
2025-09-10 15:17:49 +08:00
hjlarry
f091868b7c
use new get avatar api
2025-09-10 15:15:43 +08:00
hjlarry
89bedae0d3
remove the test code for develop collaboration
2025-09-10 14:27:20 +08:00
hjlarry
21fee59b22
use new features update api
2025-09-10 14:24:38 +08:00
hjlarry
957a8253f8
change user list to conversation var panel left
2025-09-10 09:26:38 +08:00
hjlarry
d5fc3e7bed
add new conversation vars update api
2025-09-10 09:24:22 +08:00
hjlarry
ab438b42da
use new env variables update api
2025-09-10 09:07:55 +08:00
crazywoola
eb52216a9c
Revert "example of remove useEffect" ( #25418 )
2025-09-09 16:23:44 +08:00
XiamuSanhua
ac2aa967c4
feat: change history by supplementary node information ( #25294 )
...
Co-authored-by: alleschen <alleschen@tencent.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-09 15:18:42 +08:00
Wu Tianwei
37975319f2
feat: Add customized json schema validation ( #25408 )
2025-09-09 15:15:32 +08:00
hjlarry
3867fece4a
mcp server update
2025-09-09 15:01:38 +08:00
hjlarry
2b908d4fbe
add app state update
2025-09-09 14:24:37 +08:00
hjlarry
8ff062ec8b
change user default color
2025-09-09 10:20:02 +08:00
hjlarry
294fc41aec
add redo undo manager of CRDT
2025-09-09 09:58:55 +08:00
Matri Qi
563a5af9e7
Fix/disable no constant binary expression ( #25311 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 20:44:20 +08:00
hjlarry
684f7df158
node data use crdt data
2025-09-08 14:46:28 +08:00
zyileven
98204d78fb
Refactor:upgrade react19 ref as props ( #25225 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:46:02 +08:00
hjlarry
c3287755e3
add request leader to sync graph
2025-09-08 09:00:20 +08:00
hjlarry
9f97f4d79e
fix cursor style
2025-09-06 15:54:19 +08:00
hjlarry
34eb421649
add currentUserId is me
2025-09-06 12:27:54 +08:00
hjlarry
850b05573e
add dropdown users list
2025-09-06 12:01:49 +08:00
hjlarry
6ec8bfdfee
add mouse over avatar display username
2025-09-06 11:29:45 +08:00
hjlarry
81638c248e
use one getUserColor func
2025-09-06 11:22:59 +08:00
hjlarry
2e11b1298e
add online users avatar
2025-09-06 11:19:47 +08:00
hjlarry
20320f3a27
show online users on the canvas
2025-09-06 00:08:17 +08:00
taewoong Kim
edf4a1b652
feat: add reasoning format processing to LLMNode for <think> tag handling ( #23313 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 18:15:35 +08:00
Asuka Minato
a9da8edbde
example of remove useEffect ( #25212 )
2025-09-05 17:35:59 +08:00
Asuka Minato
d03d3518d7
example of lazy ( #25216 )
2025-09-05 17:35:50 +08:00
Asuka Minato
f0561c0c3b
to RefObject ( #25192 )
2025-09-05 10:14:13 +08:00
CrabSAMA
8d5f788f2b
feat(workflow): Allow paste node into nested block ( #24234 )
...
Co-authored-by: crab.huang <crab.huang@huolala.cn>
2025-09-04 15:21:43 +08:00
znn
ebbb4a5d0b
fix png jpeg export ( #25110 )
2025-09-04 11:05:45 +08:00
17hz
a7627882a7
fix: Boolean type control is not displayed ( #25031 )
...
Co-authored-by: WTW0313 <twwu@dify.ai>
2025-09-03 15:39:09 +08:00
17hz
60c5bdd62f
fix: remove redundant z-index from Field component ( #25034 )
2025-09-03 10:39:07 +08:00
GuanMu
25a11bfafc
Export DSL from history ( #24939 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 21:36:52 +08:00
17hz
044f96bd93
feat: LLM prompt Jinja2 template now support more variables ( #24944 )
2025-09-02 11:59:31 +08:00
Yongtao Huang
208ce4e774
CI: add TS indentation check via esLint ( #24810 )
2025-09-01 15:31:59 +08:00
17hz
529791ce62
fix: Variable Aggregator cannot select conversation variables ( #24793 )
2025-08-31 17:03:36 +08:00
lyzno1
e5e42bc483
fix: XSS vulnerability in block-input and support-var-input components ( #24835 )
2025-08-31 17:01:10 +08:00
zyileven
52e9bcbfdb
fix(web): improve floating UI positioning when scrolling ( #24595 ) ( #24782 )
2025-08-29 16:49:13 +08:00
Joel
fab5740778
fix: can not choose file type var in aggreggator node ( #24689 )
2025-08-28 14:28:46 +08:00
GuanMu
fbceda7b66
fix: workflow log panel's round style ( #24658 )
2025-08-28 09:20:17 +08:00