Skip to content

Add "Switch to Worker" Button on Welcome Onboard Screen #296

@ramshty

Description

@ramshty

Add "Switch to Worker" Button on Welcome Onboard Screen

Description

This issue tracks the implementation of a feature that allows users to switch to worker mode directly from the Welcome Onboard screen. The feature will be activated by clicking the "Switch to Worker" button, enabling a seamless transition to worker-specific functionality at the end of the registration process as a worker.


Acceptance Criteria

  • Add a "Switch to Worker" button on the Welcome Onboard screen.
  • Clicking the button updates the user's account status to worker in the backend.
  • The app transitions to worker mode with the appropriate UI and functionality.
  • Ensure smooth UI/UX and no errors during the transition.

Implementation Details

  • Backend Updates:
    • Implement the logic to update the user's account to worker mode upon button click.
  • UI Changes:
    • Add the "Switch to Worker" button on the Welcome Onboard screen.
    • Transition to worker-specific screens and enable related functionality.
  • State Management:
    • Manage the user's state to reflect the switch from user mode to worker mode seamlessly.

Testing Criteria

  • Test the button click functionality for:
    • Transitioning the app to worker mode.
    • Updating the backend user account status to worker.
  • Validate the UI responsiveness during the transition.
  • Check for any UI/UX issues or errors.

Additional Notes

  • This issue is linked to a future PR that will further enhance worker-specific features.
  • Ensure modular code for easier maintenance and scalability.

Linked PR

  • Add Worker Mode Switching on Welcome Screen (PR #XXX)

Metadata

Metadata

Assignees

Labels

backendRelated to backendenhancementMake an existing feature betterprio:lowThis issue or pull request is not a priority

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions