[go: up one dir, main page]

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 profile update requests page with pagination #849

Open
5 of 10 tasks
lakshayman opened this issue Sep 23, 2024 · 0 comments
Open
5 of 10 tasks

Create a profile update requests page with pagination #849

lakshayman opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@lakshayman
Copy link
Contributor
lakshayman commented Sep 23, 2024

Issue Description

Create a new page for profile update requests following the design in Figma.
Add pagination to the /profileDiffs API to allow smooth navigation.
Create a new API endpoint /profileDiff/:id to fetch a single profile diff by ID.

Expected Behavior

  • A new page should be created for profile update requests, following the provided design.
  • Pagination should be added to the /profileDiffs API to handle large data sets efficiently.
  • A new API /profileDiff/:id should be implemented to fetch a single profile diff based on the provided id.

Current Behavior

  • Existing page for profile update requests does not have a good UI/UX.
  • The /profileDiffs API lacks pagination.
  • No existing /profileDiff/:id API to fetch individual profile diffs.

Screenshots

Refer to the Figma design for the page layout.

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

  1. Attempt to access the profile update requests page which is not looking good.
  2. Fetch /profileDiffs API with no pagination support.
  3. Try fetching a specific profile diff with an id (no such API exists).

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

  • Pagination should use query parameters like ?next= and ?prev= for navigating through pages.
  • The profileDiff data contains fields such as userId, first_name, last_name, status, and timestamp.

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
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

No branches or pull requests

1 participant