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

Integrate Frontend with Contacts Page Backend #143

Closed
5 of 7 tasks
mahid797 opened this issue Dec 25, 2024 · 3 comments · Fixed by #167
Closed
5 of 7 tasks

Integrate Frontend with Contacts Page Backend #143

mahid797 opened this issue Dec 25, 2024 · 3 comments · Fixed by #167
Assignees
Labels
Core Work to do on the core system of the App Frontend Frontend Related Issue
Milestone

Comments

@mahid797
Copy link
Collaborator

mahid797 commented Dec 25, 2024

Integrate the completed Contacts Page frontend with the backend API. Ensure the table displays visitor details and allows dynamic sorting as per the frontend implementation. The Contacts Page will rely on data from the LinkVisitors table, provided by the backend API.


Tasks

  • Connect the Contacts Page UI to the backend API.
  • Populate the table with the following data:
    • Name: Combine first_name and last_name.
    • Email: Display the visitor's email.
    • Last Viewed Link: Fetch friendlyName from the Link table, with LinkID as a fallback.
    • Last Activity: Use the updatedAt field from LinkVisitors.
    • Total Visits: Calculate and display the total number of accesses by the visitor.
  • Sorting is mostly implemented, but ensure the below:
    • Last Activity: Default sort in descending order. Use the useSort hook if possible.
    • Total Visits: Optional sort if feasible within the timeframe. Updated
  • Handle edge cases:

Update: The schema has also changed, so please make sure to get the latest version from master and feat/document-details-page (minor change)

Notes

@mahid797 mahid797 added New Feature New feature to be implemented Core Work to do on the core system of the App Frontend Frontend Related Issue labels Dec 25, 2024
@mahid797 mahid797 added this to the 1.0 milestone Dec 25, 2024
@mahid797
Copy link
Collaborator Author

mahid797 commented Jan 8, 2025

@SajanGhuman

@mahid797
Copy link
Collaborator Author

@SajanGhuman Made some updates to the issue

@mahid797
Copy link
Collaborator Author

mahid797 commented Jan 15, 2025

@SajanGhuman Removed some tasks from the issue. Please make sure to review the updated schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Work to do on the core system of the App Frontend Frontend Related Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants