Commit Graph

507 Commits

Author SHA1 Message Date
CodingOnStar
17135522af fix(web): address marketplace review comments
Gate iframe install on plugin.install, keep the 15s deadline off package
downloads, abort cancelled collection fetches, bound /templates prefetch,
and stop caching partial template-collection failures. Revert unrelated
Main Nav order and icon styling, remove the unused performance E2E
bundle, and expose a standalone Marketplace entry instead of Knip path
aliases.
2026-09-02 14:25:14 +08:00
CodingOnStar
c04ca2ff36 Merge remote-tracking branch 'origin/main' into feat/creator-profile-home
# Conflicts:
#	e2e/package.json
2026-09-02 10:42:27 +08:00
Joel
770b83d9cc
fix: handle published workflow request failures in access points (#41572) 2026-09-01 06:37:25 +00:00
CodingOnStar
93fd770780 chore(web): shorten marketplace timeout and Flight comments
Keep the constraint, drop incident-history prose that will go stale now
that tests encode the async-page rule and the 15s deadline.
2026-08-31 22:59:50 +08:00
CodingOnStar
8765886d6c fix(web): satisfy marketplace lint and restore skill APIs from main
Restore the current skill/agent stack from origin/main after the merge, then fix marketplace lint, formatting, and type mismatches so Style Check can pass.
2026-08-31 19:32:32 +08:00
CodingOnStar
65af1ca9ec merge: bring origin/main into feat/creator-profile-home 2026-08-31 19:10:20 +08:00
Coding On Star
c6ca395042
fix(web): make registration tracking consent-safe and retryable (#41365)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-08-31 03:39:37 +00:00
CodingOnStar
c244b9d685 Merge origin/main into feat/creator-profile-home
Keep marketplace card-wrapper dialog and partner-only carousel autoplay.
Take main's skills permissions, skill card actions, and agent orchestrate
layout. Union oxlint suppressions from both sides.
2026-08-31 10:13:38 +08:00
Wu Tianwei
1971450ad8
fix: protect workspace owners in resource access (#41423) 2026-08-28 03:03:40 +00:00
L1nSn0w
66a3c9620a fix(web): stop Marketplace search jitter and indefinite loading
Three independent defects made catalog search feel unstable.

Stale results flash on every search. `isSearchMode` was derived from the raw
nuqs `q` while the request body used the 500ms-debounced value, so keystroke #1
flipped into search mode with an empty query. That fired a full empty-query
search whose generic top-plugins list rendered for the debounce window before
the real results replaced it. Both now read the same debounced value.

Grid unmount on every query change. The infinite query had no
`placeholderData`, so `data` went undefined whenever the key changed and
ListWrapper's `!isLoading` gate tore the whole result grid out, collapsing the
container and jumping the scroll position. Measured against a live catalog, a
sort change blanked the grid for 152 of 360 sampled frames; with
`keepPreviousData` and an `isRefreshing` dim it is 0 of 461.

Requests that never settle. The Marketplace oRPC link called `globalThis.fetch`
with no deadline, so a stalled connection left the query pending forever with
no error state and no retry — the reported permanent spinner. Requests now
carry a 15s deadline composed with (never replacing) react-query's abort
signal. The server prefetch and the banner fetch get their own 2.5s budget:
awaiting them unbounded held the whole RSC response, pushing time-to-first-byte
to ~7s against a 3s-delayed API while the browser sat on the previous page.

Supporting changes:

- `getMarketplacePlugins` and `getMarketplaceCollectionsAndPlugins` no longer
  swallow every rejection into a successful empty page. That turned outages
  and aborted keystrokes into "no plugins found", suppressed retries, cached
  the emptiness for the full staleTime, and killed `getNextPageParam`
  permanently via `total: 0`. ListWrapper now renders a retry affordance.
- The collections fan-out is bounded to 4 concurrent requests instead of
  firing one per collection at once, and per-collection failures degrade to an
  empty carousel rather than a blank catalog.
- Scroll pagination measures once per frame instead of per scroll event. Each
  threshold hit calls `fetchNextPage`, which defaults to `cancelRefetch: true`,
  so an unthrottled burst aborted and restarted the in-flight page request —
  and the backend counts those aborts against its search circuit breaker.
- Cross-page results are deduped by `org/name`; Meilisearch resolves
  `install_count` ties by document order and the sync task rewrites those
  documents every minute, so pages can overlap and collide on React keys.
- Search queries no longer inherit `retry: 3`; ~7s of backoff reads as a hang.
2026-08-27 16:27:42 +08:00
非法操作
735d814dc0
fix(web): use management provider list for MCP integrations (#41360) 2026-08-27 06:49:47 +00:00
CodingOnStar
e7e502d1e7 merge: bring origin/main into feat/creator-profile-home 2026-08-26 15:28:59 +08:00
Wu Tianwei
73dd8739ef
feat: optimize resource access config logic (#41164)
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-26 07:18:57 +00:00
非法操作
f360a7bf94
fix: allow OAuth trigger builder verification without credentials (#39199)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-25 05:32:27 +00:00
CodingOnStar
ebe06c7eee merge: bring origin/main into feat/creator-profile-home 2026-08-25 11:28:23 +08:00
wangxiaolei
0024a845f7
feat: support agent skill (#39675)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: 起岚 <155608604+xiaoyaoqilan@users.noreply.github.com>
Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
Co-authored-by: Escape0707 <tothesong@gmail.com>
Co-authored-by: Xin Zhang <zhangxin@dify.ai>
Co-authored-by: iridescentWen <66297467+iridescentWen@users.noreply.github.com>
Co-authored-by: Bond Zhu <37842169+MRZHUH@users.noreply.github.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: Chester <superdiao6@gmail.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
Co-authored-by: Jony <619963502@qq.com>
Co-authored-by: Jony <13896935+zyz619963502zyz@users.noreply.github.com>
Co-authored-by: Harsh Kashyap <harsh.kashyap2001@gmail.com>
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com>
Co-authored-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: csurong <csurong1@gmail.com>
Co-authored-by: caosurong <surong.cao@thinkingdata.cn>
Co-authored-by: Taranum Wasu <81034301+Taranum01@users.noreply.github.com>
Co-authored-by: Taranum01 <50813317+Taranum01@users.noreply.github.com>
Co-authored-by: Pranav Agarwal <agarwalpranav0711@gmail.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: zl86790 <marshal_li_b@163.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-08-24 05:29:14 +00:00
CodingOnStar
e377dd0d91 merge: bring origin/main into feat/creator-profile-home
# Conflicts:
#	api/controllers/console/tag/tags.py
#	api/openapi/markdown/console-openapi.md
#	api/services/app_service.py
#	oxlint-suppressions.json
#	packages/contracts/generated/api/console/tags/types.gen.ts
#	packages/contracts/generated/api/console/tags/zod.gen.ts
#	packages/contracts/generated/api/console/workspaces/orpc.gen.ts
2026-08-24 12:15:37 +08:00
AsperforMias
3f7e6cdcb4
fix(tts): propagate and validate actual audio MIME (#41043)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-08-24 03:38:09 +00:00
FFXN
248df5dd25
fix(snippet): support snippet history version export (#41012)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-20 08:52:45 +00:00
非法操作
f97fc01c2f
refactor(api): extract recommended app query service (#40207) 2026-08-20 08:45:47 +00:00
CodingOnStar
e3b8e26192 merge: bring origin/main into feat/creator-profile-home
# Conflicts:
#	api/openapi/markdown/console-openapi.md
#	api/services/agent_config_service.py
#	api/tests/unit_tests/services/agent/test_skill_standardize_service.py
#	knip.config.ts
#	oxlint-suppressions.json
#	packages/contracts/generated/api/console/agent/zod.gen.ts
#	packages/contracts/generated/api/console/apps/zod.gen.ts
2026-08-20 15:18:59 +08:00
yyh
5550ec8ebf
fix(web): redirect after deleting an agent (#40994) 2026-08-20 04:09:50 +00:00
yyh
8e1c259a66
fix(web): prevent workflow errors after app deletion (#40977) 2026-08-19 12:24:40 +00:00
zyssyz123
414f211cde
fix(auth): harden email code login verification (#40960) 2026-08-19 06:57:47 +00:00
姜涵煦
9b2368ca6b feat(web): restore templates language filter on the catalog bar 2026-08-17 15:27:32 +08:00
CodingOnStar
24b977da27 Merge branch 'feat/marketplace-homepage-redesign' into feat/creator-profile-home 2026-08-17 13:01:32 +08:00
CodingOnStar
f5ac519089 Merge branch 'main' into feat/marketplace-homepage-redesign 2026-08-17 12:54:54 +08:00
YungLe
219596c4df
feat(plugin-auth): visibility picker for OAuth credentials (#39840)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: twwu <twwu@dify.ai>
2026-08-17 02:41:26 +00:00
CodingOnStar
a4a57ec662 fix(web): address marketplace review follow-ups on assets, locale and a11y
- resample the 3MB trending background to a 97KB webp and serve a frozen
  recommend banner from the E2E stub so the benchmark covers the carousel
- show the on-page filtered count in template search and redirect
  out-of-range pages to the last available page
- localize the carousel controls across all 24 locales and replace the
  i18n type casts with typed selectors
- surface Marketplace API failures with a retry action instead of
  rendering them as empty results
- use iconify marks for the hero decorations, share the carousel
  page-size hook to avoid a hydration mismatch, move banner types into
  @dify/contracts, scope the Cmd+K shortcut to the standalone platform,
  point the embedded logo at /marketplace, pass resolvedTheme to the
  detail dialogs, and reveal the detail iframe after a loading timeout

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 13:48:34 +08:00
CodingOnStar
e7ca2735bf fix: address marketplace review feedback on CI lane, templates and carousel a11y
- move the marketplace performance E2E lane out of main CI (opt-in workflow_dispatch)
- add server-rendered pagination for template search and validate page/view/sort params at the route boundary
- match template locale filtering by language prefix with an explicit English fallback
- cache the template collection fan-out (TTL + in-flight dedupe), lower per-collection limit and batch requests
- reset the forced search mode atom when the plugin catalog mounts
- clear stale search suggestions during the debounce window
- let the trending Play control override focus/hover pause reasons
- honor prefers-reduced-motion on the eagerly playing first-collection carousel
- give the Creator Center link an accessible, localized name
- replace the nested main landmark on the templates page with a div
- localize banner read-more actions and backfill marketplace.home keys across all 24 locales

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 14:40:03 +08:00
CodingOnStar
d825dd75dc Merge remote-tracking branch 'origin/main' into feat/marketplace-homepage-redesign
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	oxlint-suppressions.json
#	web/app/account/oauth/authorize/__tests__/page.spec.tsx
#	web/app/account/oauth/authorize/page.tsx
#	web/app/components/plugins/marketplace/list/__tests__/list-with-collection.spec.tsx
2026-08-15 13:44:00 +08:00
yyh
0f63a05d04
chore: upgrade Vite+ to 0.2.9 (#40762) 2026-08-14 04:42:28 +00:00
CodingOnStar
889bd18da4 Merge branch 'feat/marketplace-homepage-redesign' into feat/creator-profile-home 2026-08-14 10:34:47 +08:00
CodingOnStar
83805282fd Merge branch 'main' into feat/marketplace-homepage-redesign 2026-08-14 10:30:13 +08:00
yyh
1cf8db8395
refactor(web): clarify model selector trigger ownership (#40732)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 01:03:50 +00:00
CodingOnStar
1bf2d191fe feat(web): add embedded marketplace templates 2026-08-13 14:52:42 +08:00
Wu Tianwei
6899c7720f
refactor(web): remove deprecated deployments pages (#40593) 2026-08-12 08:49:51 +00:00
yyh
01460f681e
fix(web): render workspace plan badge during SSR (#40581)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 07:45:39 +00:00
CodingOnStar
8102836ca8 Merge branch 'feat/creator-profile-home' into deploy/dev
# Conflicts:
#	oxlint-suppressions.json
#	packages/contracts/marketplace.ts
#	web/app/(commonLayout)/marketplace/page.tsx
#	web/app/components/main-nav/routes.ts
#	web/app/components/plugins/marketplace/detail-dialog/__tests__/index.spec.tsx
#	web/app/components/plugins/marketplace/detail-dialog/index.tsx
#	web/app/components/plugins/marketplace/home/__tests__/home-catalog-navigation.spec.tsx
#	web/app/components/plugins/marketplace/home/__tests__/home-header.spec.tsx
#	web/app/components/plugins/marketplace/home/__tests__/home-trending.spec.tsx
#	web/app/components/plugins/marketplace/home/home-catalog-tabs.tsx
#	web/app/components/plugins/marketplace/home/home-header.tsx
#	web/app/components/plugins/marketplace/home/home-search.tsx
#	web/app/components/plugins/marketplace/home/home-trending.tsx
#	web/app/components/plugins/marketplace/home/index.tsx
#	web/app/components/plugins/marketplace/index.tsx
#	web/app/components/plugins/marketplace/list/__tests__/card-wrapper.spec.tsx
#	web/app/components/plugins/marketplace/list/list-wrapper.tsx
#	web/app/components/plugins/marketplace/view.tsx
2026-08-12 12:53:47 +08:00
zyssyz123
059c9ce0b6
feat: add trunstile (#40494)
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 03:08:19 +00:00
Wu Tianwei
7aba539e82
feat: app deployment v2 (#39829)
Co-authored-by: zhangx1n <zhangxin@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-12 01:55:36 +00:00
yyh
7352944dec
refactor(web): read account profile from query cache (#40470) 2026-08-11 11:17:29 +00:00
yyh
78c7fb9c5c
refactor(web): move education verification to dedicated routes (#40493)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-11 09:56:11 +00:00
CodingOnStar
b5082d2796 feat(web): add embedded marketplace templates 2026-08-10 10:43:11 +08:00
fatelei
94cf4c2957
fix: fix frontend test 2026-08-08 10:36:43 +08:00
fatelei
9969c9f845
fix: fix conflict 2026-08-07 20:53:07 +08:00
yyh
276c3b6e02
refactor(web): localize education status query (#40132)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-07 05:29:31 +00:00
yyh
b8330df96e
refactor(web): simplify billing portal link (#40131) 2026-08-07 04:26:18 +00:00
非法操作
baba36d47d
chore: improve current workspace summary (#40121)
Co-authored-by: Jingyi-Dify <jingyi.qi@dify.ai>
2026-08-07 03:08:55 +00:00
yyh
73197e4354
refactor(web): modernize Studio app list data flow (#40109) 2026-08-07 02:23:38 +00:00