Skip to content

Commit 0865de2

Browse files
author
Faxbot Agent
committed
fix(ui): add missing TextField import and fix TypeScript errors
- Add TextField import to Diagnostics.tsx and OutboundSmokeTests.tsx - Fix TypeScript parameter type annotations for onChange handlers - UI now builds successfully and test fax number configuration works end-to-end
1 parent befbac7 commit 0865de2

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

api/admin_ui/src/components/Diagnostics.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
AccordionSummary,
2727
AccordionDetails,
2828
LinearProgress,
29+
TextField,
2930
} from '@mui/material';
3031
import {
3132
Download as DownloadIcon,
@@ -931,7 +932,7 @@ function Diagnostics({ client, onNavigate, docsBase }: DiagnosticsProps) {
931932
label="Test Fax Number"
932933
placeholder="+15551234567"
933934
value={testNumber}
934-
onChange={(e) => setTestNumber(e.target.value)}
935+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setTestNumber(e.target.value)}
935936
size="small"
936937
sx={{ minWidth: 200 }}
937938
helperText="Your own fax-capable number (E.164 format)"

api/admin_ui/src/components/OutboundSmokeTests.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
IconButton,
1515
Tooltip,
1616
useTheme,
17+
TextField,
1718
} from '@mui/material';
1819
import {
1920
Send as SendIcon,
@@ -375,7 +376,7 @@ export default function OutboundSmokeTests({ client, canSend = true }: OutboundS
375376
label="Test Fax Number"
376377
placeholder="+15551234567"
377378
value={testNumber}
378-
onChange={(e) => setTestNumber(e.target.value)}
379+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setTestNumber(e.target.value)}
379380
size="small"
380381
sx={{ minWidth: 200 }}
381382
helperText="Your own fax-capable number (E.164 format)"

mkdocs/docs/go-live/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ title: Go‑Live Checklists
77
Final readiness checklists for each backend profile. Each page is backend‑specific and includes provider help links, webhook guidance, and HIPAA notes where applicable.
88

99
!!! tip "Quick links"
10-
[Networking & Tunnels](/networking/tunnels/){ .md-button } [Webhooks](/setup/webhooks/){ .md-button } [Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
10+
[:material-lan: Networking & Tunnels](/networking/tunnels/){ .md-button } [:material-webhook: Webhooks](/setup/webhooks/){ .md-button } [:material-cog: Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
11+
12+
!!! note "Tip"
13+
Use search [:material-magnify:] with <kbd>Ctrl</kbd>+<kbd>K</kbd> (or <kbd>⌘</kbd>+<kbd>K</kbd>) to jump between providers and guides quickly.
1114

1215
## Providers
1316

mkdocs/docs/go-live/phaxio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Phaxio Go‑Live Checklist
77
Phaxio is a cloud backend where the provider fetches your PDF via a tokenized URL and posts status callbacks. This page covers the essentials to move from eval to production.
88

99
!!! tip "Quick links"
10-
[Phaxio Webhooks](https://www.phaxio.com/docs/api/v2.1/intro/webhooks){ .md-button } [Verify Callbacks](https://www.phaxio.com/docs/security/callbacks){ .md-button } [Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
10+
[:material-webhook: Phaxio Webhooks](https://www.phaxio.com/docs/api/v2.1/intro/webhooks){ .md-button } [:material-shield-check: Verify Callbacks](https://www.phaxio.com/docs/security/callbacks){ .md-button } [:material-cog: Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
1111

1212
## Pre‑flight
1313

mkdocs/docs/go-live/signalwire.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: SignalWire Go‑Live Checklist
77
SignalWire’s Compatibility (Twilio‑style) Fax API is supported for outbound sending. Faxbot hosts tokenized media for provider fetch and receives status callbacks. Inbound delivery is supported via the Plugin Manager (manifest providers) — install a SignalWire inbound plugin to enable full inbound flows.
88

99
!!! tip "Quick links"
10-
[SignalWire Fax](https://developer.signalwire.com/fax){ .md-button } [Compatibility API](https://developer.signalwire.com/compatibility-api){ .md-button } [Plugin Builder](/admin-console/plugin-builder/){ .md-button .md-button--primary }
10+
[:material-fax: SignalWire Fax](https://developer.signalwire.com/fax){ .md-button } [:material-code-json: Compatibility API](https://developer.signalwire.com/compatibility-api){ .md-button } [:material-puzzle: Plugin Builder](/admin-console/plugin-builder/){ .md-button .md-button--primary }
1111

1212
## Pre‑flight
1313

mkdocs/docs/go-live/sinch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Sinch Go‑Live Checklist (Fax API v3)
77
Sinch Fax API v3 uses direct upload: Faxbot posts your file to Sinch and maps the immediate response. PUBLIC_API_URL is not required for outbound, but is recommended for Admin/Diagnostics and inbound.
88

99
!!! tip "Quick links"
10-
[Sinch Fax API Reference](https://developers.sinch.com/docs/fax/api-reference/){ .md-button } [Access Keys Dashboard](https://dashboard.sinch.com/settings/access-keys){ .md-button } [Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
10+
[:material-book-open-variant: Fax API Reference](https://developers.sinch.com/docs/fax/api-reference/){ .md-button } [:material-key-variant: Access Keys](https://dashboard.sinch.com/settings/access-keys){ .md-button } [:material-cog: Setup Wizard](/admin-console/setup-wizard/){ .md-button .md-button--primary }
1111

1212
## Pre‑flight
1313

0 commit comments

Comments
 (0)