Skip to content

Per-user saved jobs fixed + polished Jobs UI with styling and tests#63

Merged
AchsahJojo merged 1 commit intomainfrom
JobListingPage-Setup
Sep 23, 2025
Merged

Per-user saved jobs fixed + polished Jobs UI with styling and tests#63
AchsahJojo merged 1 commit intomainfrom
JobListingPage-Setup

Conversation

@kassandrabeas5
Copy link
Copy Markdown
Collaborator

  • Auth

    • Exported useAuth() from context/AuthProvider for easy access to username/token
    • Register now calls login(...) after creating a user; Login continues to call login(...)
  • Jobs page UX/UI

    • Styled to team palette (white bg, #00A7E1 primary, #00171F text, etc.)
    • Kept query chip showing the active category
  • Saved Jobs page UI

    • Styled cards, improved spacing, added clear “View Posting” and “Remove” actions
  • Tests

    • Updated jobs.test to match new UI (chip, heart toggle via testID)
    • Added savedJobs.test to verify hydrate/add/remove/isSaved with user-scoped storage
    • Added adzuna.test (happy path + error path with mocked fetch)
    • Test setup: mock Linking + AsyncStorage to avoid native warnings

@kassandrabeas5 kassandrabeas5 requested review from AchsahJojo and connorobro and removed request for AchsahJojo September 22, 2025 18:54
@kassandrabeas5 kassandrabeas5 changed the title Per-user saved jobs fixed + polished Jobs UI with styling(hearts, category filter) and tests Per-user saved jobs fixed + polished Jobs UI with styling and tests Sep 22, 2025
@AchsahJojo AchsahJojo merged commit 10b6d85 into main Sep 23, 2025
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.

2 participants