From a428eac3094b2ca27480b44870e14dd57688d320 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 3 Jun 2026 08:45:36 +0300 Subject: [PATCH] docs: remove decorative separator comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Strip box-drawing (──) section dividers and ===/banner headers — visual noise with no information. Where a divider label carried a non-obvious why (VirtualList owns scrolling; mobile footer is md:hidden because header stats take over) it is kept as a plain one-line comment; pure restatements of the markup (Header bar, Red hover line, Bottom: fixed controls) are dropped. Single comment style, no fluff. --- src/entities/Font/testing/fonts.mock.ts | 6 +----- src/entities/Font/testing/index.ts | 5 +---- src/entities/Font/ui/FontSampler/FontSampler.svelte | 5 +---- src/shared/lib/storybook/index.ts | 6 +----- src/shared/ui/ComboControl/ComboControl.svelte | 6 ++++-- src/shared/ui/SidebarContainer/SidebarContainer.svelte | 4 ++-- src/widgets/ComparisonView/ui/Sidebar/Sidebar.svelte | 4 +--- 7 files changed, 11 insertions(+), 25 deletions(-) diff --git a/src/entities/Font/testing/fonts.mock.ts b/src/entities/Font/testing/fonts.mock.ts index 344c554..0cf45fa 100644 --- a/src/entities/Font/testing/fonts.mock.ts +++ b/src/entities/Font/testing/fonts.mock.ts @@ -1,9 +1,5 @@ /** - * ============================================================================ - * MOCK FONT DATA - * ============================================================================ - * - * Factory functions and preset mock data for fonts. + * Mock font data: factory functions and preset fixtures. * Used in Storybook stories, tests, and development. * * ## Usage diff --git a/src/entities/Font/testing/index.ts b/src/entities/Font/testing/index.ts index 20219f5..d82a724 100644 --- a/src/entities/Font/testing/index.ts +++ b/src/entities/Font/testing/index.ts @@ -1,8 +1,5 @@ /** - * ============================================================================ - * MOCK DATA HELPERS - MAIN EXPORT - * ============================================================================ - * + * Mock data helpers (main export). * Comprehensive mock data for Storybook stories, tests, and development. * * ## Quick Start diff --git a/src/entities/Font/ui/FontSampler/FontSampler.svelte b/src/entities/Font/ui/FontSampler/FontSampler.svelte index bf019e8..98e82d5 100644 --- a/src/entities/Font/ui/FontSampler/FontSampler.svelte +++ b/src/entities/Font/ui/FontSampler/FontSampler.svelte @@ -102,7 +102,6 @@ const stats = $derived([ " style:font-weight={typography.weight} > -
- +
{#each stats as stat, i} @@ -187,7 +185,6 @@ const stats = $derived([ {/each}
-
(comparisonStore.side);
- +
{#if main} {@render main()} {/if}
- {#if controls}