Skip to content

Conversation

@monikMononoke
Copy link
Collaborator

Feature: Embalse Search Component

  • Added a new EmbalseSearch component that provides an autocomplete search box for Spanish reservoirs using the downshift library. This component fetches reservoir data from a mock API, filters results based on user input, and displays suggestions in a dropdown. (front/src/pods/embalse-search/embalse-search.tsx)

API and Data Model Setup

  • Defined the Embalse interface and created a mock data set (embalseSearchMock)
  • Implemented a mock API function getEmbalsesCollection to retrieve the list of reservoirs.
  • Added an EmbalseSearchModel interface to represent search results, including a slug and display name.

Project Structure and Configuration

  • Exported new modules and APIs for embalse search to streamline imports and maintainability. (front/src/pods/embalse-search/index.ts)

Code Cleanup

  • Removed an unused export of reservoir.model from the common models index to avoid confusion. (front/src/common/models/index.ts)

@brauliodiez brauliodiez merged commit 304a063 into main Feb 4, 2026
1 check passed
@brauliodiez brauliodiez deleted the Feature/#70-implement-typehead-on-home-page branch February 4, 2026 13:45
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.

3 participants