Skip to content

Corrigido o estilo do sidebar.#600

Open
wendesongomes wants to merge 6 commits into
devhatt:masterfrom
wendesongomes:refactorStyleSidebar#591
Open

Corrigido o estilo do sidebar.#600
wendesongomes wants to merge 6 commits into
devhatt:masterfrom
wendesongomes:refactorStyleSidebar#591

Conversation

@wendesongomes

@wendesongomes wendesongomes commented Aug 22, 2024

Copy link
Copy Markdown
Contributor

Closes #591

Feature

Este PR corrige o problema onde o estilo da sidebar havia sido pedido, retornando-a ao seu design padrão. Após algumas modificações, o estilo original foi perdido, e esta atualização restaura o layout e a aparência esperados para garantir consistência na interface do usuário.

Visual evidences 🖼️

image

@juliaam juliaam left a comment

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.

image

o layout não está como esperado, a estrela está mais escura do que deveria e o tamanho do header da sidebar está pequeno, do maincomposer também

@juliaam

juliaam commented Aug 22, 2024

Copy link
Copy Markdown
Contributor

image

@DominMFD DominMFD left a comment

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.

Os headers ainda estão com a altura proporcional diferente

como ta:
image

figma:
image

Aparentemente o header da social media é um pouco menor do que como esta, só ajustar e ta bala

@JpBurgarelli JpBurgarelli left a comment

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.

Em vermelho está o que você usou/como está e em verde o que deveria estar, com base no layout do Figma:
Obs.: Dê uma conferida no tamanho dos ícones também.

image

image

image

image

Comment thread src/components/AccountCard/AccountCard.module.scss
Comment thread src/components/AccountCard/AccountCard.module.scss Outdated
Comment thread src/components/AccountCard/AccountCard.module.scss
Comment thread src/components/AccountCard/AccountCard.module.scss Outdated
Comment thread src/components/AccountCard/AccountCard.tsx Outdated
@Alecell

Alecell commented Aug 30, 2024

Copy link
Copy Markdown
Contributor

Cade a thread?

@JpBurgarelli JpBurgarelli left a comment

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.

O header aqui ta quebrando, corrige ae, meu man:
image

image

@wendesongomes wendesongomes force-pushed the refactorStyleSidebar#591 branch from 35bf777 to 8169b4f Compare September 2, 2024 16:06
const socialMediaName = socialMedias
.get(props.socialMediaId)
?.name.toLowerCase();
const iconPath = iconMap[socialMediaName as keyof typeof iconMap];

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.

as keyof typeof vou morrer. Pq precisamos disso?

@juliaam juliaam left a comment

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.

figma:
image

como está na sua branch:
image

consegue ajustar o hover?

Comment thread mock-api.json
"token": "DISCORD_EXAMPLE_TOKEN_1",
"valid": true,
"avatar": "https://example.com/image1.jpg"
"avatar": "https://cdn0.iconfinder.com/data/icons/free-social-media-set/24/discord-256.png"

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.

é pra usar o ícone de um arquivo local do projeto, vamos conversar sobre

Comment thread mock-api.json

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.

image

e o ícone também não tá condizente com o do figma

Comment on lines +3 to +6
.username {
margin: 0;
}

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.

muito bom! deixou alinhadinho ao layout!

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.

isso não deve ficar aqui, todos os icons estão em src/components/Icons/icons, e já tem o do discord

const renderAccordionContent = (): ReactNode => (
<ul role="listitem">{renderAccordionMap()}</ul>
<ul className={scss.containerAccordion} role="listitem">
{renderAccordionMap()}

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.

não é mais assim no code-style atual, tem que colocar no .components

@JpBurgarelli JpBurgarelli left a comment

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.

Pelo que me recordo, esse botao da estrela estava pegando, mas, agora, nao funcionou.

image

O nome 'e o icone da rede social deveria ser roxo, nao? Olha o layout:

image

image

@Luiginicoletti Luiginicoletti left a comment

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.

ci & codestyle
moone-boy-waiting-gif-by-hulu

@Luiginicoletti Luiginicoletti added the Changes Requested To simplify a changes request view label Sep 12, 2024
@juliaam juliaam removed AGUARDANDO ALE Changes Requested To simplify a changes request view labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Approval

Development

Successfully merging this pull request may close these issues.

Conserto do layout do conteúdo da sidebar

6 participants