Commit Graph

4645 Commits

Author SHA1 Message Date
yyh
ee2df33e73 revert: remove dark mode flash fix and restore ThemeProvider position
Revert commits adf450c and fb679962 that attempted to fix dark mode
flash by adding an inline theme script and moving ThemeProvider.
2026-02-10 15:31:26 +08:00
yyh
fb679962a3 try 2026-02-10 15:23:48 +08:00
yyh
adf450c712 fix: try to fix flash in dark mode 2026-02-10 15:15:13 +08:00
yyh
573e099f6c fix(web): preserve current URL on 401 redirect and harden token refresh lock
- Build signin URL with redirect param so users return to their
  original page after re-authentication
- Replace naive refresh lock with token-based ownership to prevent
  cross-tab lock release conflicts
- Add stale lock detection with max age to avoid deadlocks from
  crashed tabs
- Add timeout to waitUntilTokenRefreshed to prevent infinite polling
- Add tests for signin redirect URL building and refresh token logic
2026-02-10 14:57:26 +08:00
yyh
ae59074c59 refactor(web): preserve all OAuth query params and remove legacy storage fallback
- Use searchParams.toString() to forward all query params instead of
  manually encoding only client_id and redirect_uri
- Remove legacy localStorage fallback since storage utility is now
  the sole persistence layer
- Add tests for OAuth authorize page, home page, and post-login redirect
2026-02-10 14:39:05 +08:00
yyh
868423a138 refactor(web): migrate OAuth redirect storage to utility and preserve query params
- Use storage utility instead of raw localStorage for OAuth pending
  redirect with legacy fallback for backward compatibility
- Forward search params from root page to /apps so query strings
  (e.g. redirect_url) are not lost during server-side redirect
