Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): toasts rework #6415

Merged
merged 12 commits into from
May 21, 2024
Merged

feat(ui): toasts rework #6415

merged 12 commits into from
May 21, 2024

Commits on May 21, 2024

  1. feat(ui): add stateful toast utility

    Small wrapper around chakra's toast system simplifies creating and updating toasts. See comments in toast.ts for details.
    psychedelicious committed May 21, 2024
    Configuration menu
    Copy the full SHA
    439a58d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bd0de6 View commit details
    Browse the repository at this point in the history
  3. tidy(ui): split install model into helper hook

    This was duplicated like 7 times or so
    psychedelicious committed May 21, 2024
    Configuration menu
    Copy the full SHA
    ad553ad View commit details
    Browse the repository at this point in the history
  4. tidy(ui): remove the ToastID enum

    With the model install logic cleaned up the enum is less useful
    psychedelicious committed May 21, 2024
    Configuration menu
    Copy the full SHA
    655c28d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fecba72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b1a2691 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e134b63 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aa6ac9b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    88cf0bc View commit details
    Browse the repository at this point in the history
  10. feat(ui): add updateDescription flag to toast API

    If false, when updating a toast, the description is left alone. The count will still tick up.
    psychedelicious committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9c2ab38 View commit details
    Browse the repository at this point in the history
  11. feat(ui): revised invocation error toast handling

    Only display the session if local. Otherwise, just display the error message.
    psychedelicious committed May 21, 2024
    Configuration menu
    Copy the full SHA
    05659be View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    02887aa View commit details
    Browse the repository at this point in the history