Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

feat(qrcode): ui improvement (#16791)

Talal Jaber07cb85ae77c0
diff --git a/bun.lock b/bun.lock
index 5d0bf193e31..3f034b24858 100644
--- a/bun.lock
+++ b/bun.lock
@@ -10755,7 +10755,7 @@
},
"packages/pieces/core/qrcode": {
"name": "@activepieces/piece-qrcode",
- "version": "0.0.18",
+ "version": "0.1.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/core/qrcode/package.json b/packages/pieces/core/qrcode/package.json
index f54a0509db6..d7153718ddb 100644
--- a/packages/pieces/core/qrcode/package.json
+++ b/packages/pieces/core/qrcode/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-qrcode",
- "version": "0.0.18",
+ "version": "0.1.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"devDependencies": {
diff --git a/packages/pieces/core/qrcode/src/i18n/de.json b/packages/pieces/core/qrcode/src/i18n/de.json
index afbaaa38e71..216c3f01861 100644
--- a/packages/pieces/core/qrcode/src/i18n/de.json
+++ b/packages/pieces/core/qrcode/src/i18n/de.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "Text zu QR-Code",
"Convert text to QR code": "Text in QR-Code konvertieren",
- "Content": "Inhalt"
+ "Content": "Inhalt",
+ "Make QR code images from text or links.": "QR-Code-Bilder aus Text oder Links erstellen.",
+ "Generate QR Code": "QR-Code generieren",
+ "Turn text or a link into a PNG QR code image.": "Text oder einen Link in ein PNG-QR-Code-Bild umwandeln.",
+ "Text or Link": "Text oder Link",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Wird in eine PNG-Bilddatei kodiert. Höchstens etwa 2.300 Zeichen.",
+ "QR Code": "QR-Code"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/es.json b/packages/pieces/core/qrcode/src/i18n/es.json
index 8ce4661dffd..0e80abb2961 100644
--- a/packages/pieces/core/qrcode/src/i18n/es.json
+++ b/packages/pieces/core/qrcode/src/i18n/es.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "Texto al código QR",
"Convert text to QR code": "Convertir texto a código QR",
- "Content": "Contenido"
+ "Content": "Contenido",
+ "Make QR code images from text or links.": "Crea imágenes de códigos QR a partir de texto o enlaces.",
+ "Generate QR Code": "Generar código QR",
+ "Turn text or a link into a PNG QR code image.": "Convierte texto o un enlace en una imagen PNG de código QR.",
+ "Text or Link": "Texto o enlace",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Se codifica en un archivo de imagen PNG. Unos 2300 caracteres como máximo.",
+ "QR Code": "Código QR"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/fr.json b/packages/pieces/core/qrcode/src/i18n/fr.json
index 9c724405843..fff523d5760 100644
--- a/packages/pieces/core/qrcode/src/i18n/fr.json
+++ b/packages/pieces/core/qrcode/src/i18n/fr.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "Envoyer un SMS au QR Code",
"Convert text to QR code": "Convertir le texte en code QR",
- "Content": "Contenus"
+ "Content": "Contenus",
+ "Make QR code images from text or links.": "Créez des images de code QR à partir de texte ou de liens.",
+ "Generate QR Code": "Générer un code QR",
+ "Turn text or a link into a PNG QR code image.": "Transformer du texte ou un lien en image PNG de code QR.",
+ "Text or Link": "Texte ou lien",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Encodé dans un fichier image PNG. Environ 2 300 caractères au maximum.",
+ "QR Code": "Code QR"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/ja.json b/packages/pieces/core/qrcode/src/i18n/ja.json
index ae1a2b64cfd..519b1243bc6 100644
--- a/packages/pieces/core/qrcode/src/i18n/ja.json
+++ b/packages/pieces/core/qrcode/src/i18n/ja.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "QRコードにテキスト",
"Convert text to QR code": "テキストをQRコードに変換する",
- "Content": "コンテンツ"
+ "Content": "コンテンツ",
+ "Make QR code images from text or links.": "テキストやリンクからQRコード画像を作成します。",
+ "Generate QR Code": "QRコードを生成",
+ "Turn text or a link into a PNG QR code image.": "テキストまたはリンクをPNG形式のQRコード画像に変換します。",
+ "Text or Link": "テキストまたはリンク",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "PNG画像ファイルにエンコードされます。最大で約2,300文字です。",
+ "QR Code": "QRコード"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/nl.json b/packages/pieces/core/qrcode/src/i18n/nl.json
index 768c64222f4..f39a2ff8a5d 100644
--- a/packages/pieces/core/qrcode/src/i18n/nl.json
+++ b/packages/pieces/core/qrcode/src/i18n/nl.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "Tekst naar QR-Code",
"Convert text to QR code": "Tekst converteren naar QR-code",
- "Content": "Inhoud"
+ "Content": "Inhoud",
+ "Make QR code images from text or links.": "Maak QR-codeafbeeldingen van tekst of links.",
+ "Generate QR Code": "QR-code genereren",
+ "Turn text or a link into a PNG QR code image.": "Zet tekst of een link om in een PNG-afbeelding van een QR-code.",
+ "Text or Link": "Tekst of link",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Wordt gecodeerd in een PNG-afbeeldingsbestand. Maximaal ongeveer 2.300 tekens.",
+ "QR Code": "QR-code"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/pt.json b/packages/pieces/core/qrcode/src/i18n/pt.json
index b53f31e3e40..adef010ff41 100644
--- a/packages/pieces/core/qrcode/src/i18n/pt.json
+++ b/packages/pieces/core/qrcode/src/i18n/pt.json
@@ -1,5 +1,11 @@
{
"Text to QR Code": "Texto para código QR",
"Convert text to QR code": "Converter texto para código QR",
- "Content": "Conteúdo"
+ "Content": "Conteúdo",
+ "Make QR code images from text or links.": "Crie imagens de código QR a partir de texto ou links.",
+ "Generate QR Code": "Gerar código QR",
+ "Turn text or a link into a PNG QR code image.": "Transforme texto ou um link em uma imagem PNG de código QR.",
+ "Text or Link": "Texto ou link",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Codificado em um arquivo de imagem PNG. Cerca de 2.300 caracteres no máximo.",
+ "QR Code": "Código QR"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/ru.json b/packages/pieces/core/qrcode/src/i18n/ru.json
index 0b8222f58a3..08b82a1889f 100644
--- a/packages/pieces/core/qrcode/src/i18n/ru.json
+++ b/packages/pieces/core/qrcode/src/i18n/ru.json
@@ -1,6 +1,11 @@
{
- "QR Code": "QR Code",
+ "QR Code": "QR-код",
"Text to QR Code": "Текст в QR-код",
"Convert text to QR code": "Преобразовать текст в QR-код",
- "Content": "Содержание"
+ "Content": "Содержание",
+ "Make QR code images from text or links.": "Создавайте изображения QR-кодов из текста или ссылок.",
+ "Generate QR Code": "Создать QR-код",
+ "Turn text or a link into a PNG QR code image.": "Преобразует текст или ссылку в изображение QR-кода в формате PNG.",
+ "Text or Link": "Текст или ссылка",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Кодируется в файл изображения PNG. Примерно не более 2300 символов."
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/i18n/translation.json b/packages/pieces/core/qrcode/src/i18n/translation.json
index be7fad3a348..3632dbd9407 100644
--- a/packages/pieces/core/qrcode/src/i18n/translation.json
+++ b/packages/pieces/core/qrcode/src/i18n/translation.json
@@ -1,6 +1,8 @@
{
- "Text to QR Code": "Text to QR Code",
- "Convert text to QR code": "Convert text to QR code",
- "Content": "Content",
+ "Make QR code images from text or links.": "Make QR code images from text or links.",
+ "Generate QR Code": "Generate QR Code",
+ "Turn text or a link into a PNG QR code image.": "Turn text or a link into a PNG QR code image.",
+ "Text or Link": "Text or Link",
+ "Encoded into a PNG image file. About 2,300 characters at most.": "Encoded into a PNG image file. About 2,300 characters at most.",
"QR Code": "QR Code"
}
\ No newline at end of file
diff --git a/packages/pieces/core/qrcode/src/index.ts b/packages/pieces/core/qrcode/src/index.ts
index 9e05f0a1598..9a88519d060 100644
--- a/packages/pieces/core/qrcode/src/index.ts
+++ b/packages/pieces/core/qrcode/src/index.ts
@@ -5,6 +5,7 @@
export const qrcode = createPiece({
displayName: 'QR Code',
+ description: 'Make QR code images from text or links.',
auth: PieceAuth.None(),
minimumSupportedRelease: '0.30.0',
logoUrl: "https://cdn.activepieces.com/pieces/new-core/qrcode.svg",
diff --git a/packages/pieces/core/qrcode/src/lib/actions/output-qrcode-action.ts b/packages/pieces/core/qrcode/src/lib/actions/output-qrcode-action.ts
index 282d188a162..9fe843378c6 100644
--- a/packages/pieces/core/qrcode/src/lib/actions/output-qrcode-action.ts
+++ b/packages/pieces/core/qrcode/src/lib/actions/output-qrcode-action.ts
@@ -5,12 +5,14 @@ export const outputQrcodeAction = createAction({
audience: 'both',
name: 'text_to_qrcode',
classification: 'READ',
- displayName: 'Text to QR Code',
- description: 'Convert text to QR code',
+ displayName: 'Generate QR Code',
+ description: 'Turn text or a link into a PNG QR code image.',
aiMetadata: { description: 'Encodes a text string (URL, plain text, or any short payload) into a QR code image and returns it as a PNG file; this piece has no counterpart action for decoding or reading a QR code. Takes only the text content - no size, margin, or color options - and throws if the content exceeds the QR format\'s few-kilobyte capacity ceiling; deterministic and idempotent.', idempotent: true },
props: {
text: Property.LongText({
- displayName: 'Content',
+ displayName: 'Text or Link',
+ description: 'Encoded into a PNG image file. About 2,300 characters at most.',
+ placeholder: 'https://example.com',
required: true,
}),
},