2026-02-10 14:23:47 +08:00
Joel
b906188cf9 fix: tool item not align to center 2026-02-10 13:58:35 +08:00
yyh
4d439028e5 refactor(web): simplify home page redirect and replace dayjs with native Date API
Move OAuth pending redirect check out of page.tsx since AppInitializer
already handles it globally. Simplify home page to a server-side redirect
and remove dayjs dependency in favor of native Date.now().
2026-02-10 13:53:46 +08:00
Joel
34bff10782 chore: tool group to plugin explore 2026-02-10 13:51:14 +08:00
Joel
1af4e5dda2 feat: tool group handle missing 2026-02-10 13:49:44 +08:00
Joel
1502121125 chore: enchance missting link to explore tab 2026-02-10 13:35:33 +08:00
Junyan Chin
93734d2c9a fix(web): redirect to OAuth authorize page after login instead of /apps (#32177)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 12:32:39 +08:00
Joel
b820c7d1cb feat: plugin not found show 2026-02-10 11:46:12 +08:00
yyh
3ced895f4c fix(i18n): use 沙盒 instead of 沙箱 for sandbox translations 2026-02-10 11:37:18 +08:00
zhsama
f6b0fda9f7 Merge branch 'zhsama/remove-reasoning-ui' into feat/support-agent-sandbox 2026-02-10 00:59:08 +08:00
zhsama
f359bbc5de Merge branch 'zhsama/structured-var-search' into feat/support-agent-sandbox 2026-02-10 00:56:14 +08:00
zhsama
7067b5f3cb chore: eslint suppressions 2026-02-10 00:55:44 +08:00
zhsama
d47bc3abc4 feat: Thread nodeOutputVars through HITL and workflow variable components 2026-02-10 00:55:06 +08:00
zhsama
fff2c11d9c refactor(web): remove LLM reasoning format config and clean up locale strings 2026-02-09 23:57:27 +08:00
zhsama
001950d9f8 feat(workflow): support nested variable path search in variable reference picker 2026-02-09 23:50:08 +08:00
zhsama
41b218f427 feat: LLM node to only show generation output var when computer use is
enabled, matching the actual output structure.
2026-02-09 23:40:42 +08:00
zhsama
a71f336ee0 chore: Add chat history display name mapping for workflow variables 2026-02-09 23:24:53 +08:00
zhsama
cce7970f77 chore: Rename context variable to Chat History in UI 2026-02-09 23:24:53 +08:00
zhsama
fcf2a334d2 Merge remote-tracking branch 'origin/feat/support-agent-sandbox' into feat/support-agent-sandbox 2026-02-09 21:08:10 +08:00
Harry
f80b5a9537 fix: update SSH VM label and description for clarity 2026-02-09 20:42:13 +08:00
zhsama
defa99e6cd Revert "chore: Update prompt editor context labels to Chat History"
This reverts commit ecf4c06ed7.
2026-02-09 20:23:03 +08:00
yyh
9e10b73b54 refactor(skill): replace @remixicon/react imports with CSS icon classes
Migrate all Remixicon component imports in workflow/skill to Tailwind CSS
icon utility classes (i-ri-*), reducing JS bundle size. Update MenuItem
to accept string icon classes alongside React components. Adjust test
selectors that relied on SVG element queries.
2026-02-09 19:51:05 +08:00
yyh
db0c527ce8 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox 2026-02-09 18:43:04 +08:00
Stephen Zhou
e0fcf33979 chore: introduce css icons (#32004) 2026-02-09 18:37:41 +08:00
Stephen Zhou
898e09264b chore: detect utilities in css (#32143) 2026-02-09 18:20:09 +08:00
Joel
64e338ece5 fix: db popup selector not show 2026-02-09 18:12:50 +08:00
Joel
91649c9bfd fix: skill preview error 2026-02-09 17:12:01 +08:00
Stephen Zhou
ff7b62f2de chore: fix type for useTranslation in #i18n (#32134)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-09 16:47:23 +08:00
yyh
363802aa66 chore(web): comprehensive unit tests 2026-02-09 16:47:23 +08:00
Joel
3a1eefa477 feat: in editor preview support change the same to file preview 2026-02-09 16:45:29 +08:00
Stephen Zhou
4e0a7a7f9e chore: fix type for useTranslation in #i18n (#32134)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-09 16:42:53 +08:00
Harry
3c0b50ee77 feat(sandbox): add SSH agentbox provider for middleware and docker deployments 2026-02-09 16:38:05 +08:00
Joel
b014e91740 chore: refact tool and filepreveiw context to zustand to reduce rerender 2026-02-09 16:06:23 +08:00
wangxiaolei
8f6a8997f4 fix: fix trigger output schema miss (#32116) 2026-02-09 15:46:59 +08:00
GuanMu
63d965bc44 fix: pass user timezone from app context to the date picker component. (#31831)
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-02-09 15:39:24 +08:00
盐粒 Yanli
a303560b98 feat: Service API - add end-user lookup endpoint (#32015)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-09 15:39:16 +08:00
Stephen Zhou
6f50915d2b test: stable test (#32108) 2026-02-09 15:39:08 +08:00
Yessenia-d
bc9ca4e0dd style: update banner item styles and enhance dark/light theme variables (#32111)
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>
2026-02-09 15:34:31 +08:00
yyh
ca243d7efc chore(web): pre-align HITL frontend from build/feat/hitl 2026-02-09 15:34:15 +08:00
Yessenia-d
e4ab6e0919 style: update banner item styles and enhance dark/light theme variables (#32111)
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>
2026-02-09 15:32:40 +08:00
Joel
b289e6a2b6 fix: basic app crash by llm editor use the workflow context 2026-02-09 15:19:52 +08:00
QuantumGhost
a1fc280102 feat: Human Input Node (#32060)
The frontend and backend implementation for the human input node.

Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
2026-02-09 14:57:23 +08:00
wangxiaolei
56e3a55023 fix: fix trigger output schema miss (#32116) 2026-02-09 14:54:21 +08:00
Joel
2d6b30f3b8 fix: stop but tracing is still loaing and not show current tracing res 2026-02-09 14:39:06 +08:00
GuanMu
6c63c6a221 fix: pass user timezone from app context to the date picker component. (#31831)
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-02-09 14:10:24 +08:00