Treat provider sync failures as such
Keep disconnects out of the newly inline provider frames
We now render Wise and CoinSpot as connection rows in main, their Disconnect forms submit inside turbo-frame#<provider>-providers-panel from _connection_row.html.erb. A successful Wise destroy redirects to accounts_path, while a successful CoinSpot destroy redirects back after removing the connection row; neither response contains the requested provider frame, so Turbo displays “Content missing” after the disconnect has already been scheduled. Use top-level navigation for these destructive actions or return a response containing the target frame.
Originally posted by @chatgpt-codex-connector[bot] in https://github.com/we-promise/sure/pull/3834#discussion_r4127275820
Source: we-promise/sure