Xuda logo

xuda.io

Technical docs for Xuda Slim and Xuda CLI

Product overview
Xuda CLI

alerts/

This guide was generated by xuda-cli.

Xuda CLI pages

Repo-driven docs from the xuda-cli package README and generated folder guides.

Docs page

This guide was generated by xuda-cli.

You can remove all generated folder guides later with:

npm run clean:readmes

Use this folder for Xuda alert units.

What belongs here

  • toast and dialog messages
  • success, warning, or error feedback
  • reusable user messaging definitions

Recommended blocks

  • <meta lang="json5">
  • optional <params lang="json5">
  • <alert lang="json5">

Important rules

  • keep alert text and style in the alert unit instead of repeating them across components
  • use alert units from workflows such as call_alert
  • keep messaging consistent and easy to update in one place

Example

<meta lang="json5">
{
  id: "student_saved",
  menuTitle: "Student Saved"
}
</meta>

<alert lang="json5">
{
  alertDisplay: "toast",
  alertType: "success",
  alertTitle: "Student saved",
  createLog: false
}
</alert>