Skip to content

Conversation

@ramshty
Copy link
Collaborator

@ramshty ramshty commented Dec 20, 2024

Add Worker Mode Switching on Welcome Screen

Description

This PR introduces a new feature that allows users to switch to worker mode by clicking the "Switch to Worker" button on the Welcome Onboard screen at the end of the registration process as a worker.

Key Features

  • Seamless Worker Mode Activation:
    • Users can now activate worker mode directly from the Welcome Onboard screen.
    • The feature is triggered by clicking the "Switch to Worker" button.
  • Enhanced User Experience:
    • Provides a smooth transition from user mode to worker mode immediately after registration as a worker.

Implementation Details

  • Added a new button labeled "Switch to Worker" on the Welcome Onboard screen.
  • Implemented the logic to:
    • Update the user account to worker mode in the backend.
    • Transition the UI to worker-specific features and interfaces.
  • Integrated state management to handle the switch seamlessly.

Testing

  • Verified that clicking the "Switch to Worker" button successfully transitions to worker mode.
  • Ensured the backend updates the user's account status to worker.
  • Tested UI responsiveness and stability during the mode switch.

Screenshots

Add screenshots or GIFs of the feature in action if available.


Related Issues

Link any related issues here, if applicable.


Steps to Test

  1. Complete the registration process as a worker.
  2. On the Welcome Onboard screen, click the "Switch to Worker" button.
  3. Verify that:
    • The app transitions to worker mode.
    • Worker-specific features and interfaces are enabled.

Notes

  • The UI/UX for worker-specific functionality will be enhanced in subsequent PRs.
  • Further optimizations for the backend logic will follow in future updates.

@ramshty ramshty force-pushed the navigation/switch-backend branch from b728177 to 67db346 Compare December 20, 2024 07:03
@ramshty ramshty self-assigned this Dec 20, 2024
@ramshty ramshty added enhancement Make an existing feature better prio:low This issue or pull request is not a priority feature Add a new feature labels Dec 20, 2024
@ramshty ramshty added this to the Sprint 10 milestone Dec 20, 2024
@ramshty ramshty marked this pull request as ready for review December 20, 2024 07:55
@JitterKiller JitterKiller self-requested a review December 20, 2024 07:55
@Sebbayra Sebbayra requested review from Sebbayra and removed request for JitterKiller December 20, 2024 07:55
@sonarqubecloud
Copy link

Copy link
Collaborator

@Sebbayra Sebbayra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No Time

@JitterKiller JitterKiller self-requested a review December 20, 2024 07:56
@ramshty ramshty merged commit ece19e9 into main Dec 20, 2024
4 checks passed
@ramshty ramshty linked an issue Dec 20, 2024 that may be closed by this pull request
4 tasks
@JitterKiller JitterKiller deleted the navigation/switch-backend branch December 20, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Make an existing feature better feature Add a new feature prio:low This issue or pull request is not a priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Switch to Worker" Button on Welcome Onboard Screen

3 participants