Scenario: If a user searches for a specific model and tries to edit it—but it's not their model—they're redirected to their indexView (main page).
Problem: Since they were already on indexView to begin with (to perform the search), the redirect feels redundant. It refreshes the page, resets all filters, and though the error message appears, the clicked model is no longer visible.
Proposal: Instead of refreshing the page, update the current view in-place. Only update the error message. This preserves filter state and keeps the clicked model in view, providing clearer and more stable feedback.
Scenario: If a user searches for a specific model and tries to edit it—but it's not their model—they're redirected to their
indexView(main page).Problem: Since they were already on
indexViewto begin with (to perform the search), the redirect feels redundant. It refreshes the page, resets all filters, and though the error message appears, the clicked model is no longer visible.Proposal: Instead of refreshing the page, update the current view in-place. Only update the error message. This preserves filter state and keeps the clicked model in view, providing clearer and more stable feedback.