You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jasmussen suggested creating a new widget that allows for natural recirculation, helping blog authors revisit previously published content and celebrate their achievements.
I designed the widget using the new framework proposed in #74616.
In the header, we display the name (I went for "On this day" as a reference to journals and anniversary reminders, which is what this widget really is) and the current date. In the main section, we display a large thumbnail of the post's feature image, the time reference (always displayed as days, weeks, months, or years), the title, and the current view and comment counts.
The text has a subtle shadow to improve legibility. I've also added a gradient spanning from the bottom of the image.
I thought a site could have more memories than just published posts. Perhaps we could surface past achievements, like view milestones, likes, and subscriber numbers (the widget would pull the copy from each achievement's header).
I'm not sure something like that is currently possible, but it'd be an interesting UX enhancement. Here are a few events I think we could show in the widget:
new comments
uploaded images
plugin installations
domain changes
theme changes
There may be multiple memories available to show on a given day, so I added arrows and a position indicator to the widget's footer. Users can click them to switch between memories. On mobile devices, we'd also support swiping.
The empty state is just a proposal, but I thought it'd feature a CTA and use a standardized layout we'd share across all widgets.
Curious to hear what you think! @WordPress/gutenberg-design
I'm bringing this question from @jameskoster to this issue:
I'm curious how that design will work with different background images. For instance if the image is very light then the content be very difficult to see. For this to work we might need to wrap the widget in a ThemeProvider instance and populate the bg prop with a color extracted from the image. I'm not sure how well that will work in practice though.
Do you know how to handle these cases? I'd like to start with a basic approach and eventually implement something more sophisticated, such as computing the average color.
Not Jarek, and eager to hear his take. My own take is that this is largely a solved proble on social media that does the same, we can do everything from an image-dim generally, to a partial blur (like we do for gallery captions), to text-shadow, to a gradient scrim, to any combination of those things. It does look like there's already a gradient scrim on the image. We could even explore a polyfill awaiting contrast-color.
It goes without saying that we should test all approaches against a very light image. The challenge with a single solution will be finding something that works equally well against light and dark images. That's why I think eventually we'll need to intelligently pass a bg prop to ThemeProvider and let it handle the rest.
Yeah, same feeling. Maybe we can opt for a "classic" implementation as @jasmussen mentioned, and eventually implement an intelligent background process.
It would be neat if we could surface widgets from the plugin directory in the UI, maybe as a part of the 'Add widget' flow.
Regarding this widget specifically, it doesn't seem harmful to include in core, but maybe it's initially hidden since fresh sites won't have anything to display.
Activity
jasmussen commentedon Jan 26, 2026
I like this a lot, thank you for sharing!
retrofox commentedon May 13, 2026
Hi, @jarekmorawski. 👋
I'm bringing this question from @jameskoster to this issue:
Do you know how to handle these cases? I'd like to start with a basic approach and eventually implement something more sophisticated, such as computing the average color.
jasmussen commentedon May 14, 2026
Not Jarek, and eager to hear his take. My own take is that this is largely a solved proble on social media that does the same, we can do everything from an image-dim generally, to a partial blur (like we do for gallery captions), to text-shadow, to a gradient scrim, to any combination of those things. It does look like there's already a gradient scrim on the image. We could even explore a polyfill awaiting contrast-color.
jameskoster commentedon May 14, 2026
It goes without saying that we should test all approaches against a very light image. The challenge with a single solution will be finding something that works equally well against light and dark images. That's why I think eventually we'll need to intelligently pass a
bgprop toThemeProviderand let it handle the rest.retrofox commentedon May 14, 2026
Yeah, same feeling. Maybe we can opt for a "classic" implementation as @jasmussen mentioned, and eventually implement an intelligent background process.
jameskoster commentedon May 14, 2026
Yeah we can definitely do something with a readability scrim initially 👍
skora-cpl commentedon May 14, 2026
This seems neat but this seems to be very much in optional plugin territory in my opinion.
retrofox commentedon May 15, 2026
You think it shouldn't be part of core?
jameskoster commentedon May 15, 2026
It would be neat if we could surface widgets from the plugin directory in the UI, maybe as a part of the 'Add widget' flow.
Regarding this widget specifically, it doesn't seem harmful to include in core, but maybe it's initially hidden since fresh sites won't have anything to display.
jameskoster commentedon May 20, 2026
Curious how we see the comparison date working for this widget. In the mockups one compares to 6 months ago, another compares to three years ago.