ncc-erp / ncc-erp-workflow-w2-ui

0 stars 0 forks source link

[53061][W2] Add filter by role in user management #146

Open longvodinhhoang opened 10 months ago

longvodinhhoang commented 10 months ago

Checklist (check all applicable)

Description

Evidence

github-actions[bot] commented 10 months ago

Code Coverage Results:

--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File                                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                   
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files                                   |   68.21 |    46.35 |   52.05 |   67.91 |                                                                                                                     
 api/apiHooks                               |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                     
  index.ts                                  |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                                  
  userHooks.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
 common                                     |     100 |      100 |     100 |     100 |                                                                                                                     
  constants.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  enums.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components                          |   83.33 |    22.41 |   66.66 |    82.6 |                                                                                                                     
  EmptyWrapper.tsx                          |     100 |    33.33 |     100 |     100 | 13-16                                                                                                               
  ErrorDisplay.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  InputWrapper.tsx                          |     100 |       50 |     100 |     100 | 16-22                                                                                                               
  ModalConfirm.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  Pagination.tsx                            |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                            
  PasswordField.tsx                         |   88.88 |       50 |      50 |     100 | 45-55                                                                                                               
  SearchableSelectField.tsx                 |      75 |       50 |   66.66 |   72.72 | 39,50,60-67                                                                                                         
  SelectField.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  StandaloneToast.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                     
  TextField.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  TextareaField.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                     
  Toogle.tsx                                |   78.57 |       50 |      25 |   76.92 | 20-46                                                                                                               
 common/components/Boards                   |   52.17 |    39.88 |   46.83 |   52.97 |                                                                                                                     
  ListTask.tsx                              |   59.32 |     37.5 |   46.66 |      60 | 91-92,97-108,187-280,317-320,328-357,374,385,418-496                                                                
  ModalBoard.tsx                            |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                            
  TaskSkeleton.tsx                          |      75 |      100 |       0 |      75 | 13                                                                                                                  
  index.tsx                                 |   45.77 |    42.24 |   51.61 |   47.03 | 129-136,140-166,170-204,227-241,262-272,283-291,298-305,315-336,342-343,351-371,382,389,396,418,440-464,508,599-619 
  useBoard.tsx                              |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                         
  useClearCacheTask.ts                      |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                               
 common/components/CardDetails              |    90.9 |        0 |      50 |      90 |                                                                                                                     
  index.tsx                                 |    90.9 |        0 |      50 |      90 | 28                                                                                                                  
 common/components/DateRangePicker          |      80 |      100 |   33.33 |      80 |                                                                                                                     
  index.tsx                                 |      80 |      100 |   33.33 |      80 | 46-65                                                                                                               
 common/components/Page                     |     100 |      100 |     100 |     100 |                                                                                                                     
  PageBody.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeader.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderLeft.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderRight.tsx                       |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeading.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components/Table                    |   77.08 |    54.54 |   53.84 |   75.55 |                                                                                                                     
  PageSize.tsx                              |      90 |      100 |      50 |   88.88 | 26                                                                                                                  
  ShowingItemText.tsx                       |     100 |       50 |     100 |     100 | 16                                                                                                                  
  Table.tsx                                 |   68.75 |    54.83 |      50 |   67.74 | 63-65,69-71,120-126,171-172                                                                                         
 common/components/TextGroup                |     100 |      100 |     100 |     100 |                                                                                                                     
  TextGroup.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
 features/RequestTemplates                  |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |       50 |     100 |     100 | 18                                                                                                                  
 features/RequestTemplates/components       |   84.12 |       50 |    62.5 |    86.2 |                                                                                                                     
  RequestTemplateModal.tsx                  |     100 |      100 |     100 |     100 |                                                                                                                     
  RequestTemplateTable.tsx                  |   82.45 |       50 |      60 |    84.9 | 123,130,145-149,153                                                                                                 
 features/RequestTemplates/components/forms |   51.82 |       30 |   42.85 |   52.23 |                                                                                                                     
  RequestForm.tsx                           |   51.82 |       30 |   42.85 |   52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457                           
 features/Tasks                             |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks/components                  |   66.66 |       55 |   46.66 |   66.88 |                                                                                                                     
  RequestInput.tsx                          |   92.85 |       75 |     100 |    92.3 | 14                                                                                                                  
  TaskDetailModal.tsx                       |   45.56 |    43.24 |   28.57 |   46.47 | 64-65,83,97-105,110-119,126-164,174,223-325                                                                         
  TasksBoard.tsx                            |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                     
 features/auth/pages                        |   68.29 |    11.11 |      40 |   68.29 |                                                                                                                     
  Login.tsx                                 |   68.29 |    11.11 |      40 |   68.29 | 41,62-71,79-84,89-95                                                                                                
 features/report                            |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |       50 |     100 |     100 | 9                                                                                                                   
 features/report/components                 |   82.26 |       52 |      65 |   83.84 |                                                                                                                     
  DetailModal.tsx                           |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                           
  PostAndWFHTable.tsx                       |   77.31 |    51.11 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,241-284                                                                          
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
 features/requestDevices                    |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |       50 |     100 |     100 | 11                                                                                                                  
 features/requestDevices/components         |   77.71 |    61.97 |   61.53 |   78.57 |                                                                                                                     
  DetailModal.tsx                           |   82.35 |    69.56 |    62.5 |   83.87 | 44-45,66,74,213                                                                                                     
  MyRequestTable.tsx                        |      75 |    58.33 |   60.46 |   75.78 | 218,225,252-253,257-258,262-266,270-287,308-460                                                                     
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement                    |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                 |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement/components         |   57.96 |    43.24 |   34.78 |   57.14 |                                                                                                                     
  RowAction.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  UserForm.tsx                              |   22.64 |        0 |       0 |   22.64 | 30-243                                                                                                              
  UserManagementTable.tsx                   |   77.38 |       64 |   51.72 |   78.94 | 70,82-91,166,173,182-184,188,203-230                                                                                
  UserModal.tsx                             |      50 |        0 |       0 |   45.45 | 27-55                                                                                                               
 hooks                                      |      90 |        0 |   83.33 |      90 |                                                                                                                     
  useCurrentUser.ts                         |      90 |        0 |     100 |      90 | 9                                                                                                                   
  useDebounced.ts                           |      90 |      100 |      75 |      90 | 7                                                                                                                   
 stores                                     |   35.29 |      100 |       0 |   38.46 |                                                                                                                     
  appConfig.ts                              |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                               
 themes                                     |     100 |      100 |     100 |     100 |                                                                                                                     
  drawerTheme.ts                            |     100 |      100 |     100 |     100 |                                                                                                                     
  menuTheme.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  theme.ts                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 utils                                      |   77.51 |    62.96 |   62.22 |   75.16 |                                                                                                                     
  convertToCase.ts                          |     100 |      100 |     100 |     100 |                                                                                                                     
  dateUtils.ts                              |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                                  
  extractContent.ts                         |   71.42 |    57.14 |     100 |   66.66 | 8-11                                                                                                                
  formatDate.ts                             |     100 |      100 |     100 |     100 |                                                                                                                     
  getDayAgo.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  getStatusByIndex.ts                       |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                               
  handleExportExcelFile.ts                  |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                               
  index.ts                                  |     100 |      100 |   52.94 |     100 |                                                                                                                     
  isObjectEmpty.ts                          |      80 |    66.66 |     100 |      75 | 5                                                                                                                   
  isValidJson.ts                            |      25 |        0 |       0 |   14.28 | 2-10                                                                                                                
  localStorage.ts                           |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                             
  parseJwt.ts                               |   16.66 |        0 |       0 |      10 | 2-18                                                                                                                
  subtractTime.ts                           |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                               
  validateWFHDates.ts                       |     100 |      100 |     100 |     100 |                                                                                                                     
  validationSchema.ts                       |     100 |      100 |     100 |     100 |                                                                                                                     
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 1 week ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   65.13 |    46.43 |    47.9 |   64.93 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   85.45 |    39.32 |   73.68 |   84.96 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  OverflowText.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  textTooltip.tsx                            |   86.66 |    73.68 |     100 |   86.66 | 40-41,57,65                                                                                                     
 common/components/Boards                    |   51.98 |    44.21 |   47.72 |   52.74 |                                                                                                                 
  ListTask.tsx                               |    61.6 |       40 |   52.94 |   62.29 | 92-93,98-109,243-335,371-374,382-411,428,439,481-555                                                            
  ModalBoard.tsx                             |   62.85 |     42.3 |   33.33 |   62.85 | 79,85,89-112,120-130,212                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.72 |     45.9 |   47.22 |   44.88 | 139-146,150-183,187-221,248-262,283-293,304-318,325-338,348-369,375-376,384-405,416,423,430,454-478,527,625-645 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |      80 |      100 |   33.33 |      80 |                                                                                                                 
  index.tsx                                  |      80 |      100 |   33.33 |      80 | 46-65                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   75.43 |    53.48 |   43.75 |   74.07 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   67.56 |    53.65 |   41.66 |   66.66 | 74-76,80-82,134-185,214-215                                                                                     
  TableSkeleton.tsx                          |      75 |      100 |       0 |      75 | 4                                                                                                               
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   57.63 |    43.75 |   25.71 |   58.39 |                                                                                                                 
  ExportImportJson.tsx                       |      25 |        0 |       0 |      25 | 23-58                                                                                                           
  RequestTemplateTable.tsx                   |   63.96 |       50 |      30 |   65.71 | 89-92,97-101,105-107,111-112,158-178,216,223,238-242,246-249,253,326-361                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   42.02 |    23.85 |   27.08 |   42.46 |                                                                                                                 
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   36.11 |        0 |       0 |   36.11 | 52-221                                                                                                          
  ImportJsonForm.tsx                         |   16.27 |        0 |       0 |   17.07 | 29-92                                                                                                           
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.48 | 89-96,107-133,140-142,146-154,169-180,194-197,204-207,214-241,285-320,346,391-404,432-473                       
 features/RequestTemplates/components/modals |      96 |      100 |      75 |   95.23 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  ImportJsonModal.tsx                        |   83.33 |      100 |       0 |      80 | 23                                                                                                              
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   63.11 |    53.08 |   38.09 |   63.59 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   50.32 |    44.82 |   23.07 |   51.72 | 109-110,147-149,152-154,158-175,182-198,202-206,225,239-247,263-272,284-294,298-311,321-339,358,406-553         
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,155-161,172,186,201-251,281                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |       52 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    51.11 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,234-272                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   73.24 |     59.4 |   54.41 |    75.6 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   78.16 |       60 |   60.46 |   79.23 | 270,277,304-305,309-310,314-317,321-329,343-497                                                                 
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   58.22 |       40 |   36.17 |   57.43 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   22.64 |        0 |       0 |   22.64 | 30-243                                                                                                          
  UserManagementTable.tsx                    |   77.64 |    60.86 |   53.33 |   79.22 | 69,81-90,171,178,187-189,193,208-235                                                                            
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |    82.7 |    57.69 |   68.08 |   80.98 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   58.82 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   94.11 |        0 |     100 |   94.11 | 21                                                                                                              
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 4 days ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   64.57 |     45.6 |   47.25 |   64.31 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   85.45 |    39.32 |   73.68 |   84.96 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  OverflowText.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  textTooltip.tsx                            |   86.66 |    73.68 |     100 |   86.66 | 40-41,57,65                                                                                                     
 common/components/Boards                    |   51.62 |    44.38 |   47.72 |   52.36 |                                                                                                                 
  ListTask.tsx                               |   60.46 |    38.63 |   52.94 |   61.11 | 92-93,98-109,148-150,253-345,381-384,392-421,438,449,491-565                                                    
  ModalBoard.tsx                             |   62.85 |     42.3 |   33.33 |   62.85 | 79,85,89-112,120-130,212                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.47 |    46.77 |   47.22 |   44.64 | 138-145,149-182,186-220,247-261,282-292,303-317,324-337,347-368,374-375,383-404,415,422,429,453-477,526,624-644 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |      80 |      100 |   33.33 |      80 |                                                                                                                 
  index.tsx                                  |      80 |      100 |   33.33 |      80 | 46-65                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   75.86 |    53.48 |   43.75 |   74.54 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.42 |    53.65 |   41.66 |   67.56 | 80-82,86-88,140-191,220-221                                                                                     
  TableSkeleton.tsx                          |      75 |      100 |       0 |      75 | 4                                                                                                               
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   57.63 |    43.75 |   25.71 |   58.39 |                                                                                                                 
  ExportImportJson.tsx                       |      25 |        0 |       0 |      25 | 23-58                                                                                                           
  RequestTemplateTable.tsx                   |   63.96 |       50 |      30 |   65.71 | 89-92,97-101,105-107,111-112,158-178,216,223,238-242,246-249,253,326-361                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |    40.5 |    22.41 |   24.07 |   40.65 |                                                                                                                 
  ColorSettingForm.tsx                       |   22.72 |        0 |       0 |   19.04 | 15-43                                                                                                           
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   36.11 |        0 |       0 |   36.11 | 55-225                                                                                                          
  ImportJsonForm.tsx                         |   16.27 |        0 |       0 |   17.07 | 29-92                                                                                                           
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.48 | 89-96,107-133,140-142,146-154,169-180,194-197,204-207,214-241,285-320,346,391-404,432-473                       
 features/RequestTemplates/components/modals |   93.54 |        0 |      60 |   92.59 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |    92.3 |        0 |      50 |   91.66 | 37                                                                                                              
  ImportJsonModal.tsx                        |   83.33 |      100 |       0 |      80 | 23                                                                                                              
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   63.11 |    53.08 |   38.09 |   63.59 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   50.32 |    44.82 |   23.07 |   51.72 | 109-110,147-149,152-154,158-175,182-198,202-206,225,239-247,263-272,284-294,298-311,321-339,358,406-553         
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,155-161,172,186,201-251,281                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |       52 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    51.11 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,234-272                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   72.41 |    58.09 |   54.41 |   74.64 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   76.71 |     57.4 |   60.46 |   77.61 | 134-136,277,284,311-312,316-317,321-324,328-336,350-504                                                         
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   56.88 |    35.71 |   35.41 |   56.05 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   22.64 |        0 |       0 |   22.64 | 30-243                                                                                                          
  UserManagementTable.tsx                    |    73.4 |       50 |   51.61 |   74.41 | 69,81-90,129-139,190,197,206-208,212,227-254                                                                    
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |    82.7 |    57.69 |   68.08 |   80.98 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   58.82 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   94.11 |        0 |     100 |   94.11 | 21                                                                                                              
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 3 days ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   64.62 |    46.16 |   47.34 |   64.37 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |    85.8 |     41.3 |   73.68 |   85.33 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  OverflowText.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  textTooltip.tsx                            |   88.88 |    77.27 |     100 |   88.88 | 35,51,59                                                                                                        
 common/components/Boards                    |   51.62 |    45.22 |   47.72 |   52.36 |                                                                                                                 
  ListTask.tsx                               |   60.46 |    38.63 |   52.94 |   61.11 | 92-93,98-109,148-150,253-345,381-384,392-421,438,449,491-565                                                    
  ModalBoard.tsx                             |   62.85 |     42.3 |   33.33 |   62.85 | 79,85,89-112,120-130,212                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.47 |    48.03 |   47.22 |   44.64 | 141-148,152-185,189-223,250-264,285-295,306-320,327-340,350-371,377-378,386-407,418,425,432,456-480,532,630-650 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |      80 |      100 |   33.33 |      80 |                                                                                                                 
  index.tsx                                  |      80 |      100 |   33.33 |      80 | 46-65                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   75.86 |    53.48 |   43.75 |   74.54 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.42 |    53.65 |   41.66 |   67.56 | 80-82,86-88,140-191,220-221                                                                                     
  TableSkeleton.tsx                          |      75 |      100 |       0 |      75 | 4                                                                                                               
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   57.63 |    38.88 |   25.71 |   58.39 |                                                                                                                 
  ExportImportJson.tsx                       |      25 |        0 |       0 |      25 | 23-61                                                                                                           
  RequestTemplateTable.tsx                   |   63.96 |       50 |      30 |   65.71 | 89-92,97-101,105-107,111-112,158-178,216,223,238-242,246-249,253,326-361                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   40.64 |       23 |   24.07 |    40.8 |                                                                                                                 
  ColorSettingForm.tsx                       |    23.8 |        0 |       0 |      20 | 15-41                                                                                                           
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   36.11 |        0 |       0 |   36.11 | 55-225                                                                                                          
  ImportJsonForm.tsx                         |   16.27 |        0 |       0 |   17.07 | 29-93                                                                                                           
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.48 | 89-96,107-133,140-142,146-154,169-180,194-197,204-207,214-241,285-320,346,391-404,432-473                       
 features/RequestTemplates/components/modals |   93.93 |       50 |   66.66 |    93.1 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |   93.33 |       50 |   66.66 |   92.85 | 37                                                                                                              
  ImportJsonModal.tsx                        |   83.33 |      100 |       0 |      80 | 23                                                                                                              
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   63.11 |    53.08 |   38.09 |   63.59 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   50.32 |    44.82 |   23.07 |   51.72 | 109-110,147-149,152-154,158-175,182-198,202-206,225,239-247,263-272,284-294,298-311,321-339,358,406-553         
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,155-161,172,186,201-251,281                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |       52 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    51.11 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,234-272                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   72.41 |    58.09 |   54.41 |   74.64 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   76.71 |     57.4 |   60.46 |   77.61 | 134-136,277,284,311-312,316-317,321-324,328-336,350-504                                                         
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   56.88 |    35.71 |   35.41 |   56.05 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   22.64 |        0 |       0 |   22.64 | 30-243                                                                                                          
  UserManagementTable.tsx                    |    73.4 |       50 |   51.61 |   74.41 | 69,81-90,129-139,190,197,206-208,212,227-254                                                                    
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |    82.7 |    57.69 |   68.08 |   80.98 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   58.82 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   94.11 |        0 |     100 |   94.11 | 21                                                                                                              
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 3 days ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   64.62 |    46.16 |   47.34 |   64.37 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |    85.8 |     41.3 |   73.68 |   85.33 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  OverflowText.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  textTooltip.tsx                            |   88.88 |    77.27 |     100 |   88.88 | 35,51,59                                                                                                        
 common/components/Boards                    |   51.62 |    45.22 |   47.72 |   52.36 |                                                                                                                 
  ListTask.tsx                               |   60.46 |    38.63 |   52.94 |   61.11 | 92-93,98-109,148-150,253-345,381-384,392-421,438,449,491-565                                                    
  ModalBoard.tsx                             |   62.85 |     42.3 |   33.33 |   62.85 | 79,85,89-112,120-130,212                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.47 |    48.03 |   47.22 |   44.64 | 141-148,152-185,189-223,250-264,285-295,306-320,327-340,350-371,377-378,386-407,418,425,432,456-480,532,630-650 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |      80 |      100 |   33.33 |      80 |                                                                                                                 
  index.tsx                                  |      80 |      100 |   33.33 |      80 | 46-65                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   75.86 |    53.48 |   43.75 |   74.54 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.42 |    53.65 |   41.66 |   67.56 | 80-82,86-88,140-191,220-221                                                                                     
  TableSkeleton.tsx                          |      75 |      100 |       0 |      75 | 4                                                                                                               
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |   57.63 |    38.88 |   25.71 |   58.39 |                                                                                                                 
  ExportImportJson.tsx                       |      25 |        0 |       0 |      25 | 23-61                                                                                                           
  RequestTemplateTable.tsx                   |   63.96 |       50 |      30 |   65.71 | 89-92,97-101,105-107,111-112,158-178,216,223,238-242,246-249,253,326-361                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   40.64 |       23 |   24.07 |    40.8 |                                                                                                                 
  ColorSettingForm.tsx                       |    23.8 |        0 |       0 |      20 | 15-41                                                                                                           
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   36.11 |        0 |       0 |   36.11 | 55-225                                                                                                          
  ImportJsonForm.tsx                         |   16.27 |        0 |       0 |   17.07 | 29-93                                                                                                           
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.48 | 89-96,107-133,140-142,146-154,169-180,194-197,204-207,214-241,285-320,346,391-404,432-473                       
 features/RequestTemplates/components/modals |   93.93 |       50 |   66.66 |    93.1 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |   93.33 |       50 |   66.66 |   92.85 | 37                                                                                                              
  ImportJsonModal.tsx                        |   83.33 |      100 |       0 |      80 | 23                                                                                                              
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   63.11 |    53.08 |   38.09 |   63.59 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |   50.32 |    44.82 |   23.07 |   51.72 | 109-110,147-149,152-154,158-175,182-198,202-206,225,239-247,263-272,284-294,298-311,321-339,358,406-553         
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,155-161,172,186,201-251,281                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |       52 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    51.11 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,234-272                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   72.41 |    58.09 |   54.41 |   74.64 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   76.71 |     57.4 |   60.46 |   77.61 | 134-136,277,284,311-312,316-317,321-324,328-336,350-504                                                         
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   56.88 |    35.71 |   35.41 |   56.05 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   22.64 |        0 |       0 |   22.64 | 30-246                                                                                                          
  UserManagementTable.tsx                    |    73.4 |       50 |   51.61 |   74.41 | 69,81-90,129-139,190,197,206-208,212,227-254                                                                    
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |    82.7 |    57.69 |   68.08 |   80.98 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   58.82 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   94.11 |        0 |     100 |   94.11 | 21                                                                                                              
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------