Commit Graph

510 Commits

Author SHA1 Message Date
CodingOnStar
d942e963bb fix(web): restyle marketplace home hero with grid and six icons
Replace the cycling brand marks with the new Figma decorations: a
divider-subtle grid, six static category icons, and hide both on
mobile widths.
2026-08-25 14:47:36 +08:00
CodingOnStar
7181812aff fix(web): pick event/ad mobile banner images on phones
Phones use images.mobile when present, otherwise desktop. Tablet
media no longer matches mobile widths.
2026-08-25 13:55:11 +08:00
CodingOnStar
0081fb4e2b fix(web): match standalone mobile recommend and event banners
Use the dedicated backdrop on independent-site recommend frames, and size event/ad mobile frames to the 800×721 slot with cover fill.
2026-08-25 12:11:52 +08:00
CodingOnStar
6e5cd92eec fix(web): match standalone marketplace mobile banners and collections
Show recommend as icon-only on mobile, keep event/ad posters uncropped,
and hide collection carousel dots under 879px.
2026-08-24 19:02:46 +08:00
CodingOnStar
0da1c88de7 feat(web): add standalone marketplace homepage mobile layout
Stack homepage banners, search, and catalog to the 879px Figma mobile
frame on the independent marketplace site only. Event and ad slides use
the 357px mobile art frame; blog and recommend stay stacked 197+160.
2026-08-24 15:45:26 +08:00
CodingOnStar
c4615c3f2f fix(web): match marketplace banner play control to Figma 2026-08-24 14:40:11 +08:00
CodingOnStar
26763c33a1 fix(web): use current dialog close primitive 2026-08-24 12:50:40 +08:00
CodingOnStar
1503de3aa5 fix(web): hide bundles from marketplace plugin categories 2026-08-24 12:39:00 +08: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
yyh
e18310e52e
refactor(dify-ui): simplify overlay content APIs (#41098) 2026-08-22 23:54:08 +00:00
yyh
a9b8c84e9b
refactor(dify-ui): simplify popover content API (#41069) 2026-08-21 13:11:40 +00:00
yyh
6cb96adfbe
refactor(dify-ui): compose dialog close controls (#41064) 2026-08-21 10:21:43 +00:00
yyh
7b1339a156
refactor(web): migrate subscription confirmation input (#41051) 2026-08-21 06:38:21 +00:00
CodingOnStar
b19ed8869c fix(web): restore marketplace header request/publish dropdown
The redesigned HomeHeader Guide action jumped straight to docs. Restore
the four-option book-icon dropdown used on production Marketplace.
2026-08-20 15:50:35 +08:00
Stephen Zhou
e2f6418fe4
chore: inline custom ESLint rules (#41008) 2026-08-20 07:32:13 +00:00
CodingOnStar
5088a4bb47 fix(web): align marketplace_banner_click site event payload
Map recommend banners to recommendation, emit theme/item/blog/ad/event
fields only for the matching click target, and keep banner language as
stored.
2026-08-20 11:38:25 +08:00
CodingOnStar
5a55909579 fix(web): use Creator Center default avatar on marketplace profiles
Match the missing-avatar fallback to Creator Center settings: brand-blue gradient and a white initial, instead of the gray letter tile.
2026-08-20 11:12:46 +08:00
CodingOnStar
4ef15cae6a fix(web): sort creator profile creations through publisher APIs
Pass sort_by and sort_order to the publisher plugin and template lists, and keep the mixed Creations grid ordered after both responses return.
2026-08-19 18:23:35 +08:00
CodingOnStar
803c3cd2df fix(web): restore creator profile contracts and i18n
The standalone and embedded creator pages call marketplaceClient.creatorDetail,
but those routes were dropped from the marketplace contract. Restore them, skip
avatar fetches when none was uploaded, and add creatorProfile strings to every
plugin locale.
2026-08-19 16:37:14 +08:00
CodingOnStar
62cb8a9c74 fix(web): resume trending autoplay after pointer pagination
Pointer clicks leave hover/focus on the dots, which kept rotation
paused until blur. Keyboard selection still keeps the focus pause.
2026-08-19 09:32:39 +08:00
CodingOnStar
3713581520 Merge remote-tracking branch 'origin/main' into feat/creator-profile-home
# Conflicts:
#	.editorconfig
#	oxlint-suppressions.json
#	web/app/components/base/markdown-blocks/code-block.tsx
#	web/app/layout.tsx
2026-08-18 21:30:57 +08:00
yyh
9ce463fc24
refactor(web): compose search prefixes with input group (#40922) 2026-08-18 06:04:37 +00:00
CodingOnStar
803d5d3fe5 fix(web): keep marketplace autocomplete open during async search
Tie controlled open to the typing session so outside press can dismiss
during debounce, and keep Status/Empty mounted for the pending live region.
2026-08-18 11:39:23 +08:00
CodingOnStar
6ab0c21172 refactor(web): split marketplace autocomplete onto main popup anatomy
Use Autocomplete Portal/Positioner/Popup after the dify-ui split, restore
creator-profile selection, and move the language filter search to InputGroup.
2026-08-18 10:44:16 +08:00
CodingOnStar
4d8bd40058 merge: bring origin/main into feat/creator-profile-home
Keep marketplace workspace-skill runtime tests and take main's
autocomplete popup anatomy plus input-group composition.
2026-08-18 10:39:42 +08:00
yyh
6d89557355
feat(dify-ui): add input group composition (#40890) 2026-08-18 02:14:39 +00:00
CodingOnStar
5712cf91dc feat(web): emit marketplace site events from the shared catalog
Forward standalone marketplace Amplitude events from shared catalog
UI, including banner, card, filter, search, and creator/partner clicks.
2026-08-17 21:22:38 +08:00
CodingOnStar
ec9eb308ef feat(web): animate marketplace hero icons with grouped spring swaps
Cycle the four hero marks as a group every 4s, retracting toward the
title and expanding back out so later 4-set icon lists can drop in.
2026-08-17 17:15:56 +08:00
CodingOnStar
55dcaea347 merge: restore marketplace catalog tag and language filters
Combine homepage catalog filters with the later marketplace hero icon fixes.
2026-08-17 16:19:08 +08:00
CodingOnStar
d4c265551a fix(web): swap marketplace hero icons for themed Figma brand marks
Replace the homepage hero decorations with light/dark Dropbox, DuckDuckGo, GitHub, and Google assets, and hide them on narrow viewports.
2026-08-17 16:12:12 +08:00
姜涵煦
9b2368ca6b feat(web): restore templates language filter on the catalog bar 2026-08-17 15:27:32 +08:00
姜涵煦
fdc7338431 feat(web): put TagFilter to the left of marketplace plugin categories 2026-08-17 15:14:00 +08:00
CodingOnStar
2ee3927a10 fix(web): render the marketplace hero Gmail mark
The iconify CSS class masks to currentColor, so the multi-color Gmail
logo was an empty tile. Use the SVG asset the same way as DuckDuckGo.
2026-08-17 15:12:54 +08:00
姜涵煦
7440e27381 feat(web): restore marketplace languages query state 2026-08-17 15:08:35 +08:00
CodingOnStar
7ed77c05d0 feat(web): track marketplace banner impressions and clicks
Count a frame impression after the current slide stays 50% visible for 1s, and emit Amplitude click/item_click events that match the banner export schema.
2026-08-17 14:28:49 +08:00
CodingOnStar
fab9d78c48 fix(web): request templates banners on the templates page 2026-08-17 14:14:30 +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
yyh
facb60abfe
fix(web): align combobox interaction semantics (#40826) 2026-08-17 02:13:08 +00:00
CodingOnStar
90692c2d92 fix(web): show marketplace search results without a searching placeholder
Keep the suggestion popup closed until results settle so the standalone
site does not flash the missing gotoAnything.searching key. Render
plugin and template icons from the marketplace asset URLs.
2026-08-16 17:14:59 +08:00
CodingOnStar
0746dcc354 fix(web): keep Creator Center on the matching marketplace environment
Prefer the current marketplace origin so marketplace.dify.dev opens creators.dify.dev instead of inheriting a baked-in .ai URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 16:31:03 +08:00
CodingOnStar
ea6935060b fix(web): keep embedded marketplace search live without suggestions
The public marketplace owns the suggestion dropdown. Console plugin and
template search keep updating results as the query changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 16:28:01 +08:00
CodingOnStar
cf121dcc10 refactor(web): share the marketplace home shell and validate banners with zod
Compose the Plugins and Templates catalog homes from one HomeShell so the
page scaffold cannot drift, split the templates page into category
navigation, pagination and link helpers, and hand the collection list
pre-filtered locale data instead of filtering twice. Replace the
hand-rolled banner payload guards with a zod schema keeping the same
lenient semantics, share the partner-collection constants, label the
plugin type filter group as categories, and backfill the missing Lao
trending title.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 15:22:51 +08:00
CodingOnStar
0fc3791bb6 refactor(web): split marketplace home trending and share catalog constants
Break the trending banner into navigation and slide modules with shared
home constants, hoist the marketplace container id and partner-collection
constants for reuse across the catalog, and drop the i18n keys the
redesigned home no longer renders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 15:04:39 +08:00
CodingOnStar
66f63a074b fix(web): stop marketplace carousel autoplay from crashing on a single page
The autoplay plugin skips its own setup when a carousel has one page, so
the eager play() path dereferenced an undefined delay list and crashed
the standalone marketplace templates tab. Keep autoplay stopped for
single-page carousels and pause rotation permanently once focus enters,
dropping the play/pause toggle that resumed it.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 15:03:10 +08:00
CodingOnStar
5f52b94aa0 fix(web): declare webp assets and drop an unused carousel export
CI type-checks without the Next-generated image declarations, so *.webp
needs an explicit module declaration like the other formats. Also keep
getCarouselItemsPerPage module-private since only the hook consumes it,
which unblocks the knip production check.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 14:01:08 +08: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
3087b45017 fix(web): render marketplace Creator Center from a client module
home-header.tsx is a server component on the standalone marketplace
homepage, where calling buttonVariants() from the client-marked
dify-ui button module crashes SSR with a 500. Extract the Creator
Center link into its own 'use client' file, mirroring home-guide.tsx.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 11:35:18 +08:00
CodingOnStar
618f2b8e00 style: remove gray border lines from marketplace home header
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 19:46:59 +08:00