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

Gerenciador de estado #30

Closed
Alecell opened this issue Aug 8, 2023 · 0 comments · Fixed by #58
Closed

Gerenciador de estado #30

Alecell opened this issue Aug 8, 2023 · 0 comments · Fixed by #58
Assignees

Comments

@Alecell
Copy link
Contributor

Alecell commented Aug 8, 2023

Provavelmente vamos precisar de algum gerenciador de estado e já com isso em mente vamos adiciona-lo agora no app para evitar possíveis problemas futuros. Se adicionarmos agora, não perdemos muito se não for preciso, se não adicionarmos teremos muitos refactor se for necessário.

Essa task consiste na instalação e configuração do gerenciador de estado para a aplicação. Minha sugestão é usarmos Zustand, é um gerenciador de estado simples, com pouco boilerplate e eficaz.

Nessa task alem da configuração é preciso se atentar as questões de arquitetura que circundam essa feature. Deixando claro, isso não é um componente, é um sistema de estado. Em uma cidade, se os componentes forem as casas, esse sistema é o sistema de energia.

@aalmeida00 aalmeida00 self-assigned this Aug 9, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 11, 2023
@aalmeida00 aalmeida00 linked a pull request Aug 11, 2023 that will close this issue
3 tasks
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 13, 2023
aalmeida00 added a commit that referenced this issue Aug 14, 2023
aalmeida00 added a commit that referenced this issue Aug 14, 2023
aalmeida00 added a commit that referenced this issue Aug 14, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 15, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 15, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 15, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 15, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 15, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
aalmeida00 added a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit to aalmeida00/octopost that referenced this issue Aug 16, 2023
Alecell pushed a commit that referenced this issue Aug 16, 2023
Alecell pushed a commit that referenced this issue Aug 16, 2023
Alecell pushed a commit that referenced this issue Aug 16, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
Alecell pushed a commit that referenced this issue Aug 23, 2023
aalmeida00 added a commit that referenced this issue Aug 24, 2023
* refactor: remove scope from commitizen

* refactor: remove scope from commitMessage

re #61

* feat: add landle and test button #63 (#65)

* feat: add landle and button on testinho

feat #63

* feat: add landle and button on testinho

feat #63

* refactor: edited testinho.stories and ladle dependencie

feat #63

* chore: move devDependencie misplaced as dependencie

* refactor: edit component Testinho and remove useState

---------

Co-authored-by: Andre Almeida <andre-silva78@hotmail.com>

* feat: add stylelint on ci

* fix: fix identation and error on ci file

* fix: fix switch stylelint

* fix: fix stylelint on textcopy

* fix: fix stylelint on toggleSocialMedia

* fix: fix stylelint on home

* feat: create storie for switch component

* refactor: add command to initialize ladle on package.json

* fix: fix typo of switch css import

* docs: add a new template for issues on github

docs #82

* test: add unit tests for switch component

test #67

* test: update checked on and off test description

test #67

* test: make when click test async to pass on ci

te #67

* style: update tests name

style #67

* feat: Add zunstand package

feat #30

* feat: add a example store

feat #30

* feat: create use posts store initial and add tests

feat #30

* refactor: export interface of posts store

refactor #30

* refactor: usage of hook on testinho and update of tests

refactor #30

* refactor: pull request suggestions

* chore: update "scripts" position

* ci: add playwright to github pipeline

* chore: add playwright to the project

That package came with a bunch of other files and configurations. We update the `.gitignore` to ignore on commit some of the local testing reports, added two more commands on `package.json`, create a jest config file *just* for playwright and I'm commiting out the examples folders, later we can probably remove them, but now lets that here for rerefence

* chore: move jest from dependencies to devDependencies

* refactor: make preview component to follow the styleguide

re #59

* test: add tests for preview component

test #59

* refactor: add space between the imports and the tests

re #59

* refactor: update div to paragraph on preview

re #60

* test: remove shoud prefix on test

test #59

* refactor: update html from p to div

re #59

* refactor: add children to component

re #59

* style: update on test how to use the component

style #59

* docs: Added badges and links to the readme (#83)

* docs: Added badges and links to the readme

* docs: changed readme links from develop to master

---------

Co-authored-by: flavia <flaviafreirec@hotmail.com>
Co-authored-by: Flávia Freire <54037222+flaviafreirec@users.noreply.github.com>
Co-authored-by: hxsggsz <vt.hugo.2021@gmail.com>
Co-authored-by: alecell <alecell.dev@gmail.com>
Co-authored-by: Leandro Augusto <61525671+leandrokzu@users.noreply.github.com>
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 a pull request may close this issue.

2 participants