yyh
6f582c1b2f
fix(web): remove indicator from WorkplaceSelector and restore original item padding
...
The indicator was unnecessary (current workspace is shown in the trigger)
and shifted layout, breaking avatar alignment. Restore original
gap-2/pl-3/pr-2 spacing. Mark SelectItemIndicator as @public for Knip.
Made-with: Cursor
2026-04-16 11:13:07 +08:00
yyh
f734c35443
refactor(web): redesign SelectTrigger as pure re-export and migrate WorkplaceSelector to Select
...
SelectTrigger was a heavily styled function coupling ARIA trigger
behavior with form-input appearance (input bg, size variants, built-in
chevron, clearable/loading). This made it unusable for non-form contexts
like WorkplaceSelector and inconsistent with DropdownMenuTrigger which
is a pure re-export.
- SelectTrigger is now a pure re-export of BaseSelect.Trigger (aligned
with DropdownMenuTrigger pattern)
- Added SelectIcon re-export for composed triggers needing chevron state
- Removed SelectPrimitiveTrigger, selectTriggerVariants, contentPadding,
and SelectTriggerProps
- 3 form callers migrated to inline composition with className
- WorkplaceSelector migrated from @headlessui/react Menu to base-ui
Select with correct listbox semantics, fixing the focus ring issue
Made-with: Cursor
2026-04-16 11:06:03 +08:00
yyh
538093855b
refactor(web): align Switch API with Base UI naming convention ( #35269 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-04-15 15:47:59 +00:00
yyh
af7d5e60b4
feat(ui): scaffold @langgenius/dify-ui and migrate design tokens ( #35256 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-15 13:11:20 +00:00
yyh
50a55513d4
refactor(ui): decouple CSS dependencies and improve test quality ( #35242 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-15 07:03:40 +00:00
Coding On Star
2c58b424a1
refactor(web): migrate confirm dialogs to base/ui/alert-dialog ( #35127 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-04-14 14:46:26 +00:00
yyh
ebf741114d
refactor(web): replace Button destructive boolean with tone semantic axis ( #35176 )
2026-04-14 14:16:39 +00:00
yyh
e1bbe57f9c
refactor(web): re-design button api ( #35166 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-14 13:22:23 +00:00
yyh
79c1473378
refactor(web): align tooltip content class props ( #35135 )
2026-04-14 04:21:55 +00:00
yyh
f42c1b68a4
refactor(web): move avatar to base ui ( #34889 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 04:44:05 +00:00
Coding On Star
1ce6e279f0
test: add unit tests for AppPublisher, Sidebar, Chat, FileUploader, Form Demo, Notion Page Selector, Prompt Editor, and Header Navigation components ( #34802 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-04-09 07:30:51 +00:00
agenthaulk
e55bd61c17
refactor: replace useContext with use in selected batch ( #34450 )
2026-04-03 03:37:35 +00:00
Stephen Zhou
36e840cd87
chore: knip fix ( #34481 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-02 15:03:42 +00:00
Stephen Zhou
894826771a
chore: clean up useless tailwind reference ( #34478 )
2026-04-02 11:45:19 +00:00
Stephen Zhou
1873b22e96
refactor: update to tailwind v4 ( #34415 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-04-02 07:06:11 +00:00
yyh
f9d9ad7a38
refactor(web): migrate remaining toast usage ( #34433 )
2026-04-02 04:16:50 +00:00
Stephen Zhou
07f4950cb3
test: use happy dom ( #34154 )
2026-03-27 01:46:19 +00:00
Stephen Zhou
c32eebf57d
refactor: use ungh for github api ( #34108 )
2026-03-26 14:37:17 +08:00
yyh
a8e1ff85db
feat(web): base-ui slider ( #34064 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 16:03:49 +08:00
scdeng
67d5c9d148
feat: configurable model parameters with variable reference support in LLM, Question Classifier and Variable Extractor nodes ( #33082 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:41:51 +08:00
Stephen Zhou
0c3d11f920
refactor: lazy load large modules ( #33888 )
2026-03-24 15:29:42 +08:00
yyh
075b8bf1ae
fix(web): update account settings header ( #33965 )
2026-03-24 10:04:08 +08:00
Coding On Star
fdc880bc67
test(workflow): add unit tests for workflow components ( #33910 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-23 16:37:03 +08:00
yyh
dc1a68661c
refactor(web): migrate members invite overlays to base ui ( #33922 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-23 16:31:41 +08:00
yyh
25a83065d2
refactor(web): remove legacy data-source settings ( #33905 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-23 15:19:20 +08:00
yyh
27ed40225d
refactor(web): update frontend toast call sites to use the new shortcut API ( #33808 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-20 16:02:22 +08:00
Tim Ren
8bebec57c1
fix: remove legacy z-index overrides on model config popup ( #33769 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 10:40:30 +08:00
Stephen Zhou
4254392221
fix: leaked set timeout ( #33692 )
2026-03-18 23:46:22 +08:00
yyh
93f9546353
refactor(web): migrate core toast call sites to base ui toast ( #33643 )
2026-03-18 16:53:55 +08:00
yyh
296b7044af
refactor: route next/navigation through compat re-export ( #33636 )
2026-03-18 12:57:03 +08:00
yyh
69d1ccb7a7
refactor: route next/link through compat re-export ( #33632 )
2026-03-18 12:14:59 +08:00
Coding On Star
6100acb780
refactor(web): move component tests into sibling __tests__ directories ( #33623 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-18 10:49:30 +08:00
yyh
bbe975c6bc
feat: enhance model plugin workflow checks and model provider management UX ( #33289 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: statxc <tyleradams93226@gmail.com>
2026-03-18 10:16:15 +08:00
Coding On Star
6da802eb2a
refactor(custom): reorganize web app brand module and raise coverage threshold ( #33531 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-16 18:17:21 +08:00
Stephen Zhou
4822d550b6
chore: remove next img ( #33517 )
2026-03-16 16:48:22 +08:00
yyh
c43307dae1
refactor(switch): Base UI migration with loading/skeleton variants ( #33345 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 14:40:43 +08:00
yyh
5d0c3d58ac
refactor(avatar): migrate to Base UI primitives with Record size variants ( #33268 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 14:26:04 +08:00
yyh
0590b09958
feat(web): add context menu primitive and dropdown link item ( #33125 )
2026-03-09 12:05:38 +08:00
akashseth-ifp
7dcf94f48f
test: remaining header component and increase branch coverage ( #33052 )
...
Co-authored-by: sahil <sahil@infocusp.com>
2026-03-09 09:18:11 +08:00
Nite Knite
09347d5e8b
chore: fix account dropdown test ( #33093 )
2026-03-06 18:19:02 +08:00
Nite Knite
0490756ab2
chore: add support email env ( #33075 )
2026-03-06 14:29:29 +08:00
Stephen Zhou
f487b680f5
refactor: spilt context for better hmr ( #33033 )
2026-03-05 15:54:56 +08:00
Stephen Zhou
a4373d8b7b
chore: i18n hmr support, fix hmr for app context ( #32997 )
2026-03-05 10:45:16 +08:00
yyh
dfc6de69c3
refactor(web): migrate Button to Base UI with focus-visible ( #32941 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
2026-03-04 13:55:13 +08:00
yyh
1c1edb4a22
fix: keep account dropdown open when switching theme ( #32918 )
2026-03-04 09:53:36 +08:00
yyh
7f67e1a2fc
feat(web): overlay migration guardrails + Base UI primitives ( #32824 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-03 16:56:13 +08:00
Stephen Zhou
eb66d36ea8
chore: add vinext as dev server ( #32559 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-01 09:54:39 +08:00
yyh
35b31d0cdd
ci(web): parallelize web tests with 4-shard Vitest sharding ( #32713 )
2026-02-27 21:33:12 +08:00
-LAN-
f73be8d69e
feat(web): add hover clear button for provider search ( #32707 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-02-27 20:42:30 +08:00
Poojan
5b45b62994
test: improve coverage for header components ( #32628 )
2026-02-27 10:27:46 +08:00