Skip to content

Overhaul the job board to use a new API from reactibot #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 30, 2025
Merged

Conversation

vcarl
Copy link
Member

@vcarl vcarl commented Jan 29, 2025

No description provided.

Copy link

what-the-diff bot commented Jan 29, 2025

PR Summary

  • Introduction of API Integrated Job Fetching
    We've added a new file (jobs.mts) dedicated to retrieving job data. It seamlessly connects with external APIs to get the information.

  • Improved Rate Limit Handling
    The existing discordIdentity.mts has been enhanced. It now suitably manages the rate limiting responses which are indicated by HTTP status 429.

  • Dependency Updates in Package.json File
    The dependencies in our package.json have been revised:

    • The @netlify/functions upgraded to ^3.0.0 from ^2.4.1.
    • @tanstack/react-query has been added to facilitate data fetching.
    • react and react-dom have been updated to ~18.
    • netlify-cli has been upgraded to ^18.0.2 from ^17.10.2.
  • Refactoring Job Search Component
    The JobSearch.js was replaced by JobSearch.tsx which uses a more advanced functional component, facilitating an improved way of managing hooks and state.

  • Enhancement of Discord Authentication
    DiscordAuth.tsx has been optimized with a new state for 'rateLimit' to respond aptly to any Discord rate limiting scenarios.

  • Improved Form Field Value Handling
    The handling of form field values during changes has been optimized in Form.js.

  • Enhanced Job Post Reaction Structure
    The Offer.js has been updated to improve the rendering of job post reactions. The reactions are now displayed in a more structured layout.

  • Newly Introduced 'Reaction' Component
    A new Reaction component is added, and it's styled in a similar fashion to the existing Tag.

  • Improved Data Fetching with "QueryClientProvider"
    The JobSearch has been incorporated into a QueryClientProvider in jobs.js to manage data fetching using react-query, improving the overall data management process.

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for reactiflux ready!

Name Link
🔨 Latest commit a2c08d9
🔍 Latest deploy log https://app.netlify.com/sites/reactiflux/deploys/679bf62033d2130008a40e74
😎 Deploy Preview https://deploy-preview-335--reactiflux.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@vcarl vcarl merged commit 54d2f0d into main Jan 30, 2025
6 checks passed
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