mchekin / rpg

Online Role Playing Game (based on Laravel)
MIT License
188 stars 52 forks source link

Blade error notification from Blade to Vue #70

Closed mchekin closed 3 years ago

mchekin commented 4 years ago

Currently only synchronous request errors are reported inside a Blade template. https://github.com/mchekin/rpg/blob/master/resources/views/partials/errors.blade.php#L5

But the Vue components, which use Axios for asynchronous API calls, do not report notify the end-user in case of API call failure. https://github.com/mchekin/rpg/blob/master/resources/js/components/StoreManagement.vue#L320

We need:

mchekin commented 3 years ago

Working on it as part of https://github.com/mchekin/rpg/tree/buying-from-character-store

mchekin commented 3 years ago

Resolved in https://github.com/mchekin/rpg/pull/74