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
twoxic2 years ago
2

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

  • default discord avatar
    notchr2 years ago

    Hello

    @399871533276987392

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



    @808734492645785600

    may be able to confirm

  • discord user avatar
    jacobsfletch
    2 years ago
    @1049775120559898725

    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 dedicated engineering support directly from the Payload team.