Skip to content

Payroll 3/4: Rating is not displayed on the timesheet #21

@ghost

Description

Rating is not displayed on the timesheet

Issue:

To replicate this issue, you need to enter the main JobCore account and ask your supervisor for the credentials to enter.

Once you enter the main account, follow these steps:

  • Go to the "Payroll" page; there, you will see 4 black buttons on the right side of the screen. one of them says "Search by Timesheet."
  • If you click this button, you will see a list of available timesheets by payroll periods. Feel free to select any of them.
  • Once you select one of them, you will see a block of information per employee.

Here comes the problem, in the block of information regarding every employee, you should be able to see their current star rating. However, right now it shows "No rating available" even if the user does have a star rating.

For reference, the code for this issue exists between lines 440 and 445 of /workspace/employer-web-client/src/js/components/applicant-card/EmployeeExtendedCard.jsx

issue 3

Solution:

A developer should make it so that the employee rating gets displayed (if it exists) right where the current placeholder text of "Rating not available" is present.

Solution Steps:

  1. Investigate how the rating is being rendered on the timesheet block, and see how the information is used.
  2. Once finished, run all the tests provided in the repo to make sure that your integration was successful
  3. Create a pull request so that your code can be evaluated by the Lead Developer before deployment.
  4. Keep an eye out for any new bugs that arise after the change is deployed to the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions