Commit 1ab14fa
authored
chore: order excel single row output (#1133)
## Problem
The output of Excel “Find single row” is not ordered in the same
sequence as the columns in the Excel workbook.
## Solution
Add the columns to `dataOut` and use them to specify the order in
`getDataOutMetadata`
## Before & After Screenshots
**Excel table**
<img width="431" height="141" alt="Screenshot 2025-07-31 at 2 42 16 PM"
src="https://github.com/user-attachments/assets/e8eebac5-c854-419f-819d-26f90dacaa1e"
/>
**BEFORE**:
https://github.com/user-attachments/assets/34757e51-be0f-4106-b802-a856a2ce22d6
**AFTER**:
https://github.com/user-attachments/assets/a2daf869-2447-4e71-ab82-b5b7861798b8
## Tests
- [ ] Existing Excel steps that do not have `columns` in their `dataOut`
do not throw error, and output is still rendered correctly
- [ ] Find table row still fetches the correct rows
- [ ] Columns are now in the same order as the Excel workbook when
executing 'Check step' from this PR.1 parent 63c7781 commit 1ab14fa
File tree
3 files changed
+14
-1
lines changed- packages/backend/src/apps/m365-excel/actions/get-table-row
3 files changed
+14
-1
lines changedLines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | | - | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
0 commit comments