Frontend/integrate available jobs - #164
Open
akprinciple wants to merge 12 commits into
Open
Conversation
Kaylahray
requested changes
Jun 2, 2026
Kaylahray
left a comment
Contributor
There was a problem hiding this comment.
Hi please, @akprinciple resolve workflow
Contributor
Author
|
Conflict resolve @Kaylahray |
Contributor
Author
|
@Kaylahray kindly merge now. The wave is ending soon |
Contributor
|
@akprinciple not to worry you'll still get your points if I merge, Please fix your both PRs ,conflict and workflow Please |
Contributor
Author
|
@Kaylahray Both PR has been looked into, Thank you |
Contributor
|
Hey I was going to merge regardless but now u hv conflics here, please also help me run pnpm lint and pnpm build when you're resolving it so you cn fix the workflow @akprinciple |
Contributor
Author
|
@Kaylahray Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title: feat(frontend): integrate available jobs tab with API
closes #84
Description
This PR replaces the hardcoded
dummyjobsdata with dynamic, API-powered job listings on the Artisan Dashboard and Available Jobs tab.It introduces a new mock API endpoint to serve the data while removing local data dependencies from the frontend components. This sets up a clear path for future backend/database integration. Additionally, it fixes a minor race condition with the URL query parameters filtering inside the
JobCardcomponent.Related User Story
Key Changes
/api/jobs/listingsto serve available jobs data.page.tsx): Updated the artisan dashboard to fetch available jobs from the new API instead of using the local mock file. Added proper loading and error states.JobCard.tsx):dummyjobsimport with a client-sidefetchto/api/jobs/listings.loading,error, andactiveFilters.JobFilters.tsx): Cleaned up filter interactions to synchronize correctly with the URL search parameters and theJobCardstate.dummyjobs.ts): Added uniqueidproperties to the mock data interface so React can properly track list items by key.Acceptance Criteria
dummyjobsdependency remains in the available tab (JobCard.tsx/JobFilters.tsx)./api/jobs/listings).