# Blockers

## App
- Client application

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/210
### Why this task is blocked:
- This task is currently blocked, mainly because client registration via social logins is blocked. To create a business, we require a business name, and with social sign-up we don’t have a screen to capture that information. Because of this, the flow cannot be completed.
- The best option, in my opinion, is to allow Google and Apple sign-in only for existing users, and not use them for new user registration.

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/257
### Why this task is blocked:
- Although this page existed in the prototype, it was not connected to any other pages. In other words, there was no way to navigate to it from anywhere in the application. Therefore, this issue can be closed, as the page is not required in the main application.

## App
- Staff application

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/249
### Why this task is blocked:
- Although this page existed in the prototype, it was not connected to any other pages. In other words, there was no way to navigate to it from anywhere in the application. Therefore, this issue can be closed, as the page is not required in the main application.

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/262
### Why this task is blocked:
- Although this page existed in the prototype, it was not connected to any other pages. In other words, there was no way to navigate to it from anywhere in the application. Therefore, this issue can be closed, as the page is not required in the main application.

# Deviations

## App
- Client Application

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/240
### Deveations:
- In the web prototype, when creating an order, position role rates are displayed based on the selected vendor. This behavior was missing in the mobile prototype. Therefore, we added a dropdown to select the vendor and display the corresponding role rates based on that selection.

# Points to considerate in the future
- client APP:
    - Billing need to download a pdf of their invoice.
    - On app launch, check whether there is an active session. If a valid session exists, skip the auth flow and navigate directly to Home, loading business account.
    - Add an expiration time (TTL) to the session (store expiresAt / expiryTimestamp) and invalidate/clear the session when it has expired.
    - Rapid order need IA to work, I think we need also to add a form as the webpage.
- Staff APP:
    - On app launch, check whether there is an active session. If a valid session exists, skip the auth flow and navigate directly to Home, loading Staff account.
    - Add an expiration time (TTL) to the session (store expiresAt / expiryTimestamp) and invalidate/clear the session when it has expired.
    - For staffs Skills = Roles? thinking in the future for the smart assigned that need to know the roles of staff to assign.

## App
- Staff Application

### Github issue
- https://github.com/Oloodi/krow-workforce/issues/248
### Deveations:
- Assumed that a worker can only have one shift per day.
