PLU-591: [show-multiple-rows-4]: add frontend table variable#1539
PLU-591: [show-multiple-rows-4]: add frontend table variable#1539m0nggh wants to merge 1 commit intofeat/find-multiple-rows/table-var-postmanfrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label lfg to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
83eced8 to
7efa107
Compare
9d59663 to
15e0687
Compare
7efa107 to
05eca91
Compare
15e0687 to
ce7775d
Compare
ce7775d to
6d4c268
Compare
05eca91 to
911621f
Compare
| const displayValue = | ||
| tableVar?.displayedValue ?? `${tableVar?.totalRowCount ?? 0} rows` |
There was a problem hiding this comment.
Pluralization bug in fallback display value. When totalRowCount is 1, the fallback displays "1 rows" instead of "1 row", inconsistent with the backend pluralization logic.
const displayValue =
tableVar?.displayedValue ??
`${tableVar?.totalRowCount ?? 0} row${tableVar?.totalRowCount !== 1 ? 's' : ''}`| const displayValue = | |
| tableVar?.displayedValue ?? `${tableVar?.totalRowCount ?? 0} rows` | |
| const displayValue = | |
| tableVar?.displayedValue ?? `${tableVar?.totalRowCount ?? 0} row${tableVar?.totalRowCount !== 1 ? 's' : ''}` |
Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.

TL;DR
Added table variable support to rich text editor with column selection and preview functionality for email body fields.
What changed?
TableVariableTipTap extension andTableVariablePillcomponent for rendering interactive table previews in rich text fieldssupportTableDisplayflag to enable table variable insertion in specific fields (currently email body in Postman)Screenshots
Screen.Recording.2026-04-10.at.9.20.27.PM.mov
How to test?
Frontend changes to check after pointed out by Vedant:
Why make this change?
This enhancement improves the user experience when working with table data in email templates by providing visual previews and allowing users to select specific columns for display, making it easier to create well-formatted emails with tabular data.