Skip to content

refactor(appearance): enforce component style schemas#705

Open
TorinAsakura wants to merge 9 commits into
masterfrom
feat/appearance-contract
Open

refactor(appearance): enforce component style schemas#705
TorinAsakura wants to merge 9 commits into
masterfrom
feat/appearance-contract

Conversation

@TorinAsakura

@TorinAsakura TorinAsakura commented Jun 9, 2026

Copy link
Copy Markdown
Member

Таска

Как проверять

Основной сценарий

  1. Контекст: style schema находится рядом с button, input и checkbox.
    Действие: изменить сгенерированный appearance.css.ts не по schema и запустить проверку schema.
    Ожидаемый результат: проверка падает на drift между schema и файлом.

Дополнительный сценарий

  1. Контекст: button и input используют runtime helper из @atls-ui-parts/theme.
    Действие: собрать генератор, ui-parts/theme, button, input и checkbox.
    Ожидаемый результат: сборка проходит без runtime-зависимости button и input от @atls-ui-generators/appearance.

Пруфы

  • yarn workspace @atls-ui-generators/appearance test unit
  • yarn workspace @atls-ui-generators/appearance build
  • yarn workspace @atls-ui-parts/theme build
  • yarn workspace @atls-ui-parts/button build
  • yarn workspace @atls-ui-parts/input build
  • yarn workspace @atls-ui-parts/checkbox build
  • yarn check

@TorinAsakura TorinAsakura self-assigned this Jun 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a221afdf4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@TorinAsakura TorinAsakura changed the title [Feature] Закрепить appearance generator как проверяемый контракт компонентов refactor(appearance): enforce component style schemas Jun 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9f9bffe1f0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread generators/appearance/src/generator.ts Outdated
Comment thread generators/appearance/src/generator.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 70090f55ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread generators/appearance/package.json
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.

[Feature] Закрепить style schema для appearance-слоя компонентов

1 participant