# RelianceHMO Frontend Developer Assessment Grading ## Candidate Info: **Name**: Adaeze Odurukwe ## Final Score 43 / 120 ( 35.83% ) ## Score Breakdown |**Question** | **Expections** | **Score**| |----|------------------------------------------------------|---| | Q1 | Search works for query strings | 5 | | | Catch no result | 3 | | | Case sensitive | 5 | | | Works for arrays | 5 | | | | | | Q2 | Filter Works | 5 | | | Case insensitive | 0 | | | Reset when search is empty / provides a clear button | 5 | | | Updates UI on keypress (Reactive search) | 5 | | | Debounce on keypress | 0 | | | Show loader while filtering | 0 | | | | | | Q3 | Search Works | 5 | | | Debounce on keypress | 0 | | | Shows "no result" when search returns nothing. | 2 | | | Clear search when input is empty | 0 | | | Dropdown Items should be clickable | 0 | | | UI works appropriately | 0 | | | | | | Q4 | Successful Submission | 0 | | | Successful Image Upload | 0 | | | Render uploaded image in placeholder | 0 | | | Show loader while submitting | 0 | | | Update UI after submission | 0 | | | | | | Q5 | Maintain Layout on new route | 0 | | | Add onClick to dropdown and provider grid. | 3 | | | Style Page :D | 0 | --- ## Expectations / Comments: ### Task 1 : - None ### Task 2: - Lost points cause filter isn't case insensitive. - Filter should've been debounced for performance reasons i.e a delay should've been observed before performing filter, instead of performing it on every keypress. ### Task 3: - Search should've been debounced for performance reasons i.e a delay should've been observed, to gather a considerable amount of input first, before performing search, instead of performing it on every keypress. This helps in reducing the amount of times a request is send to the server. - Lost points for not styling the dropdown appropriately. P.s styles were already available in App.scss. - "No result" shows regardless of whether or not a search input was added. ### Task 4: - Lost points for not sizing the image after successul upload. - Lost points for not showing any submission indicator i.e a loading screen. Seems like you had plans to though. - Form submission not working. ### Task 5: - Throws an error when provider is clicked. Not even sure why there's an onClick function there. - Lost points for not navigation to new route on clicking the autocomplete dropdown.