Skip to content

feat: add full path label tooltip for workflow filter field#16580

Merged
Devessier merged 6 commits intotwentyhq:mainfrom
LuckyGoyal039:workflow-duplicate-field-names
Dec 17, 2025
Merged

feat: add full path label tooltip for workflow filter field#16580
Devessier merged 6 commits intotwentyhq:mainfrom
LuckyGoyal039:workflow-duplicate-field-names

Conversation

@LuckyGoyal039
Copy link
Copy Markdown
Contributor

@LuckyGoyal039 LuckyGoyal039 commented Dec 15, 2025

Closes Issue: Can't distinguish between fields with identical names (#16285)

There was a UX bug in the workflow filter interface where two variables coming from different steps but sharing the same field name were displayed identically. This made it difficult for users to tell them apart when used in a filter group, leading to confusion when building workflows.


Fix: Add Full Path Label Tooltip for Workflow Filter Field

  • Adds a tooltip/label showing the complete path so users can distinguish fields from different workflow steps even if they share the same name.

UX Improvements

image

@LuckyGoyal039 LuckyGoyal039 marked this pull request as ready for review December 16, 2025 18:34
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 8 files

Prompt for AI agents (all 1 issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="packages/twenty-front/src/modules/workflow/workflow-variables/utils/searchVariableThroughFindRecordsOutputSchema.ts">

<violation number="1" location="packages/twenty-front/src/modules/workflow/workflow-variables/utils/searchVariableThroughFindRecordsOutputSchema.ts:48">
P2: Inconsistent handling: `stepNameLabel` is used for `first` and `totalCount` cases but not for the `all` case. This means users selecting &quot;All Records&quot; variables won&#39;t see the distinguishing full path tooltip, defeating the purpose of this feature for that variable type.</violation>
</file>

Since this is your first cubic review, here's how it works:

  • cubic automatically reviews your code and comments on bugs and improvements
  • Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
  • Ask questions if you need clarification on any suggestion

Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR

@LuckyGoyal039
Copy link
Copy Markdown
Contributor Author

@Bonapara @Devessier, could I get a review for this PR?

Copy link
Copy Markdown
Contributor

@Devessier Devessier left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you.

@Devessier Devessier merged commit 659ed6b into twentyhq:main Dec 17, 2025
65 checks passed
@twenty-eng-sync
Copy link
Copy Markdown

Hey @Devessier! After you've done the QA of your Pull Request, you can mark it as done here. Thank you!

abdulrahmancodes pushed a commit that referenced this pull request Dec 18, 2025
# Closes Issue: Can't distinguish between fields with identical names
(#16285)

There was a UX bug in the workflow filter interface where **two
variables coming from different steps but sharing the same field name**
were displayed identically. This made it difficult for users to tell
them apart when used in a filter group, leading to confusion when
building workflows.

---

# Fix: Add Full Path Label Tooltip for Workflow Filter Field

- Adds a **tooltip/label showing the complete path** so users can
distinguish fields from different workflow steps even if they share the
same name.

## UX Improvements
<img width="495" height="288" alt="image"
src="https://github.com/user-attachments/assets/fa26f381-835b-4d14-bf73-f04b59c8d0b5"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants