Skip to content

Commit da006a3

Browse files
committed
Renames for easier command-palette navigation.
1 parent 7ba5e88 commit da006a3

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

browser-extension/src/entrypoints/popup/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<body>
99
<div id="app">
1010
</div>
11-
<script type="module" src="main.tsx"></script>
11+
<script type="module" src="popup.tsx"></script>
1212
</body>
1313
</html>

browser-extension/tests/playground/TablePlayground.tsx renamed to browser-extension/tests/playground/PopupPlayground.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { SpotTable } from '@/components/SpotTable'
22
import type { CommentState } from '@/entrypoints/background'
33
import { EnhancerRegistry } from '@/lib/registries'
4-
import { sampleSpots } from './mockData'
4+
import { sampleSpots } from './playgroundData'
55

6-
export function TablePlayground() {
6+
export function PopupPlayground() {
77
const handleSpotClick = (spot: CommentState) => {
88
alert(`Clicked: ${spot.spot.type}\nTab: ${spot.tab.tabId}`)
99
}

browser-extension/tests/playground/main.tsx renamed to browser-extension/tests/playground/playground.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createRoot } from 'react-dom/client'
22
import './style.css'
3-
import { TablePlayground } from './TablePlayground'
3+
import { PopupPlayground } from './PopupPlayground'
44

55
const root = createRoot(document.getElementById('root')!)
66
root.render(
@@ -13,14 +13,16 @@ root.render(
1313
</p>
1414
</div>
1515

16-
<TablePlayground />
16+
<PopupPlayground />
1717

1818
<div className='bg-slate-50 p-4 rounded-lg border border-slate-200 mt-6'>
1919
<h3 className='font-medium text-slate-900 mb-2'>Development Notes</h3>
2020
<ul className='text-sm text-slate-600 space-y-1'>
21-
<li>• Hot reload is active - changes to components update instantly</li>
22-
<li>• Uses real enhancers from the browser extension</li>
23-
<li>• Click rows to test interaction behavior</li>
21+
<li>Hot reload is active - changes to components update instantly</li>
22+
<li>Uses real enhancers from the browser extension</li>
23+
<li>
24+
Sample data comes from <code>playgroundData.tsx</code>
25+
</li>
2426
</ul>
2527
</div>
2628
</div>

0 commit comments

Comments
 (0)