mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +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
5
db/migrate/20250212163624_add_status_to_plaid_items.rb
Normal file
5
db/migrate/20250212163624_add_status_to_plaid_items.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddStatusToPlaidItems < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :plaid_items, :status, :string, null: false, default: "good"
|
||||
end
|
||||
end
|
3
db/schema.rb
generated
3
db/schema.rb
generated
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_02_11_161238) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_02_12_163624) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
|
@ -520,6 +520,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_02_11_161238) do
|
|||
t.string "institution_url"
|
||||
t.string "institution_id"
|
||||
t.string "institution_color"
|
||||
t.string "status", default: "good", null: false
|
||||
t.index ["family_id"], name: "index_plaid_items_on_family_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue