Skip to content

[UIK-5742][side-panel] redesign - #3129

Open
ilyabrower wants to merge 7 commits into
UIK-5351/add-more-variables-to-themefrom
UIK-5742/side-panel-redesign
Open

[UIK-5742][side-panel] redesign#3129
ilyabrower wants to merge 7 commits into
UIK-5351/add-more-variables-to-themefrom
UIK-5742/side-panel-redesign

Conversation

@ilyabrower

Copy link
Copy Markdown
Contributor

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

@ilyabrower
ilyabrower force-pushed the UIK-5742/side-panel-redesign branch from df72aa1 to 36fbb65 Compare August 14, 2026 11:09
…e-panel-redesign

Signed-off-by: Valeria-Zimnitskaya <valeryia.zimnitskaya@semrush.com>
<Children />
</ButtonLink.Text>
</SBack>,
<SBack render={ButtonLink} color='text-hint' size={100} addonLeft={ArrowLeft} />,

@Valeria-Zimnitskaya Valeria-Zimnitskaya Aug 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ilyabrower @sheila-semrush i think, it should have an accessible name, aria-label

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

not necessarily, see comment above

<Children />
</ButtonLink.Text>
</SBack>,
<SBack render={ButtonLink} color='text-hint' size={100} addonLeft={ArrowLeft} />,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sheila-semrush i'm not sure icon color is correct here
Figma:
Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the color in figma was incorrect, I fixed it. But it shouldn't be color in code also, it should be use=secondary. I fixed it in the example, but we might not want to fix it here because we might not want to update the back button at all. Left another comment about it above.

<Children />
</ButtonLink.Text>
</SBack>,
<SBack render={ButtonLink} color='text-hint' size={100} addonLeft={ArrowLeft} />,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sheila-semrush In figma i see size =300, which is correct?

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nope, I fixed it in the example. About here - see other comments

margin-bottom: var(--intergalactic-spacing-1x, 4px);
padding-right: calc(var(--intergalactic-spacing-10x, 40px) + var(--intergalactic-spacing-4x, 16px));
margin-top: var(--intergalactic-spacing-1x, 4px);
padding-left: var(--intergalactic-spacing-content-padding-xlarge-extended, 24px);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sheila-semrush gap is missed here?

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we agreed to implement the Back button and all corresponding styles only in the example, including gap (it's implemented as margin there, which is ok)

box-sizing: border-box;
flex-shrink: 0;
flex-direction: column;
justify-content: center;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sheila-semrush is that expected? because in figma i see align-items=center

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the structure is different in Figma & implementation, so this is fine

const { styles } = props;

return sstyled(styles)(
<SBack render={ButtonLink} color='text-hint' size={100} addonLeft={ArrowLeft}>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ilyabrower if we deprecate the Back button and replace with a buttonlink in the examples, maybe we should keep its old code?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants