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
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(trello): ui improvement (#16596)
Talal Jaber23645e9319ed
diff --git a/bun.lock b/bun.lockindex 7dc42c60f91..64ece9b87be 100644--- a/bun.lock+++ b/bun.lock@@ -9354,7 +9354,7 @@},"packages/pieces/community/trello": {"name": "@activepieces/piece-trello",- "version": "0.7.1",+ "version": "0.8.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/trello/package.json b/packages/pieces/community/trello/package.jsonindex d65e11c51aa..d27e6d36a82 100644--- a/packages/pieces/community/trello/package.json+++ b/packages/pieces/community/trello/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-trello",- "version": "0.7.1",+ "version": "0.8.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {diff --git a/packages/pieces/community/trello/src/i18n/de.json b/packages/pieces/community/trello/src/i18n/de.jsonindex c42bbead95b..b4a02627db2 100644--- a/packages/pieces/community/trello/src/i18n/de.json+++ b/packages/pieces/community/trello/src/i18n/de.json@@ -285,5 +285,46 @@"Select unit for time before due": "Einheit vor Fälligkeit auswählen","How long before the due date the trigger should run (use with time unit)": "Wie lange vor dem Fälligkeitsdatum der Trigger laufen soll (Verwendung mit Zeiteinheit)","Minutes": "Minuten",- "Hours": "Stunden"+ "Hours": "Stunden",+ "Board": "Board",+ "List": "Liste",+ "Move to List": "In Liste verschieben",+ "File": "Datei",+ "File Name": "Dateiname",+ "File Type": "Dateityp",+ "Card Moved to List": "Karte in Liste verschoben",+ "Time Before Due": "Zeit vor Fälligkeit",+ "Time Unit": "Zeiteinheit",+ "Pick a board to load its lists.": "Wählen Sie ein Board, um dessen Listen zu laden.",+ "Markdown formatting is supported.": "Markdown-Formatierung wird unterstützt.",+ "Empty adds the card at the bottom of the list.": "Wenn leer, wird die Karte am Ende der Liste hinzugefügt.",+ "From an earlier step, or the code after /c/ in the card's URL.": "Aus einem vorherigen Schritt oder der Code nach /c/ in der URL der Karte.",+ "Loads the board's labels and lists below.": "Lädt unten die Etiketten und Listen des Boards.",+ "Fields left empty keep their current value.": "Leer gelassene Felder behalten ihren aktuellen Wert.",+ "On archives the card. Off keeps it open or restores it.": "Ein archiviert die Karte. Aus lässt sie offen oder stellt sie wieder her.",+ "Empty keeps the card where it is in its list.": "Wenn leer, bleibt die Karte an ihrer Position in der Liste.",+ "Replaces the card's labels. Leave empty to keep them.": "Ersetzt die Etiketten der Karte. Leer lassen, um sie zu behalten.",+ "Leave empty to keep the card in its current list.": "Leer lassen, um die Karte in ihrer aktuellen Liste zu behalten.",+ "A file from an earlier step, or a public URL.": "Eine Datei aus einem vorherigen Schritt oder eine öffentliche URL.",+ "Shown on the card. Empty uses the file's own name.": "Wird auf der Karte angezeigt. Wenn leer, wird der Name der Datei verwendet.",+ "The MIME type. Empty lets Trello detect it.": "Der MIME-Typ. Wenn leer, erkennt Trello ihn automatisch.",+ "Only images can be card covers.": "Nur Bilder können als Kartencover dienen.",+ "From Get All Card Attachments or an earlier step.": "Aus „Alle Kartenanhänge erhalten“ oder einem vorherigen Schritt.",+ "Extra headers to send. Trello needs none for sign-in.": "Zusätzliche Header, die gesendet werden. Trello benötigt keine für die Anmeldung.",+ "Appended as ?key=value. Your API key and token are added for you.": "Wird als ?key=value angehängt. Ihr API-Schlüssel und Token werden automatisch hinzugefügt.",+ "Fires when a card is moved into the chosen list.": "Wird ausgelöst, wenn eine Karte in die gewählte Liste verschoben wird.",+ "Fires when a card is created on the board or in the list.": "Wird ausgelöst, wenn eine Karte auf dem Board oder in der Liste erstellt wird.",+ "Fires a set time before each card's due date.": "Wird eine festgelegte Zeit vor dem Fälligkeitsdatum jeder Karte ausgelöst.",+ "Leave empty to use every list on the board.": "Leer lassen, um alle Listen des Boards zu verwenden.",+ "How long before the due date to fire.": "Wie lange vor dem Fälligkeitsdatum ausgelöst werden soll.",+ "Where to Add": "Wo hinzufügen",+ "Card Details": "Kartendetails",+ "Card to Update": "Zu aktualisierende Karte",+ "Changes": "Änderungen",+ "Card": "Karte",+ "Attachment": "Anhang",+ "Request": "Anfrage",+ "Data to send": "Zu sendende Daten",+ "Where to Watch": "Was überwachen",+ "Timing": "Zeitpunkt"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/es.json b/packages/pieces/community/trello/src/i18n/es.jsonindex 848923de166..c2ca755a0f9 100644--- a/packages/pieces/community/trello/src/i18n/es.json+++ b/packages/pieces/community/trello/src/i18n/es.json@@ -285,5 +285,46 @@"Select unit for time before due": "Seleccionar unidad antes del vencimiento","How long before the due date the trigger should run (use with time unit)": "Cuánto tiempo antes de la fecha de vencimiento debe ejecutarse el disparador (usar con unidad de tiempo)","Minutes": "Minutos",- "Hours": "Horas"+ "Hours": "Horas",+ "Board": "Tablero",+ "List": "Lista",+ "Move to List": "Mover a la lista",+ "File": "Archivo",+ "File Name": "Nombre del archivo",+ "File Type": "Tipo de archivo",+ "Card Moved to List": "Tarjeta movida a la lista",+ "Time Before Due": "Tiempo antes del vencimiento",+ "Time Unit": "Unidad de tiempo",+ "Pick a board to load its lists.": "Elige un tablero para cargar sus listas.",+ "Markdown formatting is supported.": "Se admite formato Markdown.",+ "Empty adds the card at the bottom of the list.": "Si está vacío, la tarjeta se añade al final de la lista.",+ "From an earlier step, or the code after /c/ in the card's URL.": "De un paso anterior, o el código después de /c/ en la URL de la tarjeta.",+ "Loads the board's labels and lists below.": "Carga abajo las etiquetas y listas del tablero.",+ "Fields left empty keep their current value.": "Los campos vacíos conservan su valor actual.",+ "On archives the card. Off keeps it open or restores it.": "Activado archiva la tarjeta. Desactivado la mantiene abierta o la restaura.",+ "Empty keeps the card where it is in its list.": "Si está vacío, la tarjeta se queda en su posición actual en la lista.",+ "Replaces the card's labels. Leave empty to keep them.": "Reemplaza las etiquetas de la tarjeta. Déjalo vacío para conservarlas.",+ "Leave empty to keep the card in its current list.": "Déjalo vacío para mantener la tarjeta en su lista actual.",+ "A file from an earlier step, or a public URL.": "Un archivo de un paso anterior, o una URL pública.",+ "Shown on the card. Empty uses the file's own name.": "Se muestra en la tarjeta. Si está vacío, se usa el nombre del propio archivo.",+ "The MIME type. Empty lets Trello detect it.": "El tipo MIME. Si está vacío, Trello lo detecta.",+ "Only images can be card covers.": "Solo las imágenes pueden ser portadas de tarjeta.",+ "From Get All Card Attachments or an earlier step.": "De «Obtener todos los archivos adjuntos de tarjeta» o un paso anterior.",+ "Extra headers to send. Trello needs none for sign-in.": "Encabezados adicionales para enviar. Trello no necesita ninguno para iniciar sesión.",+ "Appended as ?key=value. Your API key and token are added for you.": "Se añade como ?key=value. Tu clave de API y tu token se añaden automáticamente.",+ "Fires when a card is moved into the chosen list.": "Se activa cuando una tarjeta se mueve a la lista elegida.",+ "Fires when a card is created on the board or in the list.": "Se activa cuando se crea una tarjeta en el tablero o en la lista.",+ "Fires a set time before each card's due date.": "Se activa un tiempo determinado antes de la fecha de vencimiento de cada tarjeta.",+ "Leave empty to use every list on the board.": "Déjalo vacío para usar todas las listas del tablero.",+ "How long before the due date to fire.": "Cuánto tiempo antes de la fecha de vencimiento se activa.",+ "Where to Add": "Dónde añadir",+ "Card Details": "Detalles de la tarjeta",+ "Card to Update": "Tarjeta a actualizar",+ "Changes": "Cambios",+ "Card": "Tarjeta",+ "Attachment": "Adjunto",+ "Request": "Solicitud",+ "Data to send": "Datos a enviar",+ "Where to Watch": "Qué vigilar",+ "Timing": "Momento"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/fr.json b/packages/pieces/community/trello/src/i18n/fr.jsonindex 0012c6d5940..84538a206ec 100644--- a/packages/pieces/community/trello/src/i18n/fr.json+++ b/packages/pieces/community/trello/src/i18n/fr.json@@ -285,5 +285,46 @@"Select unit for time before due": "Sélectionnez l'unité pour le temps avant la date limite","How long before the due date the trigger should run (use with time unit)": "Combien de temps avant la date d'échéance le déclencheur doit s'exécuter (utiliser avec l'unité de temps)","Minutes": "Minutes",- "Hours": "Heures"+ "Hours": "Heures",+ "Board": "Tableau",+ "List": "Liste",+ "Move to List": "Déplacer vers la liste",+ "File": "Fichier",+ "File Name": "Nom du fichier",+ "File Type": "Type de fichier",+ "Card Moved to List": "Carte déplacée vers la liste",+ "Time Before Due": "Temps avant échéance",+ "Time Unit": "Unité de temps",+ "Pick a board to load its lists.": "Choisissez un tableau pour charger ses listes.",+ "Markdown formatting is supported.": "La mise en forme Markdown est prise en charge.",+ "Empty adds the card at the bottom of the list.": "Si vide, la carte est ajoutée en bas de la liste.",+ "From an earlier step, or the code after /c/ in the card's URL.": "D'une étape précédente, ou le code après /c/ dans l'URL de la carte.",+ "Loads the board's labels and lists below.": "Charge ci-dessous les étiquettes et les listes du tableau.",+ "Fields left empty keep their current value.": "Les champs laissés vides conservent leur valeur actuelle.",+ "On archives the card. Off keeps it open or restores it.": "Activé archive la carte. Désactivé la laisse ouverte ou la restaure.",+ "Empty keeps the card where it is in its list.": "Si vide, la carte reste à sa place dans sa liste.",+ "Replaces the card's labels. Leave empty to keep them.": "Remplace les étiquettes de la carte. Laissez vide pour les conserver.",+ "Leave empty to keep the card in its current list.": "Laissez vide pour garder la carte dans sa liste actuelle.",+ "A file from an earlier step, or a public URL.": "Un fichier d'une étape précédente, ou une URL publique.",+ "Shown on the card. Empty uses the file's own name.": "Affiché sur la carte. Si vide, le nom du fichier est utilisé.",+ "The MIME type. Empty lets Trello detect it.": "Le type MIME. Si vide, Trello le détecte.",+ "Only images can be card covers.": "Seules les images peuvent servir de couverture de carte.",+ "From Get All Card Attachments or an earlier step.": "Depuis « Obtenir toutes les pièces jointes de la carte » ou une étape précédente.",+ "Extra headers to send. Trello needs none for sign-in.": "Headers supplémentaires à envoyer. Trello n'en a besoin d'aucun pour la connexion.",+ "Appended as ?key=value. Your API key and token are added for you.": "Ajouté sous la forme ?key=value. Votre clé API et votre jeton sont ajoutés automatiquement.",+ "Fires when a card is moved into the chosen list.": "Se déclenche lorsqu'une carte est déplacée dans la liste choisie.",+ "Fires when a card is created on the board or in the list.": "Se déclenche lorsqu'une carte est créée sur le tableau ou dans la liste.",+ "Fires a set time before each card's due date.": "Se déclenche à un délai défini avant la date d'échéance de chaque carte.",+ "Leave empty to use every list on the board.": "Laissez vide pour utiliser toutes les listes du tableau.",+ "How long before the due date to fire.": "Délai avant la date d'échéance pour le déclenchement.",+ "Where to Add": "Où ajouter",+ "Card Details": "Détails de la carte",+ "Card to Update": "Carte à mettre à jour",+ "Changes": "Modifications",+ "Card": "Carte",+ "Attachment": "Pièce jointe",+ "Request": "Requête",+ "Data to send": "Données à envoyer",+ "Where to Watch": "Quoi surveiller",+ "Timing": "Délai"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/ja.json b/packages/pieces/community/trello/src/i18n/ja.jsonindex 47761ab0aea..0a6e38e3c11 100644--- a/packages/pieces/community/trello/src/i18n/ja.json+++ b/packages/pieces/community/trello/src/i18n/ja.json@@ -285,5 +285,46 @@"Select unit for time before due": "期日前の単位を選択してください","How long before the due date the trigger should run (use with time unit)": "期日の前にトリガーを実行する時間(時間単位で使用)","Minutes": "分",- "Hours": "時間"+ "Hours": "時間",+ "Board": "ボード",+ "List": "リスト",+ "Move to List": "リストに移動",+ "File": "ファイル",+ "File Name": "ファイル名",+ "File Type": "ファイルの種類",+ "Card Moved to List": "カードがリストに移動しました",+ "Time Before Due": "期日前の時間",+ "Time Unit": "時間単位",+ "Pick a board to load its lists.": "ボードを選択すると、そのリストが読み込まれます。",+ "Markdown formatting is supported.": "Markdown書式に対応しています。",+ "Empty adds the card at the bottom of the list.": "空欄の場合、カードはリストの末尾に追加されます。",+ "From an earlier step, or the code after /c/ in the card's URL.": "前のステップの値、またはカードのURL内の /c/ の後のコード。",+ "Loads the board's labels and lists below.": "下にボードのラベルとリストを読み込みます。",+ "Fields left empty keep their current value.": "空欄のフィールドは現在の値が維持されます。",+ "On archives the card. Off keeps it open or restores it.": "オンにするとカードをアーカイブします。オフにすると開いたままにするか、復元します。",+ "Empty keeps the card where it is in its list.": "空欄の場合、カードはリスト内の現在の位置に残ります。",+ "Replaces the card's labels. Leave empty to keep them.": "カードのラベルを置き換えます。維持する場合は空欄のままにしてください。",+ "Leave empty to keep the card in its current list.": "カードを現在のリストに残す場合は空欄のままにしてください。",+ "A file from an earlier step, or a public URL.": "前のステップのファイル、または公開URL。",+ "Shown on the card. Empty uses the file's own name.": "カードに表示されます。空欄の場合はファイル自体の名前が使われます。",+ "The MIME type. Empty lets Trello detect it.": "MIMEタイプ。空欄の場合はTrelloが自動検出します。",+ "Only images can be card covers.": "カードのカバーにできるのは画像のみです。",+ "From Get All Card Attachments or an earlier step.": "「すべてのカード添付ファイルを取得」または前のステップから。",+ "Extra headers to send. Trello needs none for sign-in.": "送信する追加のヘッダー。Trelloのサインインには不要です。",+ "Appended as ?key=value. Your API key and token are added for you.": "?key=value として追加されます。APIキーとトークンは自動的に追加されます。",+ "Fires when a card is moved into the chosen list.": "カードが選択したリストに移動されたときに実行されます。",+ "Fires when a card is created on the board or in the list.": "ボードまたはリストでカードが作成されたときに実行されます。",+ "Fires a set time before each card's due date.": "各カードの期日の設定した時間前に実行されます。",+ "Leave empty to use every list on the board.": "ボードのすべてのリストを使用する場合は空欄のままにしてください。",+ "How long before the due date to fire.": "期日のどれくらい前に実行するか。",+ "Where to Add": "追加先",+ "Card Details": "カードの詳細",+ "Card to Update": "更新するカード",+ "Changes": "変更内容",+ "Card": "カード",+ "Attachment": "添付ファイル",+ "Request": "リクエスト",+ "Data to send": "送信するデータ",+ "Where to Watch": "監視対象",+ "Timing": "タイミング"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/nl.json b/packages/pieces/community/trello/src/i18n/nl.jsonindex 3c31cc091e1..af555e9bd8d 100644--- a/packages/pieces/community/trello/src/i18n/nl.json+++ b/packages/pieces/community/trello/src/i18n/nl.json@@ -285,5 +285,46 @@"Select unit for time before due": "Kies eerst de eenheid voor de tijd","How long before the due date the trigger should run (use with time unit)": "Hoe lang voor de vervaldatum moet de trigger worden uitgevoerd (gebruik met tijd-eenheid)","Minutes": "minuten",- "Hours": "Uren"+ "Hours": "Uren",+ "Board": "Bord",+ "List": "Lijst",+ "Move to List": "Verplaatsen naar lijst",+ "File": "Bestand",+ "File Name": "Bestandsnaam",+ "File Type": "Bestandstype",+ "Card Moved to List": "Kaart verplaatst naar lijst",+ "Time Before Due": "Tijd voor vervaldatum",+ "Time Unit": "Tijd eenheid",+ "Pick a board to load its lists.": "Kies een bord om de lijsten ervan te laden.",+ "Markdown formatting is supported.": "Markdown-opmaak wordt ondersteund.",+ "Empty adds the card at the bottom of the list.": "Indien leeg, wordt de kaart onderaan de lijst toegevoegd.",+ "From an earlier step, or the code after /c/ in the card's URL.": "Uit een eerdere stap, of de code na /c/ in de URL van de kaart.",+ "Loads the board's labels and lists below.": "Laadt hieronder de labels en lijsten van het bord.",+ "Fields left empty keep their current value.": "Leeg gelaten velden behouden hun huidige waarde.",+ "On archives the card. Off keeps it open or restores it.": "Aan archiveert de kaart. Uit houdt deze open of herstelt deze.",+ "Empty keeps the card where it is in its list.": "Indien leeg, blijft de kaart op haar plek in de lijst.",+ "Replaces the card's labels. Leave empty to keep them.": "Vervangt de labels van de kaart. Laat leeg om ze te behouden.",+ "Leave empty to keep the card in its current list.": "Laat leeg om de kaart in de huidige lijst te houden.",+ "A file from an earlier step, or a public URL.": "Een bestand uit een eerdere stap, of een openbare URL.",+ "Shown on the card. Empty uses the file's own name.": "Wordt op de kaart getoond. Indien leeg, wordt de eigen naam van het bestand gebruikt.",+ "The MIME type. Empty lets Trello detect it.": "Het MIME-type. Indien leeg, detecteert Trello het.",+ "Only images can be card covers.": "Alleen afbeeldingen kunnen kaartomslagen zijn.",+ "From Get All Card Attachments or an earlier step.": "Uit \"Alle bijlage(n) van de kaart ophalen\" of een eerdere stap.",+ "Extra headers to send. Trello needs none for sign-in.": "Extra headers om te verzenden. Trello heeft er geen nodig om in te loggen.",+ "Appended as ?key=value. Your API key and token are added for you.": "Toegevoegd als ?key=value. Uw API-sleutel en token worden automatisch toegevoegd.",+ "Fires when a card is moved into the chosen list.": "Wordt geactiveerd wanneer een kaart naar de gekozen lijst wordt verplaatst.",+ "Fires when a card is created on the board or in the list.": "Wordt geactiveerd wanneer een kaart op het bord of in de lijst wordt aangemaakt.",+ "Fires a set time before each card's due date.": "Wordt een ingestelde tijd voor de vervaldatum van elke kaart geactiveerd.",+ "Leave empty to use every list on the board.": "Laat leeg om alle lijsten op het bord te gebruiken.",+ "How long before the due date to fire.": "Hoe lang voor de vervaldatum er moet worden geactiveerd.",+ "Where to Add": "Waar toevoegen",+ "Card Details": "Kaartgegevens",+ "Card to Update": "Bij te werken kaart",+ "Changes": "Wijzigingen",+ "Card": "Kaart",+ "Attachment": "Bijlage",+ "Request": "Verzoek",+ "Data to send": "Te verzenden gegevens",+ "Where to Watch": "Wat volgen",+ "Timing": "Timing"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/pt.json b/packages/pieces/community/trello/src/i18n/pt.jsonindex d73db16e268..b26fde302b3 100644--- a/packages/pieces/community/trello/src/i18n/pt.json+++ b/packages/pieces/community/trello/src/i18n/pt.json@@ -285,5 +285,46 @@"Select unit for time before due": "Selecione a unidade para o tempo antes do vencimento","How long before the due date the trigger should run (use with time unit)": "Quanto tempo antes da data de vencimento, o gatilho deve ser executado (usar com a unidade de tempo)","Minutes": "minutos",- "Hours": "horas"+ "Hours": "horas",+ "Board": "Quadro",+ "List": "Lista",+ "Move to List": "Mover para a lista",+ "File": "Arquivo",+ "File Name": "Nome do arquivo",+ "File Type": "Tipo de arquivo",+ "Card Moved to List": "Cartão movido para a lista",+ "Time Before Due": "Tempo antes do vencimento",+ "Time Unit": "Unidade de tempo",+ "Pick a board to load its lists.": "Escolha um quadro para carregar as listas dele.",+ "Markdown formatting is supported.": "A formatação Markdown é suportada.",+ "Empty adds the card at the bottom of the list.": "Se vazio, o cartão é adicionado ao final da lista.",+ "From an earlier step, or the code after /c/ in the card's URL.": "De uma etapa anterior, ou o código após /c/ na URL do cartão.",+ "Loads the board's labels and lists below.": "Carrega abaixo os marcadores e as listas do quadro.",+ "Fields left empty keep their current value.": "Campos deixados vazios mantêm o valor atual.",+ "On archives the card. Off keeps it open or restores it.": "Ativado arquiva o cartão. Desativado o mantém aberto ou o restaura.",+ "Empty keeps the card where it is in its list.": "Se vazio, o cartão permanece na posição atual da lista.",+ "Replaces the card's labels. Leave empty to keep them.": "Substitui os marcadores do cartão. Deixe vazio para mantê-los.",+ "Leave empty to keep the card in its current list.": "Deixe vazio para manter o cartão na lista atual.",+ "A file from an earlier step, or a public URL.": "Um arquivo de uma etapa anterior, ou uma URL pública.",+ "Shown on the card. Empty uses the file's own name.": "Exibido no cartão. Se vazio, usa o nome do próprio arquivo.",+ "The MIME type. Empty lets Trello detect it.": "O tipo MIME. Se vazio, o Trello o detecta.",+ "Only images can be card covers.": "Somente imagens podem ser capas de cartão.",+ "From Get All Card Attachments or an earlier step.": "De \"Obter todos os anexos do cartão\" ou de uma etapa anterior.",+ "Extra headers to send. Trello needs none for sign-in.": "Cabeçalhos extras a enviar. O Trello não precisa de nenhum para o login.",+ "Appended as ?key=value. Your API key and token are added for you.": "Adicionado como ?key=value. Sua chave de API e seu token são adicionados automaticamente.",+ "Fires when a card is moved into the chosen list.": "Dispara quando um cartão é movido para a lista escolhida.",+ "Fires when a card is created on the board or in the list.": "Dispara quando um cartão é criado no quadro ou na lista.",+ "Fires a set time before each card's due date.": "Dispara um tempo definido antes da data de vencimento de cada cartão.",+ "Leave empty to use every list on the board.": "Deixe vazio para usar todas as listas do quadro.",+ "How long before the due date to fire.": "Quanto tempo antes da data de vencimento disparar.",+ "Where to Add": "Onde adicionar",+ "Card Details": "Detalhes do cartão",+ "Card to Update": "Cartão a atualizar",+ "Changes": "Alterações",+ "Card": "Cartão",+ "Attachment": "Anexo",+ "Request": "Requisição",+ "Data to send": "Dados a enviar",+ "Where to Watch": "O que monitorar",+ "Timing": "Momento"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/ru.json b/packages/pieces/community/trello/src/i18n/ru.jsonindex dab7fc7cb4a..8c367c0f305 100644--- a/packages/pieces/community/trello/src/i18n/ru.json+++ b/packages/pieces/community/trello/src/i18n/ru.json@@ -37,5 +37,48 @@"Select unit for time before due": "Выберите единицу за время до завершения","How long before the due date the trigger should run (use with time unit)": "Как долго до окончания запуска триггера (используйте с единицей времени)","Minutes": "Минут",- "Hours": "Часы"+ "Hours": "Часы",+ "Board": "Доска",+ "List": "Список",+ "Move to List": "Переместить в список",+ "File": "Файл",+ "File Name": "Имя файла",+ "File Type": "Тип файла",+ "Card Moved to List": "Карта перемещена в список",+ "Time Before Due": "Время до выполнения",+ "Time Unit": "Единица времени",+ "Pick a board to load its lists.": "Выберите доску, чтобы загрузить её списки.",+ "Markdown formatting is supported.": "Поддерживается форматирование Markdown.",+ "Empty adds the card at the bottom of the list.": "Если пусто, карта добавляется в конец списка.",+ "From an earlier step, or the code after /c/ in the card's URL.": "Из предыдущего шага или код после /c/ в URL карты.",+ "Loads the board's labels and lists below.": "Загружает ниже метки и списки доски.",+ "Fields left empty keep their current value.": "Незаполненные поля сохраняют текущее значение.",+ "On archives the card. Off keeps it open or restores it.": "Вкл. — карта архивируется. Выкл. — карта остаётся открытой или восстанавливается.",+ "Empty keeps the card where it is in its list.": "Если пусто, карта остаётся на своём месте в списке.",+ "Replaces the card's labels. Leave empty to keep them.": "Заменяет метки карты. Оставьте пустым, чтобы сохранить их.",+ "Leave empty to keep the card in its current list.": "Оставьте пустым, чтобы карта осталась в текущем списке.",+ "A file from an earlier step, or a public URL.": "Файл из предыдущего шага или публичный URL.",+ "Shown on the card. Empty uses the file's own name.": "Отображается на карте. Если пусто, используется собственное имя файла.",+ "The MIME type. Empty lets Trello detect it.": "Тип MIME. Если пусто, Trello определит его сам.",+ "Only images can be card covers.": "Обложкой карты могут быть только изображения.",+ "From Get All Card Attachments or an earlier step.": "Из Get All Card Attachments или предыдущего шага.",+ "Extra headers to send. Trello needs none for sign-in.": "Дополнительные заголовки для отправки. Для входа в Trello они не нужны.",+ "Appended as ?key=value. Your API key and token are added for you.": "Добавляется как ?key=value. Ваш ключ API и токен добавляются автоматически.",+ "Fires when a card is moved into the chosen list.": "Срабатывает, когда карта перемещается в выбранный список.",+ "Fires when a card is created on the board or in the list.": "Срабатывает, когда карта создаётся на доске или в списке.",+ "Fires a set time before each card's due date.": "Срабатывает за заданное время до срока выполнения каждой карты.",+ "Leave empty to use every list on the board.": "Оставьте пустым, чтобы использовать все списки доски.",+ "How long before the due date to fire.": "За сколько времени до срока выполнения срабатывать.",+ "Card Name": "Название карты",+ "Card Description": "Описание карты",+ "Where to Add": "Куда добавить",+ "Card Details": "Сведения о карте",+ "Card to Update": "Карта для обновления",+ "Changes": "Изменения",+ "Card": "Карта",+ "Attachment": "Вложение",+ "Request": "Запрос",+ "Data to send": "Отправляемые данные",+ "Where to Watch": "Что отслеживать",+ "Timing": "Время"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/translation.json b/packages/pieces/community/trello/src/i18n/translation.jsonindex 37b83282a0a..6c931a96ffe 100644--- a/packages/pieces/community/trello/src/i18n/translation.json+++ b/packages/pieces/community/trello/src/i18n/translation.json@@ -155,20 +155,20 @@"List a board's members together with their roles.": "List a board's members together with their roles.","Attach a link to a card by URL.": "Attach a link to a card by URL.","Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",- "Boards": "Boards",- "Lists": "Lists",- "Task Name": "Task Name",- "Task Description": "Task Description",+ "Board": "Board",+ "List": "List",+ "Card Name": "Card Name",+ "Card Description": "Card Description","Position": "Position","Labels": "Labels","Card ID": "Card ID",- "Card Name": "Card Name",- "Card Description": "Card Description",- "Archived": "Archived",+ "Markdown": "Markdown","Due Date": "Due Date",- "Attachment File": "Attachment File",- "Attachment Name": "Attachment Name",- "MIME Type": "MIME Type",+ "Archived": "Archived",+ "Move to List": "Move to List",+ "File": "File",+ "File Name": "File Name",+ "File Type": "File Type","Set as Cover": "Set as Cover","Attachment ID": "Attachment ID","List ID": "List ID",@@ -228,26 +228,21 @@"Return Error as Output": "Return Error as Output","Timeout": "Timeout","Follow redirects": "Follow redirects",- "List of boards": "List of boards",- "Get lists from a board": "Get lists from a board",- "The name of the card to create": "The name of the card to create",- "The description of the card to create": "The description of the card to create",- "Place the card on top or bottom of the list": "Place the card on top or bottom of the list",- "Assign labels to the card": "Assign labels to the card",- "The card ID": "The card ID",- "The ID of the card to update": "The ID of the card to update",- "The new name of the card": "The new name of the card",- "The new description of the card": "The new description of the card",- "Move the card to a new position": "Move the card to a new position",- "Archive or unarchive the card": "Archive or unarchive the card",- "Set a due date for the card": "Set a due date for the card",- "The ID of the card to delete.": "The ID of the card to delete.",- "The ID of the card to get attachments from": "The ID of the card to get attachments from",- "The ID of the card to add attachment to": "The ID of the card to add attachment to",- "Set this attachment as the card cover": "Set this attachment as the card cover",- "The ID of the card": "The ID of the card",- "The ID of the attachment to retrieve": "The ID of the attachment to retrieve",- "The ID of the attachment to delete": "The ID of the attachment to delete",+ "Pick a board to load its lists.": "Pick a board to load its lists.",+ "Markdown formatting is supported.": "Markdown formatting is supported.",+ "Empty adds the card at the bottom of the list.": "Empty adds the card at the bottom of the list.",+ "From an earlier step, or the code after /c/ in the card's URL.": "From an earlier step, or the code after /c/ in the card's URL.",+ "Loads the board's labels and lists below.": "Loads the board's labels and lists below.",+ "Fields left empty keep their current value.": "Fields left empty keep their current value.",+ "On archives the card. Off keeps it open or restores it.": "On archives the card. Off keeps it open or restores it.",+ "Empty keeps the card where it is in its list.": "Empty keeps the card where it is in its list.",+ "Replaces the card's labels. Leave empty to keep them.": "Replaces the card's labels. Leave empty to keep them.",+ "Leave empty to keep the card in its current list.": "Leave empty to keep the card in its current list.",+ "A file from an earlier step, or a public URL.": "A file from an earlier step, or a public URL.",+ "Shown on the card. Empty uses the file's own name.": "Shown on the card. Empty uses the file's own name.",+ "The MIME type. Empty lets Trello detect it.": "The MIME type. Empty lets Trello detect it.",+ "Only images can be card covers.": "Only images can be card covers.",+ "From Get All Card Attachments or an earlier step.": "From Get All Card Attachments or an earlier step.","The ID of the list to create the card in. Obtain it from List Lists (which takes a board_id from List Boards).": "The ID of the list to create the card in. Obtain it from List Lists (which takes a board_id from List Boards).","The name of the card to create.": "The name of the card to create.","The description of the card to create.": "The description of the card to create.",@@ -341,8 +336,8 @@"The link to attach. Must start with http:// or https://.": "The link to attach. Must start with http:// or https://.","Display name for the attachment (max 256 characters). Defaults to the URL.": "Display name for the attachment (max 256 characters). Defaults to the URL.","Use the attachment as the card cover. Only meaningful for images.": "Use the attachment as the card cover. Only meaningful for images.",- "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",- "Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.",+ "Extra headers to send. Trello needs none for sign-in.": "Extra headers to send. Trello needs none for sign-in.",+ "Appended as ?key=value. Your API key and token are added for you.": "Appended as ?key=value. Your API key and token are added for you.","Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.","On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.","Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).",@@ -376,16 +371,26 @@"PUT": "PUT","DELETE": "DELETE","HEAD": "HEAD",- "Card Moved to list": "Card Moved to list",+ "Where to Add": "Where to Add",+ "Card Details": "Card Details",+ "Card to Update": "Card to Update",+ "Changes": "Changes",+ "Card": "Card",+ "Attachment": "Attachment",+ "Request": "Request",+ "Data to send": "Data to send",+ "Card Moved to List": "Card Moved to List","New Card": "New Card","Card Deadline": "Card Deadline",- "Trigger when a card is moved to the list specified": "Trigger when a card is moved to the list specified",- "Trigger when a new card is created": "Trigger when a new card is created",- "Triggers at a specified time before a card deadline.": "Triggers at a specified time before a card deadline.",- "Time unit": "Time unit",- "Time before due": "Time before due",- "Select unit for time before due": "Select unit for time before due",- "How long before the due date the trigger should run (use with time unit)": "How long before the due date the trigger should run (use with time unit)",+ "Fires when a card is moved into the chosen list.": "Fires when a card is moved into the chosen list.",+ "Fires when a card is created on the board or in the list.": "Fires when a card is created on the board or in the list.",+ "Fires a set time before each card's due date.": "Fires a set time before each card's due date.",+ "Time Before Due": "Time Before Due",+ "Time Unit": "Time Unit",+ "Leave empty to use every list on the board.": "Leave empty to use every list on the board.",+ "How long before the due date to fire.": "How long before the due date to fire.","Minutes": "Minutes",- "Hours": "Hours"+ "Hours": "Hours",+ "Where to Watch": "Where to Watch",+ "Timing": "Timing"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/i18n/zh.json b/packages/pieces/community/trello/src/i18n/zh.jsonindex 6808b047796..bc02ac97a7a 100644--- a/packages/pieces/community/trello/src/i18n/zh.json+++ b/packages/pieces/community/trello/src/i18n/zh.json@@ -122,8 +122,8 @@"Position": "Position","Labels": "Labels","Card ID": "Card ID",- "Card Name": "Card Name",- "Card Description": "Card Description",+ "Card Name": "卡片名称",+ "Card Description": "卡片描述","Archived": "Archived","Due Date": "Due Date","Attachment File": "Attachment File",@@ -285,5 +285,46 @@"Select unit for time before due": "Select unit for time before due","How long before the due date the trigger should run (use with time unit)": "How long before the due date the trigger should run (use with time unit)","Minutes": "Minutes",- "Hours": "Hours"+ "Hours": "Hours",+ "Board": "看板",+ "List": "列表",+ "Move to List": "移动到列表",+ "File": "文件",+ "File Name": "文件名",+ "File Type": "文件类型",+ "Card Moved to List": "卡片已移动到列表",+ "Time Before Due": "截止前时间",+ "Time Unit": "时间单位",+ "Pick a board to load its lists.": "选择一个看板以加载其列表。",+ "Markdown formatting is supported.": "支持 Markdown 格式。",+ "Empty adds the card at the bottom of the list.": "留空则将卡片添加到列表底部。",+ "From an earlier step, or the code after /c/ in the card's URL.": "来自之前的步骤,或卡片 URL 中 /c/ 后面的代码。",+ "Loads the board's labels and lists below.": "在下方加载该看板的标签和列表。",+ "Fields left empty keep their current value.": "留空的字段将保留其当前值。",+ "On archives the card. Off keeps it open or restores it.": "开启则归档卡片。关闭则保持打开或将其恢复。",+ "Empty keeps the card where it is in its list.": "留空则卡片保持在列表中的当前位置。",+ "Replaces the card's labels. Leave empty to keep them.": "替换卡片的标签。留空则保留现有标签。",+ "Leave empty to keep the card in its current list.": "留空则卡片保留在当前列表中。",+ "A file from an earlier step, or a public URL.": "来自之前步骤的文件,或公开 URL。",+ "Shown on the card. Empty uses the file's own name.": "显示在卡片上。留空则使用文件本身的名称。",+ "The MIME type. Empty lets Trello detect it.": "MIME 类型。留空则由 Trello 自动检测。",+ "Only images can be card covers.": "只有图片可以作为卡片封面。",+ "From Get All Card Attachments or an earlier step.": "来自 Get All Card Attachments 或之前的步骤。",+ "Extra headers to send. Trello needs none for sign-in.": "要发送的额外请求头。Trello 登录不需要任何请求头。",+ "Appended as ?key=value. Your API key and token are added for you.": "以 ?key=value 形式附加。您的 API 密钥和令牌会自动添加。",+ "Fires when a card is moved into the chosen list.": "当卡片被移动到所选列表时触发。",+ "Fires when a card is created on the board or in the list.": "当在看板或列表中创建卡片时触发。",+ "Fires a set time before each card's due date.": "在每张卡片截止日期前的设定时间触发。",+ "Leave empty to use every list on the board.": "留空则使用看板上的所有列表。",+ "How long before the due date to fire.": "在截止日期前多久触发。",+ "Where to Add": "添加位置",+ "Card Details": "卡片详情",+ "Card to Update": "要更新的卡片",+ "Changes": "更改",+ "Card": "卡片",+ "Attachment": "附件",+ "Request": "请求",+ "Data to send": "要发送的数据",+ "Where to Watch": "监视对象",+ "Timing": "时间"}\ No newline at end of filediff --git a/packages/pieces/community/trello/src/index.ts b/packages/pieces/community/trello/src/index.tsindex ff699cb5f18..d66d2420d2b 100644--- a/packages/pieces/community/trello/src/index.ts+++ b/packages/pieces/community/trello/src/index.ts@@ -142,7 +142,7 @@ export const trelloAuth = PieceAuth.BasicAuth({export const trello = createPiece({displayName: 'Trello',description: 'Project management tool for teams',- minimumSupportedRelease: '0.87.0',+ minimumSupportedRelease: '0.88.2',logoUrl: 'https://cdn.activepieces.com/pieces/trello.png',authors: ["Salem-Alaa", "kishanprmr", "MoShizzle", "khaledmashaly", "abuaboud", "AshotZaqoyan", "OdaiAhmed99"],categories: [PieceCategory.PRODUCTIVITY],@@ -172,7 +172,19 @@ export const trello = createPiece({key: auth.username,token: auth.password}- }+ },+ props: {+ url: {+ description: 'Full URL, or a path relative to https://api.trello.com/1',+ placeholder: '/members/me/boards',+ },+ headers: {+ description: 'Extra headers to send. Trello needs none for sign-in.',+ },+ queryParams: {+ description: 'Appended as ?key=value. Your API key and token are added for you.',+ },+ },})],triggers: [cardMovedTrigger, newCardTrigger, deadlineTrigger],diff --git a/packages/pieces/community/trello/src/lib/actions/card-attachment/add-card-attachment.ts b/packages/pieces/community/trello/src/lib/actions/card-attachment/add-card-attachment.tsindex 5cda0e4eca0..cb2410d5df2 100644--- a/packages/pieces/community/trello/src/lib/actions/card-attachment/add-card-attachment.ts+++ b/packages/pieces/community/trello/src/lib/actions/card-attachment/add-card-attachment.ts@@ -18,26 +18,38 @@ export const addCardAttachment = createAction({description: 'Adds an attachment to a card.',audience: 'human',outputSchema: addCardAttachmentActionOutputSchema,+ propertyGroups: [+ { key: 'card', display: 'section', label: 'Card', icon: 'tag', props: ['card_id'] },+ { key: 'attachment', display: 'section', label: 'Attachment', icon: 'paperclip', props: ['attachment', 'name', 'mime_type', 'set_cover'] },+ ],props: {card_id: Property.ShortText({- description: 'The ID of the card to add attachment to',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,}),attachment: Property.File({- displayName: 'Attachment File',+ description: 'A file from an earlier step, or a public URL.',+ displayName: 'File',required: true,}),name: Property.ShortText({- displayName: 'Attachment Name',+ description: "Shown on the card. Empty uses the file's own name.",+ displayName: 'File Name',+ placeholder: 'report.pdf',required: false,+ width: 'half',}),mime_type: Property.ShortText({- displayName: 'MIME Type',+ description: 'The MIME type. Empty lets Trello detect it.',+ displayName: 'File Type',+ placeholder: 'application/pdf',required: false,+ width: 'half',}),set_cover: Property.Checkbox({- description: 'Set this attachment as the card cover',+ description: 'Only images can be card covers.',displayName: 'Set as Cover',required: false,}),diff --git a/packages/pieces/community/trello/src/lib/actions/card-attachment/delete-card-attachment.ts b/packages/pieces/community/trello/src/lib/actions/card-attachment/delete-card-attachment.tsindex 0891b2439b9..0d2603f1b2c 100644--- a/packages/pieces/community/trello/src/lib/actions/card-attachment/delete-card-attachment.ts+++ b/packages/pieces/community/trello/src/lib/actions/card-attachment/delete-card-attachment.ts@@ -15,16 +15,22 @@ export const deleteCardAttachment = createAction({description: 'Deletes an attachment from a card.',audience: 'both',aiMetadata: { description: 'Permanently removes a specific attachment from a Trello card, identified by both card_id and attachment_id. Use to delete a file or link from a card. Requires both ids; deleting the same attachment again returns an error once it no longer exists.', idempotent: false },+ propertyGroups: [+ { key: 'attachment', display: 'section', label: 'Attachment', icon: 'paperclip', props: ['card_id', 'attachment_id'] },+ ],props: {card_id: Property.ShortText({- description: 'The ID of the card',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,+ width: 'half',}),attachment_id: Property.ShortText({- description: 'The ID of the attachment to delete',+ description: 'From Get All Card Attachments or an earlier step.',displayName: 'Attachment ID',required: true,+ width: 'half',}),},diff --git a/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachment.ts b/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachment.tsindex a61e9d64acf..44c6c3cb7b8 100644--- a/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachment.ts+++ b/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachment.ts@@ -17,16 +17,22 @@ export const getCardAttachment = createAction({audience: 'both',outputSchema: getCardAttachmentActionOutputSchema,aiMetadata: { description: 'Retrieves the details of one specific attachment on a Trello card, identified by both card_id and attachment_id. Use to inspect a single attachment when you already know its id (e.g. from Get All Card Attachments). Read-only and idempotent.', idempotent: true },+ propertyGroups: [+ { key: 'attachment', display: 'section', label: 'Attachment', icon: 'paperclip', props: ['card_id', 'attachment_id'] },+ ],props: {card_id: Property.ShortText({- description: 'The ID of the card',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,+ width: 'half',}),attachment_id: Property.ShortText({- description: 'The ID of the attachment to retrieve',+ description: 'From Get All Card Attachments or an earlier step.',displayName: 'Attachment ID',required: true,+ width: 'half',})},diff --git a/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachments.ts b/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachments.tsindex 81680022b06..15fc0185f4f 100644--- a/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachments.ts+++ b/packages/pieces/community/trello/src/lib/actions/card-attachment/get-card-attachments.ts@@ -19,8 +19,9 @@ export const getCardAttachments = createAction({aiMetadata: { description: 'Lists all attachments on a Trello card identified by card_id. Use to enumerate the files and links attached to a card, e.g. to find an attachment id before fetching or deleting it. Read-only and idempotent.', idempotent: true },props: {card_id: Property.ShortText({- description: 'The ID of the card to get attachments from',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,})},diff --git a/packages/pieces/community/trello/src/lib/actions/card/create-card.ts b/packages/pieces/community/trello/src/lib/actions/card/create-card.tsindex 9426732315e..d8f443e3b6b 100644--- a/packages/pieces/community/trello/src/lib/actions/card/create-card.ts+++ b/packages/pieces/community/trello/src/lib/actions/card/create-card.ts@@ -18,21 +18,25 @@ export const createCard = createAction({audience: 'human',outputSchema: createCardActionOutputSchema,aiMetadata: { description: 'Creates a new Trello card in a specific list, optionally with a description, position, and labels. Use to add a task or item to a board. Requires the target list_id (and the board_id it belongs to); each call creates a distinct card, so it is not idempotent.', idempotent: false },+ propertyGroups: [+ { key: 'destination', display: 'section', label: 'Where to Add', icon: 'inbox', props: ['board_id', 'list_id'] },+ { key: 'details', display: 'section', label: 'Card Details', icon: 'text', props: ['name', 'description', 'position', 'labels'] },+ ],props: {board_id: trelloCommon.board_id,list_id: trelloCommon.list_id,name: Property.ShortText({- description: 'The name of the card to create',- displayName: 'Task Name',+ displayName: 'Card Name',+ placeholder: 'Write the launch post',required: true,}),description: Property.LongText({- description: 'The description of the card to create',- displayName: 'Task Description',+ description: 'Markdown formatting is supported.',+ displayName: 'Card Description',required: false,}),position: Property.StaticDropdown({- description: 'Place the card on top or bottom of the list',+ description: 'Empty adds the card at the bottom of the list.',displayName: 'Position',required: false,options: {diff --git a/packages/pieces/community/trello/src/lib/actions/card/delete-card.ts b/packages/pieces/community/trello/src/lib/actions/card/delete-card.tsindex 047ec290b96..6bcd0eeb89f 100644--- a/packages/pieces/community/trello/src/lib/actions/card/delete-card.ts+++ b/packages/pieces/community/trello/src/lib/actions/card/delete-card.ts@@ -17,8 +17,9 @@ export const deleteCard = createAction({aiMetadata: { description: 'Permanently deletes a Trello card by its card_id. Use to remove a card entirely (this is irreversible, unlike archiving via Update Card with closed=true). Requires card_id; deleting the same id again returns an error once it no longer exists.', idempotent: false },props: {card_id: Property.ShortText({- description: 'The ID of the card to delete.',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,}),},diff --git a/packages/pieces/community/trello/src/lib/actions/card/get-card.ts b/packages/pieces/community/trello/src/lib/actions/card/get-card.tsindex 92c4eb23f33..e43dc53d6e7 100644--- a/packages/pieces/community/trello/src/lib/actions/card/get-card.ts+++ b/packages/pieces/community/trello/src/lib/actions/card/get-card.ts@@ -20,8 +20,9 @@ export const getCard = createAction({aiMetadata: { description: 'Retrieves the full details of a single Trello card by its card ID. Use to look up the current name, description, due date, labels, list, and other fields of a card before acting on it. Read-only and idempotent.', idempotent: true },props: {cardId: Property.ShortText({- description: 'The card ID',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,}),},diff --git a/packages/pieces/community/trello/src/lib/actions/card/update-card.ts b/packages/pieces/community/trello/src/lib/actions/card/update-card.tsindex 0fc044ddfe5..b71c0d032b3 100644--- a/packages/pieces/community/trello/src/lib/actions/card/update-card.ts+++ b/packages/pieces/community/trello/src/lib/actions/card/update-card.ts@@ -1,4 +1,4 @@-import { createAction, Property } from '@activepieces/pieces-framework';+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';import {httpClient,HttpRequest,@@ -18,26 +18,45 @@ export const updateCard = createAction({audience: 'human',outputSchema: updateCardActionOutputSchema,aiMetadata: { description: 'Updates fields on an existing Trello card identified by card_id, including name, description, due date, labels, position, and archived (closed) state, and can move it to a different list. Use to edit, archive, or relocate a card. Requires card_id; only provided fields change. Repeating with the same inputs converges to the same card state.', idempotent: true },+ propertyGroups: [+ { key: 'card', display: 'section', label: 'Card to Update', icon: 'tag', props: ['card_id', 'board_id'] },+ { key: 'changes', display: 'section', label: 'Changes', icon: 'sliders', props: ['changes_info', 'name', 'description', 'due', 'closed', 'position', 'labels', 'list_id'] },+ ],props: {card_id: Property.ShortText({- description: 'The ID of the card to update',+ description: "From an earlier step, or the code after /c/ in the card's URL.",displayName: 'Card ID',+ placeholder: 'aBcD1234',required: true,}),+ board_id: trelloCommon.board_id_opt,+ changes_info: Property.MarkDown({+ value: 'Fields left empty keep their current value.',+ variant: MarkdownVariant.INFO,+ }),name: Property.ShortText({- description: 'The new name of the card',displayName: 'Card Name',required: false,}),description: Property.LongText({- description: 'The new description of the card',+ description: 'Markdown formatting is supported.',displayName: 'Card Description',required: false,}),- board_id: trelloCommon.board_id_opt,- list_id: trelloCommon.list_id_opt,+ due: Property.DateTime({+ displayName: 'Due Date',+ placeholder: '2026-12-31',+ required: false,+ width: 'half',+ }),+ closed: Property.Checkbox({+ description: 'On archives the card. Off keeps it open or restores it.',+ displayName: 'Archived',+ required: false,+ width: 'half',+ }),position: Property.StaticDropdown({- description: 'Move the card to a new position',+ description: 'Empty keeps the card where it is in its list.',displayName: 'Position',required: false,options: {@@ -47,17 +66,8 @@ export const updateCard = createAction({],},}),- labels: trelloCommon.board_labels,- closed: Property.Checkbox({- description: 'Archive or unarchive the card',- displayName: 'Archived',- required: false,- }),- due: Property.DateTime({- description: 'Set a due date for the card',- displayName: 'Due Date',- required: false,- }),+ labels: trelloCommon.board_labels_replace,+ list_id: trelloCommon.move_to_list,},async run(context) {@@ -79,8 +89,9 @@ export const updateCard = createAction({body.pos = context.propsValue['position'];}- if (context.propsValue['labels']) {- body.idLabels = context.propsValue['labels'];+ const labels = context.propsValue['labels'];+ if (Array.isArray(labels) && labels.length > 0) {+ body.idLabels = labels;}if (context.propsValue['closed'] !== undefined) {diff --git a/packages/pieces/community/trello/src/lib/common/index.ts b/packages/pieces/community/trello/src/lib/common/index.tsindex 130742e3cf3..1cbdea1bda1 100644--- a/packages/pieces/community/trello/src/lib/common/index.ts+++ b/packages/pieces/community/trello/src/lib/common/index.ts@@ -1,4 +1,4 @@-import { BasicAuthPropertyValue, Property } from '@activepieces/pieces-framework';+import { BasicAuthPropertyValue, DropdownState, Property } from '@activepieces/pieces-framework';import { httpClient, HttpRequest, HttpMethod } from '@activepieces/pieces-common';import { trelloAuth } from '../..';@@ -17,157 +17,61 @@ export const trelloCommon = {board_id: Property.Dropdown({auth: trelloAuth,- displayName: 'Boards',- description: 'List of boards',+ displayName: 'Board',+ description: 'Pick a board to load its lists.',required: true,refreshers: [],- options: async ({ auth }) => {- if (!auth) {- return {- disabled: true,- placeholder: 'connect your account first',- options: [],- };- }-- const basicAuthProperty = auth as BasicAuthPropertyValue;- const user = await getAuthorisedUser(basicAuthProperty.username, basicAuthProperty.password);- const boards = await listBoards(- basicAuthProperty.username,- basicAuthProperty.password,- user['id'],- );-- return {- options: boards.map((board: { id: string; name: string }) => ({- value: board.id,- label: board.name,- })),- };- },+ options: async ({ auth }) => loadBoardOptions({ auth }),}),list_id: Property.Dropdown({auth: trelloAuth,- displayName: 'Lists',- description: 'Get lists from a board',+ displayName: 'List',required: true,refreshers: ['board_id'],- options: async ({ auth, board_id }) => {- if (!auth || !board_id) {- return {- disabled: true,- placeholder: 'connect your account first and select a board',- options: [],- };- }-- const basicAuthProperty = auth as BasicAuthPropertyValue;- const lists = await listBoardLists(- basicAuthProperty.username,- basicAuthProperty.password,- board_id as string,- );-- return {- options: lists.map((list: { id: string; name: string }) => ({- value: list.id,- label: list.name,- })),- };- },+ options: async ({ auth, board_id }) => loadListOptions({ auth, boardId: board_id }),}),list_id_opt: Property.Dropdown({auth: trelloAuth,- displayName: 'Lists',- description: 'Get lists from a board',+ displayName: 'List',+ description: 'Leave empty to use every list on the board.',required: false,refreshers: ['board_id'],- options: async ({ auth, board_id }) => {- if (!auth || !board_id) {- return {- disabled: true,- placeholder: 'connect your account first and select a board',- options: [],- };- }- const basicAuthProperty = auth as BasicAuthPropertyValue;- const lists = await listBoardLists(- basicAuthProperty.username,- basicAuthProperty.password,- board_id as string,- );+ options: async ({ auth, board_id }) => loadListOptions({ auth, boardId: board_id }),+ }),+ move_to_list: Property.Dropdown({+ auth: trelloAuth,- return {- options: lists.map((list: { id: string; name: string }) => ({- value: list.id,- label: list.name,- })),- };- },+ displayName: 'Move to List',+ description: 'Leave empty to keep the card in its current list.',+ required: false,+ refreshers: ['board_id'],+ options: async ({ auth, board_id }) => loadListOptions({ auth, boardId: board_id }),}),board_id_opt: Property.Dropdown({auth: trelloAuth,- displayName: 'Boards',- description: 'List of boards',+ displayName: 'Board',+ description: "Loads the board's labels and lists below.",required: false,refreshers: [],- options: async ({ auth }) => {- if (!auth) {- return {- disabled: true,- placeholder: 'connect your account first',- options: [],- };- }-- const basicAuthProperty = auth as BasicAuthPropertyValue;- const user = await getAuthorisedUser(basicAuthProperty.username, basicAuthProperty.password);- const boards = await listBoards(- basicAuthProperty.username,- basicAuthProperty.password,- user['id'],- );-- return {- options: boards.map((board: { id: string; name: string }) => ({- value: board.id,- label: board.name,- })),- };- },+ options: async ({ auth }) => loadBoardOptions({ auth }),}),board_labels: Property.MultiSelectDropdown({auth: trelloAuth,displayName: 'Labels',- description: 'Assign labels to the card',required: false,refreshers: ['board_id'],- options: async ({ auth, board_id }) => {- if (!auth || !board_id) {- return {- disabled: true,- placeholder: 'connect your account first and select a board',- options: [],- };- }-- const basicAuthProperty = auth as BasicAuthPropertyValue;- const labels = await listBoardLabels(- basicAuthProperty.username,- basicAuthProperty.password,- board_id as string,- );-- return {- options: labels.map((label: { id: string; name: string; color: string }) => ({- label: label.name || label.color,- value: label.id,- })),- };- },+ options: async ({ auth, board_id }) => loadLabelOptions({ auth, boardId: board_id }),+ }),+ board_labels_replace: Property.MultiSelectDropdown({+ auth: trelloAuth,+ displayName: 'Labels',+ description: "Replaces the card's labels. Leave empty to keep them.",+ required: false,+ refreshers: ['board_id'],+ options: async ({ auth, board_id }) => loadLabelOptions({ auth, boardId: board_id }),}),create_webhook: async (auth: BasicAuthPropertyValue, list_id: string, webhookUrl: string) => {const request: HttpRequest = {@@ -212,6 +116,139 @@ export const trelloCommon = {},};+async function loadBoardOptions({+ auth,+}: {+ auth: BasicAuthPropertyValue | undefined;+}): Promise<DropdownState<string>> {+ if (!auth) {+ return {+ disabled: true,+ placeholder: 'Connect your Trello account first.',+ options: [],+ };+ }++ try {+ const user = await getAuthorisedUser(auth.username, auth.password);+ const boards = await listBoards(auth.username, auth.password, user['id']);+ if (boards.length === 0) {+ return {+ disabled: false,+ options: [],+ placeholder: 'No boards found. Create one in Trello first.',+ };+ }++ return {+ options: boards.map((board) => ({+ value: board.id,+ label: board.name,+ })),+ };+ } catch {+ return {+ disabled: true,+ options: [],+ placeholder: "Couldn't load boards. Check your connection.",+ };+ }+}++async function loadListOptions({+ auth,+ boardId,+}: {+ auth: BasicAuthPropertyValue | undefined;+ boardId: unknown;+}): Promise<DropdownState<string>> {+ if (!auth) {+ return {+ disabled: true,+ placeholder: 'Connect your Trello account first.',+ options: [],+ };+ }+ if (typeof boardId !== 'string' || boardId === '') {+ return {+ disabled: true,+ placeholder: 'Select a board first.',+ options: [],+ };+ }++ try {+ const lists = await listBoardLists(auth.username, auth.password, boardId);+ if (lists.length === 0) {+ return {+ disabled: false,+ options: [],+ placeholder: 'No lists on this board.',+ };+ }++ return {+ options: lists.map((list) => ({+ value: list.id,+ label: list.name,+ })),+ };+ } catch {+ return {+ disabled: true,+ options: [],+ placeholder: "Couldn't load lists. Check your connection.",+ };+ }+}++async function loadLabelOptions({+ auth,+ boardId,+}: {+ auth: BasicAuthPropertyValue | undefined;+ boardId: unknown;+}): Promise<DropdownState<string>> {+ if (!auth) {+ return {+ disabled: true,+ placeholder: 'Connect your Trello account first.',+ options: [],+ };+ }+ if (typeof boardId !== 'string' || boardId === '') {+ return {+ disabled: true,+ placeholder: 'Select a board first.',+ options: [],+ };+ }++ try {+ const labels = await listBoardLabels(auth.username, auth.password, boardId);+ if (labels.length === 0) {+ return {+ disabled: false,+ options: [],+ placeholder: 'No labels on this board.',+ };+ }++ return {+ options: labels.map((label) => ({+ label: label.name || label.color,+ value: label.id,+ })),+ };+ } catch {+ return {+ disabled: true,+ options: [],+ placeholder: "Couldn't load labels. Check your connection.",+ };+ }+}+/*** Gets the authenticated user via API and token* @param apikey API Key@@ -281,7 +318,13 @@ async function listBoardLists(apikey: string, token: string, board_id: string) {async function listBoardLabels(apikey: string, token: string, board_id: string) {const request: HttpRequest = {method: HttpMethod.GET,- url: `${trelloCommon.baseUrl}boards/${board_id}/labels` + `?key=` + apikey + `&token=` + token,+ url:+ `${trelloCommon.baseUrl}boards/${board_id}/labels` ++ `?key=` ++ apikey ++ `&token=` ++ token ++ `&limit=1000`,headers: {Accept: 'application/json',},diff --git a/packages/pieces/community/trello/src/lib/triggers/cardMoved.ts b/packages/pieces/community/trello/src/lib/triggers/cardMoved.tsindex 25c7b8db221..558793c961c 100644--- a/packages/pieces/community/trello/src/lib/triggers/cardMoved.ts+++ b/packages/pieces/community/trello/src/lib/triggers/cardMoved.ts@@ -10,12 +10,15 @@ export const cardMovedTrigger = createTrigger({auth: trelloAuth,name: 'card_moved_to_list',classification: 'READ',- displayName: 'Card Moved to list',- description: 'Trigger when a card is moved to the list specified',+ displayName: 'Card Moved to List',+ description: 'Fires when a card is moved into the chosen list.',outputSchema: cardMovedTriggerOutputSchema,aiMetadata: {description: 'Fires when a card is moved into the specified list on a board (from a different list). Represents a card transitioning to a new stage; emits the moved card with its full details.',},+ propertyGroups: [+ { key: 'watch', display: 'section', label: 'Where to Watch', icon: 'inbox', props: ['board_id', 'list_id'] },+ ],props: {board_id: trelloCommon.board_id,list_id: trelloCommon.list_id,@@ -34,7 +37,7 @@ export const cardMovedTrigger = createTrigger({(webhook) => webhook.idModel === element_id && webhook.callbackURL === context.webhookUrl,);if (webhook) {- context.webhookUrl = webhook.callbackURL;+ await context.store.put('webhook_id', webhook.id);return;}const response = await trelloCommon.create_webhook(diff --git a/packages/pieces/community/trello/src/lib/triggers/deadline.ts b/packages/pieces/community/trello/src/lib/triggers/deadline.tsindex 86ddae1db01..b98179888b1 100644--- a/packages/pieces/community/trello/src/lib/triggers/deadline.ts+++ b/packages/pieces/community/trello/src/lib/triggers/deadline.ts@@ -46,33 +46,41 @@ export const deadlineTrigger = createTrigger({name: 'deadline',classification: 'READ',displayName: 'Card Deadline',- description: 'Triggers at a specified time before a card deadline.',+ description: "Fires a set time before each card's due date.",outputSchema: deadlineTriggerOutputSchema,aiMetadata: {description: 'Fires for each card whose due date falls within a configured lead time (e.g. 24 hours) ahead of now, scoped to a board or an optional list. Represents an approaching, not-yet-completed card deadline; polls periodically and skips cards already marked due-complete.',},type: TriggerStrategy.POLLING,+ propertyGroups: [+ { key: 'watch', display: 'section', label: 'Where to Watch', icon: 'inbox', props: ['board_id', 'list_id_opt'] },+ { key: 'timing', display: 'section', label: 'Timing', icon: 'calendar', props: ['time_before_due', 'time_unit'] },+ ],props: {board_id: trelloCommon.board_id,list_id_opt: trelloCommon.list_id_opt,+ time_before_due: Property.Number({+ displayName: 'Time Before Due',+ description: 'How long before the due date to fire.',+ required: true,+ display: 'stepper',+ min: 1,+ max: 999,+ step: 1,+ defaultValue: 24,+ }),time_unit: Property.StaticDropdown({- displayName: 'Time unit',- description: 'Select unit for time before due',+ displayName: 'Time Unit',required: true,+ display: 'cards',options: {options: [- { label: 'Minutes', value: 'minutes' },- { label: 'Hours', value: 'hours' },+ { label: 'Minutes', value: 'minutes', icon: 'calendar' },+ { label: 'Hours', value: 'hours', icon: 'calendar' },],},defaultValue: 'hours',}),- time_before_due: Property.Number({- displayName: 'Time before due',- description: 'How long before the due date the trigger should run (use with time unit)',- required: true,- defaultValue: 24,- }),},async onEnable(context) {await pollingHelper.onEnable(polling, context);diff --git a/packages/pieces/community/trello/src/lib/triggers/newCard.ts b/packages/pieces/community/trello/src/lib/triggers/newCard.tsindex ecfd636ec6f..a3dbb3e0ee6 100644--- a/packages/pieces/community/trello/src/lib/triggers/newCard.ts+++ b/packages/pieces/community/trello/src/lib/triggers/newCard.ts@@ -11,11 +11,14 @@ export const newCardTrigger = createTrigger({name: 'new_card',classification: 'READ',displayName: 'New Card',- description: 'Trigger when a new card is created',+ description: 'Fires when a card is created on the board or in the list.',outputSchema: newCardTriggerOutputSchema,aiMetadata: {description: 'Fires when a new card is created on the selected board, or within a specific list if one is provided. Represents a newly added task or item; emits the created card with its full details.',},+ propertyGroups: [+ { key: 'watch', display: 'section', label: 'Where to Watch', icon: 'inbox', props: ['board_id', 'list_id_opt'] },+ ],props: {board_id: trelloCommon.board_id,list_id_opt: trelloCommon.list_id_opt,@@ -34,7 +37,7 @@ export const newCardTrigger = createTrigger({(webhook) => webhook.idModel === element_id && webhook.callbackURL === context.webhookUrl,);if (webhook) {- context.webhookUrl = webhook.callbackURL;+ await context.store.put('webhook_id', webhook.id);return;}const response = await trelloCommon.create_webhook(diff --git a/packages/pieces/framework/src/lib/i18n.ts b/packages/pieces/framework/src/lib/i18n.tsindex ce0fee75ef5..8824b23be32 100644--- a/packages/pieces/framework/src/lib/i18n.ts+++ b/packages/pieces/framework/src/lib/i18n.ts@@ -54,11 +54,13 @@ export const pieceTranslation = {"actions.*.props.*.displayName","actions.*.props.*.description","actions.*.props.*.options.options.*.label",+ "actions.*.propertyGroups.*.label","triggers.*.displayName","triggers.*.description","triggers.*.props.*.displayName","triggers.*.props.*.description",- "triggers.*.props.*.options.options.*.label"+ "triggers.*.props.*.options.options.*.label",+ "triggers.*.propertyGroups.*.label"]}diff --git a/packages/pieces/framework/test/translate-property-groups.test.ts b/packages/pieces/framework/test/translate-property-groups.test.tsnew file mode 100644index 00000000000..2284f59782c--- /dev/null+++ b/packages/pieces/framework/test/translate-property-groups.test.ts@@ -0,0 +1,80 @@+import { describe, expect, it } from 'vitest';+import { LocalesEnum } from '@activepieces/core-utils';+import { PackageType, PieceType } from '@activepieces/core-piece-types';+import { createAction } from '../src/lib/action/action';+import { createTrigger, TriggerStrategy } from '../src/lib/trigger/trigger';+import { createPiece } from '../src/lib/piece';+import { pieceTranslation } from '../src/lib/i18n';+import { PieceAuth, Property } from '../src/lib/property';+import { PieceMetadataModel } from '../src/lib/piece-metadata';++const action = createAction({+ name: 'update_item',+ displayName: 'Update Item',+ description: 'Updates an item.',+ propertyGroups: [+ { key: 'item', display: 'section', label: 'Item to Update', icon: 'tag', props: ['item_id'] },+ { key: 'unlabelled', display: 'section', props: ['name'] },+ ],+ props: {+ item_id: Property.ShortText({ displayName: 'Item ID', required: true }),+ name: Property.ShortText({ displayName: 'Name', required: false }),+ },+ run: async () => undefined,+});++const trigger = createTrigger({+ name: 'new_item',+ displayName: 'New Item',+ description: 'Fires when an item is created.',+ type: TriggerStrategy.WEBHOOK,+ propertyGroups: [+ { key: 'watch', display: 'section', label: 'Where to Watch', icon: 'inbox', props: ['folder'] },+ ],+ props: {+ folder: Property.ShortText({ displayName: 'Folder', required: true }),+ },+ sampleData: {},+ onEnable: async () => undefined,+ onDisable: async () => undefined,+ run: async () => [],+});++const translate = (i18n: Record<string, string>): PieceMetadataModel => {+ const metadata = createPiece({+ displayName: 'Test',+ logoUrl: 'https://example.com/logo.png',+ auth: PieceAuth.None(),+ authors: [],+ actions: [action],+ triggers: [trigger],+ }).metadata();+ const piece: PieceMetadataModel = {+ ...metadata,+ authors: [],+ name: '@activepieces/piece-test',+ version: '0.0.1',+ projectUsage: 0,+ pieceType: PieceType.OFFICIAL,+ packageType: PackageType.REGISTRY,+ i18n: { [LocalesEnum.GERMAN]: i18n },+ };+ return pieceTranslation.translatePiece({ piece, locale: LocalesEnum.GERMAN });+};++describe('pieceTranslation.translatePiece', () => {+ it('translates section labels on actions and triggers', () => {+ const translated = translate({+ 'Item to Update': 'Zu aktualisierendes Element',+ 'Where to Watch': 'Zu beobachten',+ });+ expect(translated.actions['update_item'].propertyGroups?.[0].label).toBe('Zu aktualisierendes Element');+ expect(translated.triggers['new_item'].propertyGroups?.[0].label).toBe('Zu beobachten');+ });++ it('leaves a group without a label and an untranslated label as they are', () => {+ const translated = translate({});+ expect(translated.actions['update_item'].propertyGroups?.[0].label).toBe('Item to Update');+ expect(translated.actions['update_item'].propertyGroups?.[1].label).toBeUndefined();+ });+});