Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How to lengthen the notification/toast time?

default discord avatar
twoxiclast year
4

It's quite hard for users (and me) to read and digest the error messages in them.

  • default discord avatar
    notchrlast year

    Hello @twoxic - I think currently the toast TTL is hard-coded on a per-instance basis. Check out

    https://github.com/search?q=repo%3Apayloadcms%2Fpayload+autoClose%3A+3000&type=code

    You'll notice a 3 second duration on many of them, not sure what the default is when autoClose is omitted.



    You could make a PR to add a global config option for admin toast duration! Otherwise, you may need to patch the file yourself.



    @jacobsfletch may be able to confirm

  • discord user avatar
    jacobsfletch
    last year

    @notchr I think you're spot on, I don't know that we expose any options for toast (somebody correct me if I'm wrong) but I think many would benefit from a feature like this



    I believe hovering the toast does pause it, too

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.