docs: web comments say what the app does, not how it came to be (#6277)
Rewrites the web app's comments to rule 32. Task, milestone, rule and spec ids are gone; regression stories are restated as the trap they guard (public auth routes, the menu's stopPropagation, universal loads under adapter-static, metric deltas with their margin). Flutter and Tauri mentions now name the Android app or a native shell, operator quotes and dates are dropped, and one library's counts no longer appear outside test fixtures. Verified with a TypeScript-scanner token comparison (template literals and regex literals re-scanned): only comment text changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ function track(): TrackRef {
|
||||
// PlayerBar renders both a compact (mobile, md:hidden) and desktop
|
||||
// (hidden md:flex) block. jsdom doesn't apply CSS media queries, so
|
||||
// both DOM trees are present in tests. Scope every query to the
|
||||
// compact block — that's the user-facing change in #358; desktop
|
||||
// compact block — that's where the phone layout lives; desktop
|
||||
// behavior is covered structurally by the same store + handlers.
|
||||
function compact() {
|
||||
return within(screen.getByTestId('player-bar-compact'));
|
||||
@@ -209,8 +209,8 @@ describe('PlayerBar', () => {
|
||||
});
|
||||
|
||||
describe('"Up next" line (desktop only)', () => {
|
||||
// The "Next · …" copy was dropped from compact per #358; only the
|
||||
// desktop block surfaces it. Scope queries to desktop.
|
||||
// The compact block has no "Next · …" copy; only the desktop block
|
||||
// surfaces it. Scope queries to desktop.
|
||||
function desktop() {
|
||||
return within(screen.getByTestId('player-bar-desktop'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user