Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adiciona botão de adicionar nova conta #228

Merged
merged 45 commits into from
Dec 6, 2023
Merged

Adiciona botão de adicionar nova conta #228

merged 45 commits into from
Dec 6, 2023

Conversation

alvarogfn
Copy link
Contributor

Closes #172

Feature

Adiciona um componente de Portal com a funcionalidade de renderizar algum componente flutuante.

Changelog
  • Adiciona componente de Portal
  • Adiciona componente de AccordionTab
  • Adiciona botão de adicionar nova conta no SideBar
Visual evidences 🖼️

image
image

Checklist
  • Issue linked
  • Build working correctly
  • Tests created
Additional info

Aproveitei para mover o estilo de Acordeão que estava sendo reutilizado no SideBar e no ComposerEditor em um novo componente chamado AccordionTab. (A funcionalidade de esconder e mostrar o conteúdo também está funcionando)

Tive que ajustar a propriedade de width do InputSearch pois ela estava fixa, e acabava vazando do SideBar.

aalmeida00
aalmeida00 previously approved these changes Nov 27, 2023
src/components/AccordionTab/AccordionTab.module.scss Outdated Show resolved Hide resolved
src/components/AccordionTab/AccordionTab.module.scss Outdated Show resolved Hide resolved
src/components/AccordionTab/AccordionTab.module.scss Outdated Show resolved Hide resolved
src/components/AccordionTab/AccordionTab.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.tsx Outdated Show resolved Hide resolved
@alvarogfn alvarogfn requested a review from Alecell December 1, 2023 12:39
@alvarogfn alvarogfn requested a review from aalmeida00 December 1, 2023 20:51
aalmeida00
aalmeida00 previously approved these changes Dec 1, 2023
aalmeida00
aalmeida00 previously approved these changes Dec 5, 2023
Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

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

Sobre as condicionar que vc moveu para as funções, é importante ressaltar que o problema é a condicional multiline, se for uma condicional que cabe e fica legivel em 1 linha só, isso ta tudo bem!

Por isso fiz essas observações agora, mas também tinha feito quando eram condicionais multiline.

Inclusive o outro caso o comentário na Modal.tsx, condicional, que deveria ser inline, mas usada multiline!

src/components/AccordionTab/AccordionTab.tsx Outdated Show resolved Hide resolved
src/components/AccordionTab/AccordionTab.tsx Outdated Show resolved Hide resolved
src/components/Modal/Modal.module.scss Show resolved Hide resolved
src/components/Modal/Modal.tsx Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.module.scss Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.tsx Outdated Show resolved Hide resolved
src/pages/home/components/Sidebar/Sidebar.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

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

Show! Só cria o ticket lá e gg

@aalmeida00
Copy link
Member

Cria essa tarefa pra ajustar o eslint. LGTM por mim.

@aalmeida00 aalmeida00 merged commit 24c72d1 into devhatt:master Dec 6, 2023
2 checks passed
@alvarogfn alvarogfn deleted the alvarogfn/issue172 branch December 15, 2023 04:35
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.

Create button "New Account"
3 participants