Skip to content

docs: added sticky-header-technical-overview#1122

Draft
makhnatkin wants to merge 2 commits intomainfrom
docs/sticky-header-technical-overview
Draft

docs: added sticky-header-technical-overview#1122
makhnatkin wants to merge 2 commits intomainfrom
docs/sticky-header-technical-overview

Conversation

@makhnatkin
Copy link
Copy Markdown
Collaborator

@makhnatkin makhnatkin commented May 4, 2026

Summary by Sourcery

Documentation:

  • Add a technical overview describing the architecture, behavior, contracts, constants, diagnostics, and constraints of the editor sticky-header mechanism.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 4, 2026

Reviewer's Guide

Adds a new, detailed technical overview document describing the current sticky-header implementation in the editor, including its architecture, contracts, constants, and diagnostic scenarios.

File-Level Changes

Change Details Files
Document the current sticky-header implementation, its components, contracts, and diagnostics in a standalone technical spec.
  • Introduces a new markdown document capturing the end-to-end behavior and structure of the sticky-header mechanism in the editor.
  • Describes the responsibilities and interactions of CSS sticky layout, React hooks (useSticky, useTargetZIndex), and getTopOffset for programmatic scrolling.
  • Formalizes external props, CSS variables, DOM and CSS contracts, including invariants and behavioral rules around stickyToolbar, sticky-active, and popup z-index handling.
  • Captures fixed constants (offsets, z-indexes, dimensions) and their cross-cutting relationships between CSS and JS implementations.
  • Adds diagnostic guidance with control scenarios and common failure modes for sticky-header-related issues.
docs/sticky-header-technical-overview.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@gravity-ui
Copy link
Copy Markdown

gravity-ui Bot commented May 4, 2026

Storybook Deployed

@gravity-ui
Copy link
Copy Markdown

gravity-ui Bot commented May 4, 2026

🎭 Playwright Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant