Skip to content

feat: updated GoBuild app UI and integrated new backend APIs#1

Open
code-with-zoro wants to merge 1 commit into
GoBuildOrg:mainfrom
code-with-zoro:feature/app-updates
Open

feat: updated GoBuild app UI and integrated new backend APIs#1
code-with-zoro wants to merge 1 commit into
GoBuildOrg:mainfrom
code-with-zoro:feature/app-updates

Conversation

@code-with-zoro
Copy link
Copy Markdown

Summary

Implemented structural improvements and new features in the GoBuild mobile application to improve code organization, worker task management, and live location tracking.

Code Structure Improvements

Refactored major screens into modular components for better readability and maintainability.

Profile Screen

  • Split into:

    • ProfileScreen
    • JobModals
    • ProfileStyle

Home Screen

  • Split into:

    • HomeScreen
    • HomeScreenModals
    • HomeScreenStyles

This separation improves code flow, readability, and future scalability.

Features Added

Profile Screen Enhancements

  • Improved UI to make the profile screen more user-friendly.

  • Task status tracking with three categories:

    • Pending Tasks
    • Tasks In Progress
    • Completed Tasks
  • Added calendar functionality to highlight tasks date-wise.

  • Updated Job Card with task management features:

    • Start Task
    • Take Break
    • End Task
  • Implemented a timer system intended to track the actual work duration of tasks.

Home Screen Features

  • Implemented live worker location updates at fixed intervals or on manual refresh.

  • Added a toggle button to set worker status:

    • Active – Worker can accept tasks and location updates are sent.
    • Inactive – Worker cannot accept tasks and location updates are disabled.

Files Added

  • JobModals
  • ProfileScreen
  • ProfileStyle
  • HomeScreen
  • HomeScreenModals
  • HomeScreenStyles

Testing

  • Tested locally on development build.

  • Verified UI functionality and screen flow.

  • Tested task status transitions and timer behavior.

  • Verified location update logic and worker activity toggle.

Notes

These updates improve the usability of the worker dashboard and restructure the codebase for better maintainability. Ready for review and feedback.

image image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant