Skip to content

Conversation

@PahaN47
Copy link
Contributor

@PahaN47 PahaN47 commented May 15, 2025

No description provided.

@PahaN47 PahaN47 requested a review from NikitaCG as a code owner May 15, 2025 17:23
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@PahaN47
Copy link
Contributor Author

PahaN47 commented May 16, 2025

Do you think I could change test screenshots? https://storage.yandexcloud.net/playwright-reports/blog-constructor/pulls/266/index.html#?testId=5c8382d0e21e66a97f26-91eceb8d3ae5fa274d1f
Neither actual nor expected images seem to be completely correct anyway

icon: Icon,
text,
onClick,
render: renderChildren,
Copy link
Collaborator

Choose a reason for hiding this comment

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

why don't we just keep only render? in it, the user will determine which icons are needed and from which side, etc.

analyticsEventsContainer,
}: PostInfoProps) => {
const {likes} = React.useContext(PostPageContext);
const {extraInfoButtons: extraButtons} = React.useContext(SettingsContext);
Copy link
Collaborator

Choose a reason for hiding this comment

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

why the extra renaming? maybe we need to named it extraInfoItems

@PahaN47 PahaN47 merged commit 7946b89 into main May 21, 2025
4 checks passed
@PahaN47 PahaN47 deleted the feat/blog-post-header-extra-buttons branch May 21, 2025 08:07
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.

4 participants