refactor: centralize provider registry for settings integrations #325

Closed
opened 2026-05-11 19:20:27 +00:00 by barrettruth · 0 comments
Owner

Parent: #305
Related: #290, #123, #291, #314, #315

Problem

Provider IDs, labels, token field names, default models, enabled-provider rules, and test adapters are split across settings UI and route handlers. Google sync will add more provider surface, so this needs one registry before it grows.

Solution

Create a provider registry for settings-owned integrations:

  • centralize provider IDs, display labels, token metadata field names, and scopes/categories
  • include NLP recurrence and geocoding providers if they remain in scope
  • leave Google provider OAuth with a clean path to use the same registry concepts without becoming app login
  • update settings UI and test routes to import provider definitions instead of duplicating switch statements

Acceptance criteria

  • Settings UI and API routes agree on provider IDs and required fields.
  • Provider tests are dispatched through a single registry or adapter map.
  • Token/secret fields are named consistently and never rendered back to the client.
  • Google Calendar/Tasks sync issues have a clear provider-extension path.
Parent: #305 Related: #290, #123, #291, #314, #315 ## Problem Provider IDs, labels, token field names, default models, enabled-provider rules, and test adapters are split across settings UI and route handlers. Google sync will add more provider surface, so this needs one registry before it grows. ## Solution Create a provider registry for settings-owned integrations: - centralize provider IDs, display labels, token metadata field names, and scopes/categories - include NLP recurrence and geocoding providers if they remain in scope - leave Google provider OAuth with a clean path to use the same registry concepts without becoming app login - update settings UI and test routes to import provider definitions instead of duplicating switch statements ## Acceptance criteria - Settings UI and API routes agree on provider IDs and required fields. - Provider tests are dispatched through a single registry or adapter map. - Token/secret fields are named consistently and never rendered back to the client. - Google Calendar/Tasks sync issues have a clear provider-extension path.
barrettruth added this to the v0.1.0 milestone 2026-05-11 19:20:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta#325
No description provided.