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:
@@ -56,8 +56,8 @@ describe('album detail page', () => {
|
||||
render(AlbumPage);
|
||||
|
||||
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent('Kind of Blue');
|
||||
// Two links point at /artists/md: the back chevron and the inline hero link.
|
||||
// getAllByRole returns both; both should target the artist page.
|
||||
// Two links point at /artists/md: the back chevron and the inline hero
|
||||
// link. getAllByRole returns both; both should target the artist page.
|
||||
const artistLinks = screen.getAllByRole('link', { name: /Miles Davis/ });
|
||||
expect(artistLinks.length).toBeGreaterThanOrEqual(1);
|
||||
artistLinks.forEach((l) => expect(l).toHaveAttribute('href', '/artists/md'));
|
||||
@@ -122,7 +122,7 @@ describe('album detail page', () => {
|
||||
}
|
||||
});
|
||||
|
||||
// Quick-jumps into the browse axes (#367). The genre href must be encoded:
|
||||
// Quick-jumps into the browse axes. The genre href must be encoded:
|
||||
// a slash-bearing tag is why browse selection lives in the query string.
|
||||
test('year and genre are quick-jump links into the browse axes', () => {
|
||||
const detail: AlbumDetail = {
|
||||
|
||||
Reference in New Issue
Block a user