Skip to content

Searchbar functionality#21

Merged
Dinoxh merged 5 commits intomainfrom
searchbar-functionality
Apr 3, 2025
Merged

Searchbar functionality#21
Dinoxh merged 5 commits intomainfrom
searchbar-functionality

Conversation

@Dinoxh
Copy link
Copy Markdown
Collaborator

@Dinoxh Dinoxh commented Apr 3, 2025

No description provided.

@Dinoxh Dinoxh requested review from Copilot and jkluge and removed request for jkluge April 3, 2025 14:36
@emyemy89 emyemy89 closed this Apr 3, 2025
@emyemy89 emyemy89 reopened this Apr 3, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces enhancements to the searchbar functionality and integrates a favourites feature across views and the model.

  • Updated SearchbarView to include a favourites toggle, new project logo, and improved sign in/out UI.
  • Modified ListView to support a "read more" toggle for course descriptions and favourites actions.
  • Updated presenters and model to manage search results and favourites.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
my-app/src/views/SearchbarView.jsx Updated UI elements, added favourites toggle, and refactored search logic.
my-app/src/views/ListView.jsx Added "read more" functionality and integrated favourites actions.
my-app/src/views/Components/FavouriteDropdown.jsx Introduced a new dropdown component to display favourite courses.
my-app/src/presenters/SearchbarPresenter.jsx Passed new searchCourses and favourites-related props to SearchbarView.
my-app/src/presenters/ListViewPresenter.jsx Updated prop handling for courses, search results, and favourites.
my-app/src/model.js Revised currentSearch type and added methods to manage favourites.

Dinoxh and others added 2 commits April 3, 2025 16:39
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Dinoxh Dinoxh merged commit a270e9b into main Apr 3, 2025
1 check 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.

4 participants