Repository navigation
refactor(ui): rename the recents widget to activity widget - #18790
Open
GermanJablo wants to merge 1 commit into
Open
GermanJablo wants to merge 1 commit into
GermanJablo wants to merge 1 commit into
Conversation
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
GermanJablo
added this pull request to stack #18792
October 16, 2026 19:58
GermanJablo
force-pushed
the
refactor/activity-widget-renames
branch
from
October 16, 2026 20:09
9d45639 to
a1f6d0a
Compare
GermanJablo
force-pushed
the
refactor/activity-widget-renames
branch
from
October 16, 2026 20:45
a1f6d0a to
c2970c9
Compare
GermanJablo
removed this pull request from stack #18792
October 16, 2026 20:46
GermanJablo
changed the base branch from
fix/recents-widget-ssr
to
chore/internal-widget-exports
October 16, 2026 20:46
GermanJablo
added this pull request to stack #18800
October 16, 2026 20:46
Match the widget slug (`activity`) across exports, files, the server function, and CSS classes. The renamed exports only shipped in 4.0 betas, so there are no compatibility aliases. Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com>
GermanJablo
force-pushed
the
refactor/activity-widget-renames
branch
from
October 16, 2026 20:46
c2970c9 to
7465026
Compare
GermanJablo
marked this pull request as ready for review
October 16, 2026 20:53
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #18799. Renames the dashboard widget to "activity" everywhere, matching its slug and the names from #18735. Behavior doesn't change.
What changes
@payloadcms/ui/rsc#RecentlyViewedWidget@payloadcms/ui/rsc#ActivityWidget@payloadcms/ui#RecentsAndPinnedClient@payloadcms/ui#ActivityWidgetClient@payloadcms/ui#RecentlyViewedCollectionsField@payloadcms/ui#CollectionFilterget-dashboard-documentsget-activity-widget-docswidgets/RecentlyViewed/widgets/Activity/, with the collection filter inwidgets/shared/CollectionFilter/.recents-widget*,--recents-*.activity-widget*,--activity-*.recents-widget__empty*,.recents-widget__status-pill*.activity-empty-state*,.activity-status-pill*.recently-viewed-collections-field*.collection-filter*sanitize.tsand the blank template import maps point at the new export names. Tests only change selectors and import paths.Not a breaking change
The renamed exports are marked
@internalin #18799. They're exported only so Payload's default dashboard config can reference them through the import map, and users configure built-in widgets by slug, so nobody was expected to import them. We think it's reasonable not to mark this as breaking, since there's little reason to have used them. There are no compatibility aliases.Agreed with @JarrodMFlesch. In practice:
activity), saved dashboard layouts and saved pins don't change.payload build, so projects pick up the new paths automatically. Only a project that builds with plainnext buildand a staleimportMap.jsneeds to runpayload generate:importmap.