-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor/companies dynamic #46
Conversation
β¦d from all but company name
nies spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a merge conflict that needs to be resolved, then ready to merge. Readable code and well done with the cypress tests.
application_url: string; | ||
contact_information: string; | ||
company_id: number; | ||
company_name?: string; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usage of an Interfaces file(and an api fetch file since it's the same idea) for all component usage is mega SRP. Perhaps an issue can be made to migrate all interfaces to this file?
{companyName} | ||
</td> | ||
<td className="p-4 border-b truncate max-w-[8vw]">{data.attributes.notes}</td> | ||
</tr> | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition/subtraction looks identical, unless I am mistaken. Nonetheless it makes sense.
Type of Change
Description
Overview
This PR introduces improved dynamic data handling for the Companies and Contacts modules. Updates include API-driven rendering, refactored Cypress tests for dynamic data, and UI enhancements for a better user experience.
Key Changes
Dynamic Contacts Integration
/companies/:id/contacts
API endpoint.CompanyShow
component to display fetched contact data.Dynamic Job Applications Integration
Enhanced Cypress Tests
Companies
andCompany Show
pages are updated to validate API-driven dynamic data.Form Enhancements
NewCompany
form fields for better usability.Cypress Test Refactoring
userId
for intercepts.GET /users/:id/job_applications
Motivation and Context
This fulfills the FE portion of #65
Added Test?
Checklist: