-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Home Page] - MyTasks Section #2771
Comments
caiodasilva2005
changed the title
[Home Page] - Member MyTasks Section
[Home Page] - MyTasks Section
Sep 11, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 2, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 2, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 2, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 2, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 2, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 3, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 3, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 4, 2024
caiodasilva2005
added a commit
that referenced
this issue
Oct 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We want members to have a display of all the tasks assigned to them so they have a good idea of what they have to work on.
We need a task card that includes the task number, the project number and name the task is under, task notes, due date, priority, and a label to indicate when the task is overdue. If the task is overdue, the task card should be outlined in red and a pop up should appear on hover.
We need a page block titled 'My Tasks' along with the number of tasks assigned to the current user.
To access the user’s assigned tasks, we need a hook that will make an api call to the endpoint at “users/tasks/:userid” to return all the tasks assigned to a user.
If there are currently no tasked assigned to the member, a display should appear in the page block notifying the user that they are not assigned to any tasks.
Acceptance Criteria
Proposed Solution
Create a new component in the Member Home Page for the TaskInfoCard. Take a look at how the WorkPackageCard is structured, as the task card will have a similar structure. Additionally, create a new component that uses the page block component to display the task info card you created to display the user's tasks.
You can access the user’s assigned tasks by using the useCurrentUser hook and then using the hook you create to get the current user's tasks.
For the tool tip reference this link and look at the arrow tool tip section (https://mui.com/material-ui/react-tooltip/)
Take a look at the other hooks we have on Finishline and use that as a reference for this one.
Mocks
blocked by #2770
The text was updated successfully, but these errors were encountered: