Skip to content

docs: DLT-3151 blog post for ui-kits migration and script#1156

Merged
Brad Paugh (braddialpad) merged 6 commits intostagingfrom
ui-kits-comm
Mar 31, 2026
Merged

docs: DLT-3151 blog post for ui-kits migration and script#1156
Brad Paugh (braddialpad) merged 6 commits intostagingfrom
ui-kits-comm

Conversation

@braddialpad
Copy link
Copy Markdown
Contributor

@braddialpad Brad Paugh (braddialpad) commented Mar 26, 2026

Obligatory GIF (super important!)

Obligatory GIF

🛠️ Type Of Change

  • Documentation

📖 Jira Ticket

DLT-3151

📖 Description

Adds a "What's New" blog post announcing the deprecation of DtRecipe* components
in favor of the new UI-Kit packages (@dialpad/callbarkit, @dialpad/chatkit, etc.),
with a full component mapping table and instructions for migrating.

Also adds scripts/migrate-recipes-to-uikits.mjs — a Node.js script that automates
the migration by rewriting imports, component names (PascalCase and kebab-case), and
CSS class prefixes across a codebase. The blog post links to the script via its raw
GitHub URL so consumers can run it with curl | node.

💡 Context

DtRecipe* components are being deprecated and moved to standalone UI-Kit packages.
This post communicates the change to consumers and provides tooling to reduce the
migration burden.

📝 Checklist

For all PRs:

  • I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
  • I have reviewed my changes.
  • I have added all relevant documentation.
  • I have considered the performance impact of my change.

Comment thread apps/dialtone-documentation/docs/about/whats-new/posts/2026-3-30.md Outdated
@wiz-inc-55b470eb7e
Copy link
Copy Markdown

wiz-inc-55b470eb7e bot commented Mar 26, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 6 Medium
Software Management Finding Software Management Findings -
Total 6 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 84881b2909

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment thread scripts/migrate-recipes-to-uikits.mjs Outdated

// 1. Rewrite named imports from @dialpad/dialtone/vue3
result = result.replace(
/import\s*\{([^}]+)\}\s*from\s*(['"])@dialpad\/dialtone\/vue3\2/g,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Rewrite type-only Dialtone imports during migration

The import-rewrite regex only matches import { ... } from '@dialpad/dialtone/vue3', so import type { ... } statements are skipped; the later global symbol replacement still renames DtRecipe* to the new names, leaving type imports pointed at the old package (for example import type { DpCallbarButton } from '@dialpad/dialtone/vue3'). In TypeScript codebases that use type-only imports, this produces incorrect package references and can fail type-check/build after running the script.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown
Contributor

✔️ Deploy previews ready!
😎 Dialtone documentation preview: https://dialtone.dialpad.com/deploy-previews/pr-1156/

@braddialpad Brad Paugh (braddialpad) merged commit 069ad3c into staging Mar 31, 2026
13 checks passed
@braddialpad Brad Paugh (braddialpad) deleted the ui-kits-comm branch March 31, 2026 01:27
Brad Paugh (braddialpad) pushed a commit that referenced this pull request Mar 31, 2026
# [9.176.0](dialtone/v9.175.2...dialtone/v9.176.0) (2026-03-31)

### Bug Fixes

* **Rich Text Editor:** DLT-3190 replace custom JSON-to-markdown converter with @tiptap/static-renderer ([#1148](#1148)) ([9629c70](9629c70))

### Documentation

* DLT-3151 blog post for ui-kits migration and script ([#1156](#1156)) ([069ad3c](069ad3c))
* **Editor:** DLT-3050 updated editor docs with recent changes ([#1139](#1139)) ([04bfabb](04bfabb))
* **Icons:** DLT-3220 update contributing and add claude rules and skill ([#1151](#1151)) ([296a83d](296a83d))

### Features

* **Dialtone Cli,dialtone Query Core:** DLT-3163 extract query core and add CLI ([#1142](#1142)) ([65090e6](65090e6))
* DLT-3049 add code review rules, skill, agent, and command ([#1154](#1154)) ([6bdef46](6bdef46))
* **Icons:** DLT-3219 align star/sparkle icons with dp brand star ([#1152](#1152)) ([ef39afc](ef39afc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-visual-test Add this tag when the PR does not need visual testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant