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

Create a container for API integration for recognition listing #165

Open
7 tasks done
mayuriardad opened this issue May 26, 2020 · 0 comments · May be fixed by #167
Open
7 tasks done

Create a container for API integration for recognition listing #165

mayuriardad opened this issue May 26, 2020 · 0 comments · May be fixed by #167
Assignees
Labels
enhancement New feature or request react-frontend For PRs of peerly react app

Comments

@mayuriardad
Copy link
Contributor

mayuriardad commented May 26, 2020

After a successful login, the user should see the recognition listing page

  • create a container component in integration with the saga to make GET API call to get recognitions

  • based on the response set recognition list to the redux store

  • display recognitions using presentational component

  • if user token has expired as per the response from API error redirect the user to session timeout component

  • if API gives the forbidden error that is unauthorized user redirect to unauthorized error component

  • add reducer test cases

  • use action generator to get possible action type and use reducer , saga and test files

@mayuriardad mayuriardad added enhancement New feature or request react-frontend For PRs of peerly react app labels May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request react-frontend For PRs of peerly react app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants