You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ src/
41
41
### Key Design Decisions
42
42
43
43
-**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.
0 commit comments