-
Notifications
You must be signed in to change notification settings - Fork 1
Main React Components (technical)
For hostView:
- Applied
- Interviewed
- Accepted
For candidateView:
- OpenRoles
- AppliedTo
Presentational component, needs state. Each has:
- Search bar, container component (allows to filter jobs by keyword) (?);
- Group of filter buttons, container component e.g.:
- candidates for a role (host view): successful, unsuccessful, in progress;
- roles (candidate view): applied for, match my skills (non-applied for);
- List of items (roles / candidates), presentational component.
Lists themselves will be presentational components, potentially renderable with a collapse/expand UI. They shouldn't need props, as they will render multiple children based on (hardcoded) db data, passed down to their children as props.
List items will be presentational components, receiving props from the parent list.
The list appears for a specific role, showing the candidates that are interested (i.e. have applied). Render a Bootstrap table row with the following table data:
- Candidate name w/ Link to profile (to open up modal)
- Profile photo, presentational component getting props from parent(s)
Each item in the list of offered roles (candidates view) will be a presentational component taking props, with:
- Role name (w/ Link to the role modal)
- Host name (w/ Link to their website)
- Salary
- # of applicants
- # available positions (?)
- # accepted candidates (?)
- Button to apply / or view status of application - container component
Each item in the list of offered roles (host view) will be a presentational component taking props, with:
- Role name (w/ Link to the role modal)
- # of applicants
- # available positions (?)
- # accepted candidates (?)
- List of candidates interested, each with
- Name (w/ link to open modal with profile) - presentational
- Update-candidate-status (Button?) (successful / interview / unsuccessful) - container component
Simple Container component - should take props (name) and return a name linked to a modal opening.
Simple Container component - should take props (text) and return a button for modal opening.
Presentational component, needs state. Appears when clicking on candidate name (w/ link).
Presentational component, needs state. Appears when clicking on role title (w/ link).
Container component. Overlaid on host page, when clicking on 'add role' button.
Container component. Overlaid on host page, when clicking on 'update role' button.
Presentational component, no props.
Presentational component, no props.