Use generic copy on messaging Integrations screens.
Deploy Ladill Frontdesk / deploy (push) Has been cancelled
Deploy Ladill Frontdesk / deploy (push) Has been cancelled
Drop wallet/brand marketing language so credential setup reads as neutral configuration. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -112,7 +112,7 @@ class IntegrationController extends Controller
|
||||
return back()->withInput()->with('error', $result['error'] ?? 'Could not save SMS credentials.');
|
||||
}
|
||||
|
||||
return back()->with('success', 'Ladill SMS connected. Host alerts will use your key and sender ID.');
|
||||
return back()->with('success', 'SMS credentials saved.');
|
||||
}
|
||||
|
||||
public function disconnectSms(Request $request, MessagingCredentialsService $credentials): RedirectResponse
|
||||
@@ -121,7 +121,7 @@ class IntegrationController extends Controller
|
||||
$organization = $this->organization($request);
|
||||
$credentials->disconnectSms($organization);
|
||||
|
||||
return back()->with('success', 'Ladill SMS disconnected.');
|
||||
return back()->with('success', 'SMS disconnected.');
|
||||
}
|
||||
|
||||
public function saveBird(Request $request, MessagingCredentialsService $credentials): RedirectResponse
|
||||
@@ -147,10 +147,10 @@ class IntegrationController extends Controller
|
||||
);
|
||||
|
||||
if (! ($result['ok'] ?? false)) {
|
||||
return back()->withInput()->with('error', $result['error'] ?? 'Could not save Bird credentials.');
|
||||
return back()->withInput()->with('error', $result['error'] ?? 'Could not save email credentials.');
|
||||
}
|
||||
|
||||
return back()->with('success', 'Ladill Bird connected. Host email alerts will use your key and from address.');
|
||||
return back()->with('success', 'Email credentials saved.');
|
||||
}
|
||||
|
||||
public function disconnectBird(Request $request, MessagingCredentialsService $credentials): RedirectResponse
|
||||
@@ -159,7 +159,7 @@ class IntegrationController extends Controller
|
||||
$organization = $this->organization($request);
|
||||
$credentials->disconnectBird($organization);
|
||||
|
||||
return back()->with('success', 'Ladill Bird disconnected.');
|
||||
return back()->with('success', 'Email disconnected.');
|
||||
}
|
||||
|
||||
public function previewSenders(Request $request, CustomerSmsClient $sms): JsonResponse
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
|
||||
<div class="mt-6 space-y-6 max-w-2xl">
|
||||
<section class="rounded-2xl border border-slate-200 bg-white p-5 dark:border-slate-700 dark:bg-slate-900">
|
||||
<h2 class="text-sm font-semibold text-slate-900 dark:text-slate-100">Ladill SMS</h2>
|
||||
<h2 class="text-sm font-semibold text-slate-900 dark:text-slate-100">SMS</h2>
|
||||
<p class="mt-1 text-sm text-slate-500 dark:text-slate-400">
|
||||
Connect your <a href="https://sms.ladill.com" target="_blank" rel="noopener" class="text-indigo-600 underline dark:text-indigo-400">Ladill SMS</a>
|
||||
API key so host SMS alerts bill your SMS wallet and send under your sender ID.
|
||||
API key and approved sender ID from
|
||||
<a href="https://sms.ladill.com" target="_blank" rel="noopener" class="text-indigo-600 underline dark:text-indigo-400">sms.ladill.com</a>.
|
||||
</p>
|
||||
|
||||
@if ($credential->hasValidSms())
|
||||
@@ -60,13 +60,13 @@
|
||||
<div class="mt-3">
|
||||
<x-confirm-dialog
|
||||
name="disconnect-sms"
|
||||
title="Disconnect Ladill SMS?"
|
||||
message="Host SMS alerts will stop working until you connect a new key."
|
||||
title="Disconnect SMS?"
|
||||
message="Outbound SMS will stop until credentials are connected again."
|
||||
:action="route('frontdesk.integrations.sms.disconnect')"
|
||||
confirm-label="Disconnect SMS"
|
||||
confirm-label="Disconnect"
|
||||
>
|
||||
<x-slot:trigger>
|
||||
<button type="button" class="text-sm text-rose-700 hover:underline dark:text-rose-400">Disconnect SMS</button>
|
||||
<button type="button" class="text-sm text-rose-700 hover:underline dark:text-rose-400">Disconnect</button>
|
||||
</x-slot:trigger>
|
||||
</x-confirm-dialog>
|
||||
</div>
|
||||
@@ -75,10 +75,10 @@
|
||||
</section>
|
||||
|
||||
<section class="rounded-2xl border border-slate-200 bg-white p-5 dark:border-slate-700 dark:bg-slate-900">
|
||||
<h2 class="text-sm font-semibold text-slate-900 dark:text-slate-100">Ladill Bird</h2>
|
||||
<h2 class="text-sm font-semibold text-slate-900 dark:text-slate-100">Email</h2>
|
||||
<p class="mt-1 text-sm text-slate-500 dark:text-slate-400">
|
||||
Connect your <a href="https://bird.ladill.com" target="_blank" rel="noopener" class="text-indigo-600 underline dark:text-indigo-400">Ladill Bird</a>
|
||||
API key so host email alerts bill your Bird wallet and send from your domain.
|
||||
API key and from address from
|
||||
<a href="https://bird.ladill.com" target="_blank" rel="noopener" class="text-indigo-600 underline dark:text-indigo-400">bird.ladill.com</a>.
|
||||
</p>
|
||||
|
||||
@if ($credential->hasValidBird())
|
||||
@@ -124,13 +124,13 @@
|
||||
<div class="mt-3">
|
||||
<x-confirm-dialog
|
||||
name="disconnect-bird"
|
||||
title="Disconnect Ladill Bird?"
|
||||
message="Host email alerts will stop working until you connect a new key."
|
||||
title="Disconnect email?"
|
||||
message="Outbound email will stop until credentials are connected again."
|
||||
:action="route('frontdesk.integrations.bird.disconnect')"
|
||||
confirm-label="Disconnect Bird"
|
||||
confirm-label="Disconnect"
|
||||
>
|
||||
<x-slot:trigger>
|
||||
<button type="button" class="text-sm text-rose-700 hover:underline dark:text-rose-400">Disconnect Bird</button>
|
||||
<button type="button" class="text-sm text-rose-700 hover:underline dark:text-rose-400">Disconnect</button>
|
||||
</x-slot:trigger>
|
||||
</x-confirm-dialog>
|
||||
</div>
|
||||
|
||||
@@ -65,8 +65,9 @@ class FrontdeskMessagingIntegrationsTest extends TestCase
|
||||
$this->actingAs($this->user)
|
||||
->get(route('frontdesk.integrations.edit'))
|
||||
->assertOk()
|
||||
->assertSee('Ladill SMS')
|
||||
->assertSee('Ladill Bird')
|
||||
->assertSee('SMS')
|
||||
->assertSee('Email')
|
||||
->assertDontSee('bill your');
|
||||
->assertSee('Outbound webhooks');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user