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

[Feature] People - Manager POV - main view #36

Closed
2 tasks
skorekm opened this issue Jun 17, 2024 · 0 comments
Closed
2 tasks

[Feature] People - Manager POV - main view #36

skorekm opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@skorekm
Copy link
Collaborator

skorekm commented Jun 17, 2024

Requirements:

  • According to the designs.
  • There 3 Tabs available in the People section:
    • Active
    • Drafts
    • Deactivated
  • Each tab contains users with a particular status assigned to them
  • The "+ Employee" button in the top right corner of the page redirects to the new employee profile creator when clicked.
  • The button has a hover effect link
  • The list of the employees is a table containing different columns for each tab:
    • Active:
      • Employee - avatar, name, and surname of the employee, their role, and current seniority (it could contain more than one role)
      • Ladder - role ladder that an employee is currently assigned to (it could contain more than one ladder)
      • Current Band - number of the current band
      • Active Goal - this row shows a green tick when a given employee has an active goal
      • Goal Progress - percentage of completion of the goal displayed on the progress bar
      • Latest Activity - number of the latest activities performed by a given employee
      • "3 Dots" - clicking it shows available options - "Manage account" link
    • Drafts:
      • Employee - avatar, name, and surname of the employee, their role, and current seniority (it could contain more than one role)
      • Ladder - role ladder that an employee is currently assigned to (it could contain more than one ladder)
      • Current Band - number of the current band
      • Action - actions available for a given draft of the employee profile: Resume - allows to continue editing the profile, Activate employee - activates account in the system (user will be visible in Active tab)
      • "3 Dots"- clicking it shows available options - "Delete user" link
    • Deactivated:
      • Employee - avatar, name, and surname of the employee, their role, and current seniority (it could contain more than one role)
      • Ladder - role ladder that an employee is currently assigned to (it could contain more than one ladder)
      • Current Band - number of the current band
      • "3 Dots" - clicking it shows available options - "Manage account", "Activate employee" link
  • The height of the table is fixed and determined by the size of 10 rows.
  • The table can be filtered out by:
    • The current band dropdown allows the user to choose the desired band number for the searched employee. Clicking on the dropdown shows available options. All filters are single-select. When any option is selected, it can be clear by clicking the "X" button or choosing another option from the dropdown. The selected filter has a hover effect link
  • At the bottom of the page:
    • in the left corner, there is an indicator showing the number of displayed records
    • in the right corner, there is the page indicator showing 3 numbers of pages:
      • The current page and 2 following pages(when the user is on the 1st page)/ previous and next pages/ 2 previous pages (when the user is on the last page). Each number is clickable and redirects the user to the given page
      • On the left and right, there are arrows that allow you to change the page by clicking on them. The left arrow is for the previous page, and the right arrow is for the next page.

Tasks:

  • FE
  • BE

Link to designs:

Image
Figma

@jakubfolta jakubfolta self-assigned this Jun 17, 2024
jakubfolta added a commit that referenced this issue Jun 19, 2024
jakubfolta added a commit that referenced this issue Jun 20, 2024
jakubfolta added a commit that referenced this issue Jun 20, 2024
jakubfolta added a commit that referenced this issue Jun 20, 2024
jakubfolta added a commit that referenced this issue Jun 20, 2024
jakubfolta added a commit that referenced this issue Jun 21, 2024
jakubfolta added a commit that referenced this issue Jul 3, 2024
jakubfolta added a commit that referenced this issue Jul 4, 2024
jakubfolta added a commit that referenced this issue Jul 8, 2024
jakubfolta added a commit that referenced this issue Jul 10, 2024
jakubfolta added a commit that referenced this issue Jul 10, 2024
jakubfolta added a commit that referenced this issue Jul 10, 2024
jakubfolta added a commit that referenced this issue Jul 10, 2024
jakubfolta added a commit that referenced this issue Jul 10, 2024
skorekm pushed a commit that referenced this issue Jul 16, 2024
* feat: add people page

* feat: add employee card and filter people data [gh-36]

* feat: update Tabs with dynamic people number data [gh-36]

* feat: update employee card styling and multiple ladder handling [gh-36]

* feat: updates to employee card to reflect figma, multiple ladders handling [gh-36]

* feat: fix padding on table [gh-36]

* feat: remove letter-spacing [gh-36]

* feat: UI dropdown update [gh-36]

* feat: lint formatting update [gh-36]

* feat: add band filter logic and update to th widths [gh-36]

* feat: lint formatting [gh-36]

* feat: add tab filter logic [gh-36]

* feat: update tabs styling [gh-36]

* feat: update employee card depends on tab selected [gh-36]

* feat: lint formatting [gh-36]

* feat: refactor to remove table and use css grid [gh-36]

* feat: rename dropdown component to match headlessui docs and updates [gh-36]

* feat: lint fixes and move EmployeeCard to modules directory [gh-36]

* feat: update tabs structure and Employee interface [gh-36]

* feat: add DropdownMenuComponent [gh-36]

* feat: add hover effects and DropdownMenuComponent refactor [gh-36]

* feat: fix multiple items layout for few colums on Active tab [gh-36]

* feat: add pagination [gh-36]

* feat: update ui for searchbar to match figma [gh-36]

* feat: add searchbar component [gh-36]

* feat: refactor [gh-36]

* feat: update pagination [gh-36]

* feat: fix import [gh-36]

* feat: fix import [gh-36]

* feat: fix import [gh-36]

* feat: basic cleanup

* fix: rename icon

* chore: replace button

---------

Co-authored-by: Jakub Folta <jakubfolta@yahoo.co.uk>
Co-authored-by: r1skz3ro <mikolaj.schatt@kellton.com>
@skorekm skorekm assigned r1skz3ro and unassigned jakubfolta Jul 16, 2024
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

4 participants