Skip to content

Commit a6225c5

Browse files
author
Dave Bartolomeo
committed
Basic table layout for path provenance
1 parent 64d4439 commit a6225c5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

extensions/ql-vscode/src/view/results/AlertTableHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function AlertTableHeader({
4545
<th colSpan={2}></th>
4646
<th
4747
className={`${sortClass()} vscode-codeql__alert-message-cell`}
48-
colSpan={3}
48+
colSpan={4}
4949
onClick={toggleSortStateForColumn}
5050
>
5151
Message

extensions/ql-vscode/src/view/results/AlertTablePathNodeRow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export function AlertTablePathNodeRow(props: Props) {
8686
"[no location]"
8787
)}
8888
</td>
89+
<td {...selectableZebraStripe(isSelected, zebraIndex)}>{"model"}</td>
8990
<td
9091
{...selectableZebraStripe(
9192
isSelected,

extensions/ql-vscode/src/view/results/AlertTablePathRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function AlertTablePathRow(props: Props) {
6161
expanded={currentPathExpanded}
6262
onClick={handleDropdownClick}
6363
/>
64-
<td className="vscode-codeql__text-center" colSpan={3}>
64+
<td className="vscode-codeql__text-center" colSpan={4}>
6565
Path
6666
</td>
6767
</tr>

extensions/ql-vscode/src/view/results/AlertTableResultRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function AlertTableResultRow(props: Props) {
9090
{result.codeFlows === undefined ? (
9191
<>
9292
<td className="vscode-codeql__icon-cell">{info}</td>
93-
<td colSpan={3}>{msg}</td>
93+
<td colSpan={4}>{msg}</td>
9494
</>
9595
) : (
9696
<>
@@ -99,7 +99,7 @@ export function AlertTableResultRow(props: Props) {
9999
onClick={handleDropdownClick}
100100
/>
101101
<td className="vscode-codeql__icon-cell">{listUnordered}</td>
102-
<td colSpan={2}>{msg}</td>
102+
<td colSpan={3}>{msg}</td>
103103
</>
104104
)}
105105
<td className="vscode-codeql__location-cell">

0 commit comments

Comments
 (0)