Pad/internal/browser
Greg Pomerantz ce8dd82bb0 Remove duplicate browser state and fix sort mode toggle
- Remove currentBrowserState global and SetBrowserState from browser package
- Browser now receives sortHandler as a parameter instead of using global state
- Fix sort mode toggle: reload pages after clearing cache (was showing 'Loading...')
- Add String() methods to all UI element types for debugging
- Add e2e tests for sort mode functionality (5 tests)

The editor now owns all state; the browser is a pure function receiving
state and handlers through parameters.
2026-05-31 23:20:21 +00:00
..
browser_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
browser.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
handlers.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
index_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
index.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
layout_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
layout.go Remove duplicate browser state and fix sort mode toggle 2026-05-31 23:20:21 +00:00
scroll_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
search_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
search.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
sort_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
sort.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
types_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
types.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00