#93 - custom error pages #94

Merged
EwelinaLasowy merged 11 commits from #93-custom-error-pages into main 2022-03-30 09:06:25 +02:00
EwelinaLasowy commented 2022-03-28 10:58:20 +02:00 (Migrated from github.com)

This should close #93.

image

This should close #93. ![image](https://user-images.githubusercontent.com/56546832/160363590-3f056ee2-19df-4f85-9fff-392445864614.png)
krzysztofrewak (Migrated from github.com) requested changes 2022-03-28 11:26:56 +02:00
krzysztofrewak (Migrated from github.com) left a comment

I would prefer to have the application sidebar when I'd be signed in.

I would prefer to have the application sidebar when I'd be signed in.
krzysztofrewak (Migrated from github.com) commented 2022-03-28 11:25:57 +02:00

Why only these statuses? Plus it would be nice to move this array to some const maybe?

Why only these statuses? Plus it would be nice to move this array to some const maybe?
krzysztofrewak (Migrated from github.com) commented 2022-03-28 11:26:27 +02:00

And why not testing? It would be nice to have a way to test failed operations.

And why not testing? It would be nice to have a way to test failed operations.
EwelinaLasowy (Migrated from github.com) reviewed 2022-03-29 10:52:46 +02:00
EwelinaLasowy (Migrated from github.com) commented 2022-03-29 10:52:46 +02:00

These statuses are rendered by default by Laravel. The solution itself is proposed by the creator of Inertia link, so I think that will be waste of time to make something more complicated. I've changed environment to production only. Maybe we can think about the application sidebar when the user is signed in, but it will be here some technical complications and it could be confusing to users.

These statuses are rendered by default by Laravel. The solution itself is proposed by the creator of Inertia [link](https://inertiajs.com/error-handling), so I think that will be waste of time to make something more complicated. I've changed `environment` to production only. Maybe we can think about the application sidebar when the user is signed in, but it will be here some technical complications and it could be confusing to users.
krzysztofrewak (Migrated from github.com) approved these changes 2022-03-30 09:05:23 +02:00
Sign in to join this conversation.