mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Enhance Plaid connection management with re-authentication and error handling (#1854)
* Enhance Plaid connection management with re-authentication and error handling - Add support for Plaid item status tracking (good/requires_update) - Implement re-authentication flow for Plaid connections - Handle connection errors and provide user-friendly reconnection options - Update Plaid link token generation to support item updates - Add localization for new connection management states * Remove redundant 'reconnect' localization for Plaid items
This commit is contained in:
parent
08a2d35308
commit
f1f2e103ce
11 changed files with 156 additions and 19 deletions
|
@ -18,3 +18,8 @@ en:
|
|||
status: Last synced %{timestamp} ago
|
||||
status_never: Requires data sync
|
||||
syncing: Syncing...
|
||||
requires_update: Requires re-authentication
|
||||
update: Update connection
|
||||
connection_lost: Connection lost
|
||||
connection_lost_description: This connection is no longer valid. You'll need to delete this connection and add it again to continue syncing data.
|
||||
add_new: Add new connection
|
||||
|
|
|
@ -178,7 +178,9 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
resources :plaid_items, only: %i[create destroy] do
|
||||
post :sync, on: :member
|
||||
member do
|
||||
post :sync
|
||||
end
|
||||
end
|
||||
|
||||
namespace :webhooks do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue