diff --git a/index.html b/index.html
index 78ac43f..72247cc 100644
--- a/index.html
+++ b/index.html
@@ -162,6 +162,7 @@
Operand
+
@@ -220,6 +221,7 @@ Operand
+
diff --git a/src/main.tabs.test.ts b/src/main.tabs.test.ts
index 98381ca..874ca80 100644
--- a/src/main.tabs.test.ts
+++ b/src/main.tabs.test.ts
@@ -296,6 +296,12 @@ const setupDom = () => {
`
form.appendChild(operandSelect)
+ const showLinearButton = document.createElement('button')
+ showLinearButton.type = 'button'
+ showLinearButton.id = 'wmma-show-linear-layout'
+ showLinearButton.textContent = 'Show in Linear Layout'
+ form.appendChild(showLinearButton)
+
sidebar.appendChild(form)
const controls = document.createElement('div')
@@ -346,6 +352,12 @@ const setupDom = () => {
`
form.appendChild(operandSelect)
+ const showLinearButton = document.createElement('button')
+ showLinearButton.type = 'button'
+ showLinearButton.id = 'mfma-show-linear-layout'
+ showLinearButton.textContent = 'Show in Linear Layout'
+ form.appendChild(showLinearButton)
+
sidebar.appendChild(form)
const controls = document.createElement('div')
diff --git a/src/tabs/BlockLayoutTab.test.ts b/src/tabs/BlockLayoutTab.test.ts
index a2f0fb2..fbb0e70 100644
--- a/src/tabs/BlockLayoutTab.test.ts
+++ b/src/tabs/BlockLayoutTab.test.ts
@@ -4,7 +4,6 @@ import { BlockLayoutTab } from './BlockLayoutTab'
import { createBlockLayout } from '../layouts/BlockLayout'
import { LinearLayout } from '../core/LinearLayout'
import { layoutProjectionBus, LINEAR_LAYOUT_TAB_ID } from '../integration/LayoutProjectionBus'
-import type { SnapshotFilterResult } from '../core/filterSnapshotDimensions'
type ParameterFormStub = {
getParams: ReturnType
@@ -82,7 +81,11 @@ vi.mock('../visualization/CanvasRenderer', () => ({
}),
}))
-const buildBlockLayoutDom = (): void => {
+const buildBlockLayoutDom = (options: { includeButton?: boolean } = {}): void => {
+ const { includeButton = true } = options
+ const buttonMarkup = includeButton
+ ? ''
+ : ''
document.body.innerHTML = `
@@ -90,7 +93,7 @@ const buildBlockLayoutDom = (): void => {