Skip to content

Commit 56f13ef

Browse files
committed
chore: update ai doc
1 parent 04b495b commit 56f13ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ src/
4141
### Key Design Decisions
4242

4343
- **SettingsPanel separation**: The gear button and panel container (`SettingsPanel.vue`) are decoupled from content (`ReleaseSorterSettings.vue`). To add a new settings section, just insert another component inside `<SettingsPanel>`.
44-
- **Release sorter lives outside Vue**: `initReleaseSorter()` runs before `createApp().mount()` and operates on raw DOM via `sortAndHighlight()`. Vue components call `sortAndHighlight()` after user changes preferences.
44+
- **Release sorter lives outside Vue**: `initReleaseSorter()` runs before `createApp().mount()` and operates on raw DOM via `sortAndHighlight()`. Vue components call `sortAndHighlight()` after user changes preferences. GitHub uses Turbo for SPA navigation, so `initReleaseSorter()` listens to both `turbo:load` events and a `MutationObserver` on `document.body` to re-run sorting when the page changes.
4545
- **GM grants**: `GM_addStyle`, `GM_getValue`, `GM_setValue` — declared in `vite.config.ts` userscript config.
4646

4747
### Release Sorter Data Flow

0 commit comments

Comments
 (0)