Skip to content

New dashboard widget: On this day... #74936

Open

Description

@jarekmorawski

@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.

Image

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.

Image

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.

Image

Curious to hear what you think! @WordPress/gutenberg-design

Activity

  1. added
    [Type] Enhancement
    on Jan 26, 2026
  2. jasmussen commented on Jan 26, 2026

    @jasmussen
    Contributor

    I like this a lot, thank you for sharing!

  3. self-assigned this
    on May 7, 2026
  4. retrofox commented on May 13, 2026

    @retrofox
    Contributor

    Hi, @jarekmorawski. 👋

    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.

  5. jasmussen commented on May 14, 2026

    @jasmussen
    Contributor

    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.

  6. jameskoster commented on May 14, 2026

    @jameskoster
    Contributor

    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.

  7. retrofox commented on May 14, 2026

    @retrofox
    Contributor

    Yeah, same feeling. Maybe we can opt for a "classic" implementation as @jasmussen mentioned, and eventually implement an intelligent background process.

  8. jameskoster commented on May 14, 2026

    @jameskoster
    Contributor

    Yeah we can definitely do something with a readability scrim initially 👍

  9. skora-cpl commented on May 14, 2026

    @skora-cpl

    This seems neat but this seems to be very much in optional plugin territory in my opinion.

  10. retrofox commented on May 15, 2026

    @retrofox
    Contributor

    This seems neat but this seems to be very much in optional plugin territory in my opinion.

    You think it shouldn't be part of core?

  11. jameskoster commented on May 15, 2026

    @jameskoster
    Contributor

    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.

  12. jameskoster commented on May 20, 2026

    @jameskoster
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions