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(twitter): ui improvement (#16623)

Talal Jaberad381289815b
diff --git a/bun.lock b/bun.lock
index 8a0c765a581..51faa261eda 100644
--- a/bun.lock
+++ b/bun.lock
@@ -9448,7 +9448,7 @@
},
"packages/pieces/community/twitter": {
"name": "@activepieces/piece-twitter",
- "version": "0.5.1",
+ "version": "0.6.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/twitter/package.json b/packages/pieces/community/twitter/package.json
index 7e74b909267..aa99f7c9bc4 100644
--- a/packages/pieces/community/twitter/package.json
+++ b/packages/pieces/community/twitter/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-twitter",
- "version": "0.5.1",
+ "version": "0.6.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/twitter/src/lib/actions/create-reply.ts b/packages/pieces/community/twitter/src/lib/actions/create-reply.ts
index f2099dea23b..d85ffacc269 100644
--- a/packages/pieces/community/twitter/src/lib/actions/create-reply.ts
+++ b/packages/pieces/community/twitter/src/lib/actions/create-reply.ts
@@ -18,6 +18,10 @@ export const createReply = createAction({
description: 'Post a reply to an existing tweet.',
audience: 'both',
aiMetadata: { description: 'Posts a reply to an existing tweet on X/Twitter, optionally attaching up to three images. Use this when responding to a specific tweet rather than creating a standalone post; requires the target tweet ID and non-empty reply text. Not idempotent — each call publishes a separate new reply.', idempotent: false },
+ propertyGroups: [
+ { key: 'destination', display: 'section', label: 'Reply to', icon: 'reply', props: ['tweet_id'] },
+ { key: 'message', display: 'section', label: 'Message', icon: 'text', props: ['text', 'image_1'] },
+ ],
props: {
tweet_id: Property.LongText({
displayName: 'Tweet ID',
diff --git a/packages/pieces/community/twitter/src/lib/actions/create-tweet.ts b/packages/pieces/community/twitter/src/lib/actions/create-tweet.ts
index dd7f2aaffbb..972d2ea093a 100644
--- a/packages/pieces/community/twitter/src/lib/actions/create-tweet.ts
+++ b/packages/pieces/community/twitter/src/lib/actions/create-tweet.ts
@@ -17,6 +17,9 @@ export const createTweet = createAction({
description: 'Post a new tweet from the connected X account.',
audience: 'both',
aiMetadata: { description: 'Posts a new tweet to the authenticated X/Twitter account, optionally attaching up to three images. Use this to publish a standalone post (not a reply). Tweet text is required and must be non-empty; this is not idempotent, so each call publishes a separate new tweet.', idempotent: false },
+ propertyGroups: [
+ { key: 'tweet', display: 'section', label: 'Tweet', icon: 'text', props: ['text', 'image_1'] },
+ ],
props: {
text: twitterCommon.text,
image_1: twitterCommon.image_1,