niltonslf
Repos
55
Followers
49
Following
86

Estudos do livro de estrutura de dados e algoritimos com javascript da Loiane groner

Events

Created at 1 month ago

feat: ensure AuthorizeHttpGetClientDecorator merge token to HttpGetClient

test: ensure AuthorizeHttpGetClientDecorator merge token to HttpGetClient

feat: ensure AuthorizeHttpGetClientDecorator return the same as HttpGetClient

test: ensure AuthorizeHttpGetClientDecorator return the same as HttpGetClient

Created at 1 month ago

feat: ensure AuthorizeHttpGetClientDecorator add token to HttpGetClient

test: ensure AuthorizeHttpGetClientDecorator add token to HttpGetClient

Created at 1 month ago

refactor: move SUT creation to a factory method

feat: ensure AuthorizeHttpGetClientDecorator not add token if GetStorage is inválid

test: ensure AuthorizeHttpGetClientDecorator not add token if GetStorage is inválid

Created at 1 month ago

feat: ensure AuthorizeHttpGetClientDecorator calls GetStorage with correct value

test: ensure AuthorizeHttpGetClientDecorator calls GetStorage with correct value

Created at 1 month ago

feat: ensure AxiosHttpClient calls axios with correct headers

test: ensure AxiosHttpClient calls axios with correct headers

Created at 1 month ago

feat: add surveyList composition

refactor: remove unused file

Created at 1 month ago

feat: add SurveyError

fix: error on SurveyError

Created at 1 month ago

feat: ensure SurveyList render surveyItem on success

test: ensure SurveyList render surveyItem on success

feat: ensure SurveyList shows error on failure

test: ensure SurveyList shows error on failure

refactor: move list of surveys to its own component

Created at 1 month ago

feat: ensure SurveyItem shows correct icon

test: ensure SurveyItem shows correct icon

Created at 1 month ago

refactor: move SUT creation to a factory method

feat: ensure load date correctly

test: ensure load date correctly

Created at 1 month ago

feat: change survey route

feat: add SurveyItemLoader

feat: ensure SurveyList rendes 4 empty items on start

test: ensure SurveyList rendes 4 empty items on start

refactor: move SUT creation to a factory method

feat: ensure loadSurveyList has been called after load the component

test: ensure loadSurveyList has been called after load the component

Created at 1 month ago

chore: add jest-dom

refactor: change asserts to use jest-dom, use screen

Created at 2 months ago

feat: apply PrivateRoute to survey list page

Created at 2 months ago

feat: ensure PrivateRoute renders component if token is not empty

test: ensure PrivateRoute renders component if token is not empty

Created at 2 months ago

test: move sut create to a factory method

Created at 2 months ago

feat: ensure PrivateRoute redirect to /login if empty token is provided

test: ensure PrivateRoute redirect to /login if empty token is provided

Created at 2 months ago

feat: ensure LocalStorageAdapter calls localStorage.getItem with correct value

test: ensure LocalStorageAdapter calls localStorage.getItem with correct value

feat: add getCurrentAccountAdapter

test: add getCurrentAccountAdapter

Created at 2 months ago

feat: add getCurrentAccount to ApiContext

Created at 2 months ago

test: ensure CurrentAccountAdapter calls LocalStorageAdapter with correct values

test: ensure CurrentAccountAdapter throws error if invalid account is provided

Created at 2 months ago

refactor: move current account control to the ApiContext

Created at 2 months ago
niltonslf create branch feature/authentication
Created at 2 months ago
niltonslf delete branch feature/load-survey-list
Created at 2 months ago

refactor: move components to a new folder

Merge pull request #3 from niltonslf/feature/load-survey-list

refactor: move components to a new folder

Created at 2 months ago
pull request closed
refactor: move components to a new folder
Created at 2 months ago
pull request opened
refactor: move components to a new folder
Created at 2 months ago
niltonslf create branch feature/load-survey-list
Created at 2 months ago
niltonslf delete branch feature/load-survey-list
Created at 2 months ago

feat: add SurveyModel

feat: add LoadSurveyList use case

chore: update readme

refactor: rename generics params

refactor: set any as default response type

feat: ensure RemoteLoadSurveyList calls HttpGetClient with correct url

test: ensure RemoteLoadSurveyList calls HttpGetClient with correct url

refactor: move SUT creation to a factory method

feat: ensure RemoteLoadSurveyList throws Unexpected error on 403

test: ensure RemoteLoadSurveyList throws Unexpected error on 403

test: ensure RemoteLoadSurveyList throws Unexpected error on 404

test: ensure RemoteLoadSurveyList throws Unexpected error on 500

chore: update eslint config

feat: ensure RemoteLoadSurveyList returns a list of SurveyModel on 200

test: ensure RemoteLoadSurveyList returns a list of SurveyModel on 200

feat: ensure RemoteLoadSurveyList returns an empty array on 204

test: ensure RemoteLoadSurveyList returns an empty array on 204

refactor: improve test names

feat: ensure AxiosHttpClient calls axios.get with correct values

test: ensure AxiosHttpClient calls axios.get with correct values

Created at 2 months ago
pull request closed
Feature/load survey list
Created at 2 months ago