Skip to content

Commit 730403b

Browse files
authored
Merge pull request #25 from Bandwidth/chore/soften-blocker-wording
SWI-11363 copy: replace "Blocker" with "No direct equivalent"
2 parents b3a076d + 7ad969c commit 730403b

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Same concepts, different words — like British vs. American English. Roughly 80
2323

2424
**What it does:** Scans a customer's existing codebase and checks how their TwiML and Twilio SDK usage maps to Bandwidth's BXML.
2525

26-
**Outcome:** Size the migration effort and identify blockers **without writing a line of code**. You get a migration-complexity score and a per-feature *works-as-is / heads-up / blocker* breakdown.
26+
**Outcome:** Size the migration effort and identify what needs a redesign **without writing a line of code**. You get a migration-complexity score and a per-feature *works-as-is / heads-up / no direct equivalent* breakdown.
2727

2828
```bash
2929
npm install
@@ -56,7 +56,7 @@ npm run bxml-generator -- <in-dir> <out-dir> # writes out/bxml/*, out/MIGRAT
5656

5757
## Try the Compatibility Check in your browser — no command needed
5858

59-
The **Migration Compatibility Check** is a single, self-contained HTML file a sales engineer can double-click and present to a prospect. Paste a customer's TwiML (or pick a curated example) and it shows — live — a migration-complexity score, a *works-as-is / heads-up / blocker* verdict, the translated BXML, and a forwardable report.
59+
The **Migration Compatibility Check** is a single, self-contained HTML file a sales engineer can double-click and present to a prospect. Paste a customer's TwiML (or pick a curated example) and it shows — live — a migration-complexity score, a *works-as-is / heads-up / no direct equivalent* verdict, the translated BXML, and a forwardable report.
6060

6161
```bash
6262
npm install

‎src/bxml-generator/report.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function renderMigration(result: GenerateResult): string {
2222
"# Twilio → Bandwidth migration — generated BXML",
2323
"",
2424
`Translated **${docs.length}** TwiML document${docs.length === 1 ? "" : "s"} to native BXML` +
25-
` (${clean} clean, ${withBlockers} with blockers).`,
25+
` (${clean} clean, ${withBlockers} with verbs that have no direct equivalent).`,
2626
"",
2727
"Generated BXML is written under `bxml/`. Action/redirect URLs are preserved",
2828
"exactly as your Twilio app used them — point those endpoints at your migrated",
@@ -37,7 +37,7 @@ export function renderMigration(result: GenerateResult): string {
3737
if (errors.length === 0 && warnings.length === 0)
3838
lines.push("✅ Translated cleanly.", "");
3939
if (errors.length) {
40-
lines.push("### 🛑 Blockers — need a human", "");
40+
lines.push("### 🛑 No direct equivalent — needs a human", "");
4141
for (const f of errors)
4242
lines.push(`- **${f.verb}** — ${f.message}${f.docsUrl ? ` ([docs](${f.docsUrl}))` : ""}`);
4343
lines.push("");

‎src/compatibility-check/report.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function renderReport(analyses: FileAnalysis[]): string {
1313
const lines: string[] = [
1414
"# Twilio → Bandwidth migration — Compatibility Check",
1515
"",
16-
`**Migration complexity: ${score}/10** (1 + warnings + 3×blockers, capped at 10)`,
16+
`**Migration complexity: ${score}/10** (1 + heads-up + 3× no-equivalent, capped at 10)`,
1717
"",
1818
`Files with Twilio voice usage: ${relevant.length}`,
1919
"",
@@ -25,7 +25,7 @@ export function renderReport(analyses: FileAnalysis[]): string {
2525
if (errors.length === 0 && warnings.length === 0)
2626
lines.push("✅ Runs through the translator as-is.", "");
2727
if (errors.length) {
28-
lines.push("### 🛑 Blockers", "");
28+
lines.push("### 🛑 No direct equivalent", "");
2929
for (const f of errors)
3030
lines.push(`- **${f.verb}** — ${f.message}${f.docsUrl ? ` ([docs](${f.docsUrl}))` : ""}`);
3131
lines.push("");

‎web/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Migration Compatibility Check playground
22

3-
A single, self-contained HTML file a sales engineer can **double-click** and present to a prospect. Paste a customer's TwiML (or pick a curated example) and it shows — live — how much of that Twilio voice app runs on Bandwidth unchanged: a works-as-is / heads-up / blocker verdict, a migration-complexity score, the translated BXML, and a forwardable report.
3+
A single, self-contained HTML file a sales engineer can **double-click** and present to a prospect. Paste a customer's TwiML (or pick a curated example) and it shows — live — how much of that Twilio voice app runs on Bandwidth unchanged: a works-as-is / heads-up / no direct equivalent verdict, a migration-complexity score, the translated BXML, and a forwardable report.
44

55
No server, no install, no network. It works offline on a plane.
66

‎web/app.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function renderVerdict(v: PreflightView): string {
7979
<div class="pf-tiles">
8080
${tile("clean", v.counts.clean, "Clean")}
8181
${tile("warn", v.counts.headsUp, "Heads-up")}
82-
${tile("block", v.counts.blocker, "Blocker")}
82+
${tile("block", v.counts.blocker, "No direct equivalent")}
8383
</div>
8484
</div>
8585
</section>`;
@@ -106,7 +106,7 @@ function tile(kind: "clean" | "warn" | "block", n: number, label: string): strin
106106
// ---- Findings ----
107107
function renderFindings(v: PreflightView): string {
108108
const groups: Array<[string, "block" | "warn" | "clean", VerbCard[]]> = [
109-
["Blockers", "block", v.blockers],
109+
["No direct equivalent", "block", v.blockers],
110110
["Heads-up", "warn", v.headsUp],
111111
["Clean", "clean", v.clean],
112112
];

0 commit comments

Comments
 (0)