Basic table layout for path provenance

This commit is contained in:
Dave Bartolomeo
2024-07-11 12:48:01 -04:00
parent 64d4439815
commit a6225c5edf
4 changed files with 5 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ export function AlertTableHeader({
<th colSpan={2}></th>
<th
className={`${sortClass()} vscode-codeql__alert-message-cell`}
colSpan={3}
colSpan={4}
onClick={toggleSortStateForColumn}
>
Message

View File

@@ -86,6 +86,7 @@ export function AlertTablePathNodeRow(props: Props) {
"[no location]"
)}
</td>
<td {...selectableZebraStripe(isSelected, zebraIndex)}>{"model"}</td>
<td
{...selectableZebraStripe(
isSelected,

View File

@@ -61,7 +61,7 @@ export function AlertTablePathRow(props: Props) {
expanded={currentPathExpanded}
onClick={handleDropdownClick}
/>
<td className="vscode-codeql__text-center" colSpan={3}>
<td className="vscode-codeql__text-center" colSpan={4}>
Path
</td>
</tr>

View File

@@ -90,7 +90,7 @@ export function AlertTableResultRow(props: Props) {
{result.codeFlows === undefined ? (
<>
<td className="vscode-codeql__icon-cell">{info}</td>
<td colSpan={3}>{msg}</td>
<td colSpan={4}>{msg}</td>
</>
) : (
<>
@@ -99,7 +99,7 @@ export function AlertTableResultRow(props: Props) {
onClick={handleDropdownClick}
/>
<td className="vscode-codeql__icon-cell">{listUnordered}</td>
<td colSpan={2}>{msg}</td>
<td colSpan={3}>{msg}</td>
</>
)}
<td className="vscode-codeql__location-cell">