-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor: Refatorando arquitetura tela de calendario, criar matéria, criar evento e home #34
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maeceloacm1998
changed the title
Refactor: Refatorando arquitetura eventos firebase
Refactor: Refatorando arquitetura tela de calendario, criar matéria, criar evento e home
Apr 30, 2024
maeceloacm1998
commented
May 1, 2024
core/src/main/java/com/savestudents/core/firebase/FirebaseClientImpl.kt
Outdated
Show resolved
Hide resolved
features/src/main/java/com/savestudents/features/home/ui/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/src/main/java/com/savestudents/features/home/ui/HomePresenter.kt
Outdated
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Nesse PR foram feitas as seguintes alterações:
2.1. Adicionando clean architecture.
2.2. Organizando chamadas no repository.
2.3. Colocando toda regra de negócio dentro do use case.
2.4. Ajuste a lógica para deletar uma tarefa.
3.1. Adicionando clean architecture.
3.2. Em vez de em cada tela ter que analizar se o evento é tipo materia, pegar todos os dias da semana do ano, filtrar pelo dia da semana( Segunda, terça, quarta, quinta, sexta ou Sábado) para aparecer no calendario ou na lista, agora quando você adiciona uma matéria e seleciona os dias de semana que a pessoa tem, automaticamente é pego todos os dias referente ao dia da semana selecionado e adicionado numa lista de eventos, assim, outras telas apenas precisar renderizar o resultado do firebase, sem precisar repetir lógica.
4.1. Adicionando clean architecture.
4.2. Adicionando novo fluxo para adicionar um evento.
4.3. Trazendo a data selecionada no calendário para a tela de criação de evento.
6.1. Adicionando clean architecture.
6.2. Mudando a chamada dos elementos para exibir os eventos do dia.