File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 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 >
File renamed without changes.
Original file line number Diff line number Diff line change 11import { SpotTable } from '@/components/SpotTable'
22import type { CommentState } from '@/entrypoints/background'
33import { 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 }
Original file line number Diff line number Diff line change 11import { createRoot } from 'react-dom/client'
22import './style.css'
3- import { TablePlayground } from './TablePlayground '
3+ import { PopupPlayground } from './PopupPlayground '
44
55const root = createRoot ( document . getElementById ( 'root' ) ! )
66root . 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 >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments