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
Stephen Zhou
ab1c5a2027
refactor: remove manual set query logic ( #31039 )
2026-01-15 15:25:43 +08:00
yyh
ff632bf9b8
feat(workflow): persist view tab state to URL search params
...
Use nuqs to sync graph/skill view selection to URL, enabling
shareable links and browser history navigation. Hoists
SkillEditorProvider to maintain state across view switches.
2026-01-15 15:09:36 +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
hjlarry
4b57e7bd53
fix
2026-01-15 11:42:34 +08:00
-LAN-
0ef8b5a0ca
chore: bump version to 1.11.4 ( #30961 )
2026-01-15 11:36:15 +08:00
Joel
3bd434ddf2
chore: ui enchance
2026-01-15 11:35:48 +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
yyh
3a86983207
refactor(web): nest sandbox provider contracts
2026-01-15 11:04: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
yyh
657739d48b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/models/model.py
# web/contract/router.ts
2026-01-15 10:59:45 +08:00
Coding On Star and CodingOnStar
bdd8d5b470
test: add unit tests for PluginPage and related components ( #30908 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:56:02 +08:00
yyh
f8b27dd662
fix(web): accept 2xx status codes in upload function for HTTP semantics
...
The upload helper was hardcoded to only accept HTTP 201, which broke
PUT requests that return 200. This aligns with standard HTTP semantics
where POST returns 201 Created and PUT returns 200 OK.
2026-01-15 10:54:42 +08:00
yyh
3bee2ee067
refactor(contract): restructure console contracts with nested billing module ( #30999 )
2026-01-15 10:41:18 +08:00
Stephen Zhou
328897f81c
build: require node 24.13.0 ( #30945 )
2026-01-15 10:38:55 +08:00
Coding On Star and CodingOnStar
ab078380a3
feat(web): refactor documents component structure and enhance functionality ( #30854 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:33:58 +08:00
Coding On Star and CodingOnStar
a33ac77a22
feat: implement document creation pipeline with multi-step wizard and datasource management ( #30843 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-15 10:33:48 +08:00
wangxiaolei
c6999fb5be
fix: fix plugin edit endpoint app disappear ( #30951 )
2026-01-15 10:09:57 +08:00
yyh
18c7f4698a
feat(web): add oRPC contracts and service hooks for app asset API
...
- Add TypeScript types for app asset management (types/app-asset.ts)
- Add oRPC contract definitions with nested router pattern (contract/console/app-asset.ts)
- Add React Query hooks for all asset operations (service/use-app-asset.ts)
- Integrate app asset contracts into console router
Endpoints covered: tree, createFolder, createFile, getFileContent,
updateFileContent, deleteNode, renameNode, moveNode, reorderNode, publish
2026-01-15 09:50:05 +08:00
zhsama
ccb337e8eb
fix: Sync extractor prompt template with tool input text
2026-01-15 04:09:35 +08:00
zhsama
1ff677c300
refactor: Remove unused sub-graph persistence and initialization hooks.
...
Simplified sub-graph store by removing unused state fields and setters.
2026-01-15 04:08:42 +08:00
zhsama
04145b19a1
refactor: refactor prompt template processing logic
2026-01-15 01:14:46 +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
yyh
384b99435b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/.env.example
# api/uv.lock
2026-01-14 21:14:36 +08:00
Milad Rashidikhah
11f1782df0
fix: correct API Extension documentation link ( #30962 )
2026-01-14 21:21:15 +09:00
wangxiaolei
8cf5d9a6a1
fix: fix Cannot destructure property 'name' of 'value' as it is undef… ( #30991 )
2026-01-14 19:30:47 +08:00
zhsama
4828348532
feat: Add structured output to sub-graph LLM nodes
2026-01-14 17:25:06 +08:00
Stephen Zhou
f33b1a3332
fix: redirect after login ( #30985 )
2026-01-14 17:20:49 +08:00
Joel
be5a4cf5e3
temp fix: tab change caused empty the nodes
2026-01-14 17:20:40 +08:00
yyh
18e051bd66
chore(web): remove unused demo service component ( #30979 )
2026-01-14 17:03:35 +08:00
yyh
d17a92f713
refactor(web): split sandbox provider contracts into separate file
...
Move sandbox provider related contracts from contract/console.ts
to contract/console/sandbox-provider.ts for better organization
2026-01-14 16:46:04 +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
yyh
c6ddf89980
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 16:24:47 +08:00
yyh
42f991dbef
chore(web): disable Serwist dev logs ( #30980 )
2026-01-14 16:23:58 +08:00
yyh
71c39ae583
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-14 16:23:57 +08:00