Frontend/job details page - #161
Merged
Kaylahray merged 30 commits intoJun 4, 2026
Merged
Conversation
Kaylahray
requested changes
Jun 1, 2026
Kaylahray
left a comment
Contributor
There was a problem hiding this comment.
Hello @akprinciple Please resolve conflicts n workflow
Contributor
Author
|
@Kaylahray Conflict resolved |
Contributor
|
@akprinciple Please help fix, Left u a message on the other PR |
Contributor
Author
|
@Kaylahray fixed |
Contributor
|
Please run pnpm build and pnpm lint, your workflow fails @akprinciple on both Prs |
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.
feat(frontend): add job details page
closes #88
Description
This PR introduces a dedicated dynamic route for the job details page. It allows artisans to click on a specific job from the listings and view comprehensive information about the job before deciding to apply.
User Story
As an artisan,
I want to inspect full job details,
so that I can make informed apply decisions.
Changes Made
src/app/(dashboard)/artisan/jobs/[id]/page.tsx.asyncroute params handling to fetch job data dynamically based on the URLid.decodeURIComponentand.toLowerCase()to handle edge cases like spaces and case mismatches.notFound()to gracefully handle invalid or missing job IDs by rendering a 404 state.Acceptance Criteria
Notes for Reviewers
Currently, the data is being fetched from the
dummyjobs.tsfile. The "Apply now" button is intentionally left without anonClickhandler as this is a Server Component; it will be extracted into a Client Component in a future PR once the application flow is implemented.