Skip to content

[unit: providers] Slice 8: Provider test button + test-gated creation#316

Open
jayfalls wants to merge 3 commits into
mainfrom
providers-slice-8
Open

[unit: providers] Slice 8: Provider test button + test-gated creation#316
jayfalls wants to merge 3 commits into
mainfrom
providers-slice-8

Conversation

@jayfalls
Copy link
Copy Markdown
Owner

@jayfalls jayfalls commented May 13, 2026

Summary

  • TestButton.svelte component on ProviderCard for testing existing providers
  • Create flow changed: "Test & Save" — provider is only created if the test passes
  • Edit flow unchanged (save immediately)

Create flow

  1. Fill form → click "Test & Save"
  2. Provider is created, then tested automatically
  3. Test passes → dialog closes, provider stays in list
  4. Test fails → provider is deleted (rollback), error shown, form stays open

How to validate

  1. Click "Add Provider" → fill form → "Test & Save"
  2. With valid credentials → dialog closes, provider appears in list
  3. With invalid credentials → error shown, form stays open, provider never appears in list
  4. Existing providers show Test button on card

@jayfalls jayfalls changed the title [unit: providers] Slice 8: Provider test button frontend [unit: providers] Slice 8: Provider test button + inline test after create May 13, 2026
@jayfalls jayfalls changed the title [unit: providers] Slice 8: Provider test button + inline test after create [unit: providers] Slice 8: Provider test button + test-gated creation May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant