refactor: remove noise comments across commands, remote, components, hooks, and lib last month
Authored
Davy 7/29/2026, 9:19:45 PM Strip explanatory and restatement comments while preserving non-obvious
invariants, issue/PR references, algorithm notes, safety comments, and lint
directives. Covers:
- src-tauri: commands, app_runtime, cache, config, lib, remote
- src/components: 43 .tsx source and test files
- src/hooks: 7 hook source and test files
- src/lib: 14 .ts source and test files
All pnpm lint/build/test and cargo test pass. Parenta345a3e
91 files changed
src-tauri/src/app_runtime.rs +0 −91 src-tauri/src/cache/mod.rs +0 −26 src-tauri/src/cache/stems.rs +0 −17 src-tauri/src/cache/waveforms.rs +0 −8 src-tauri/src/commands/airplay.rs +8 −30 src-tauri/src/commands/cdg.rs +7 −52 src-tauri/src/commands/integrity.rs +0 −16 src-tauri/src/commands/library_setup.rs +0 −9 src-tauri/src/commands/lyrics.rs +0
−19
src-tauri/src/commands/playback.rs +0 −10
src-tauri/src/commands/settings.rs +1 −43
src-tauri/src/config.rs +0 −51
src-tauri/src/lib.rs +0 −3
src-tauri/src/remote/atomic_download.rs +1 −180
src-tauri/src/remote/cache_catalog.rs +1 −115
src-tauri/src/remote/control_db.rs +0 −108
src-tauri/src/remote/dropbox.rs +0 −62
src-tauri/src/remote/errors.rs +0 −63
src-tauri/src/remote/executor.rs +1 −162
src-tauri/src/remote/fault_injection.rs +3 −179
src-tauri/src/remote/google_drive.rs +0 −64
src-tauri/src/remote/sync/mirror.rs +0 −23
src-tauri/src/remote/sync/publish.rs +1 −22
src-tauri/src/remote/sync/revision.rs +0 −14
src-tauri/src/remote/sync/upload_status.rs +1 −34
src-tauri/src/remote/types.rs +0 −6
src-tauri/src/remote/webdav.rs +0 −35
src/components/Bootstrap/ModelBootstrapBanner.test.tsx +0 −1
src/components/Layout/MainContentView.test.tsx +0 −3
src/components/Layout/MainContentView.tsx +0 −1
src/components/Layout/Sidebar.preview.test.tsx +0 −5
src/components/Layout/Sidebar.tsx +2 −7
src/components/Layout/UpdateBanner.test.tsx +0 −1
src/components/Layout/UpdateBanner.tsx +1 −4
src/components/Library/AlphabetRail.test.tsx +0 −10
src/components/Library/SongList.test.tsx +0 −5
src/components/Library/SongList.tsx +0 −2
src/components/Lyrics/LyricsEmptyState.tsx +0 −1
src/components/Lyrics/LyricsPanel.test.tsx +0 −7
src/components/Lyrics/LyricsPanel.tsx +0 −7
src/components/Overlay/Tooltip.tsx +0 −1
src/components/Playback/PlaybackStage.test.tsx +0 −3
src/components/Player/AirPlayRouteButton.tsx +1 −4
src/components/Player/FullscreenControls.test.tsx +0 −2
src/components/Player/FullscreenControls.tsx +0 −2
src/components/Player/FullscreenPlayerView.test.tsx +0 −1
src/components/Player/PeakMeter.test.tsx +0 −26
src/components/Player/PlaybackBar.test.tsx +0 −2
src/components/Player/PlaybackBar.tsx +0 −2
src/components/Player/QueueButton.test.tsx +0 −1
src/components/Player/SeekBar.test.tsx +0 −15
src/components/Player/SeekBar.tsx +0 −3
src/components/Player/VolumeSliders.interaction.test.tsx +0 −2
src/components/Player/VolumeSliders.test.tsx +0 −11
src/components/Player/VolumeSliders.tsx +0 −5
src/components/Settings/LibrarySetup.render.test.tsx +0 −1
src/components/Settings/LibrarySetup.tsx +0 −5
src/components/Settings/SettingsAboutSection.test.tsx +0 −1
src/components/Settings/SettingsAboutSection.tsx +1 −4
src/components/Settings/SettingsCrossfadeSection.test.tsx +0 −4
src/components/Settings/SettingsDialogHost.interaction.test.tsx +0 −2
src/components/Settings/SettingsEqSection.test.tsx +0 −4
src/components/Settings/SettingsLibrarySection.interaction.test.tsx +0 −1
src/components/Settings/SettingsLibrarySection.test.tsx +0 −1
src/components/Settings/SettingsModelVariantSection.test.tsx +0 −3
src/components/Settings/SettingsRemoteDiagnosticsSection.test.tsx +0 −2
src/components/Settings/SettingsRuntimeSection.tsx +0 −3
src/components/Settings/SettingsSectionCard.tsx +0 −5
src/components/Shared/CoverArtThumbnail.fetch.test.tsx +0 −1
src/components/Shared/CoverArtThumbnail.tsx +0 −1
src/hooks/use-audience-plain-text-paging.ts +0 −1
src/hooks/use-cdg-sync.coordinator.test.ts +1 −9
src/hooks/use-cdg-sync.test.ts +1 −4
src/hooks/use-cdg-sync.ts +0 −32
src/hooks/use-local-audience-romanize-receiver.ts +1 −29
src/hooks/use-modal-dialog.ts +0 −5
src/hooks/use-playback-runtime.ts +0 −5
src/lib/alphabet-index.test.ts +0 −1
src/lib/audience-presentation.test.ts +0 −2
src/lib/cdg-protocol.test.ts +0 −6
src/lib/cover-art.test.ts +1 −9
src/lib/debug-info.ts +0 −8
src/lib/fullscreen-player.test.ts +0 −3
src/lib/local-audience-romanize.ts +0 −23
src/lib/lyrics-companion-romanization.test.ts +0 −3
src/lib/lyrics-companion-romanization.ts +0 −39
src/lib/lyrics-engine.test.ts +0 −14
src/lib/lyrics-engine.ts +0 −42
src/lib/lyrics-line-runtime.test.ts +1 −1
src/lib/romanize-options.ts +0 −15
src/lib/spring.ts +3 −4