Add search icon to Explore More Content section in podcast details #1145
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#979
This PR addresses the missing search icon in the "More" tab under the Podcast section. The "Explore More Content" section on the podcast details page now includes a search icon in the top-right corner that allows users to search for podcasts and navigate back to the main podcasts page with filtered results.
Fixes the missing search icon issue in podcast details page
Type of Change
Bug fix (non-breaking change that fixes an issue)
New feature (e.g., new page, component, or functionality)
UI/UX improvement (design, layout, or styling updates)
Performance optimization (e.g., code splitting, caching)
Documentation update (README, contribution guidelines, etc.)
Other (please specify):
Changes Made
Added a search icon (🔍) in the top-right corner of the "Explore More Content" section in details.tsx
Implemented toggle functionality for the search bar
Added search input field with submit functionality
Updated navigation to pass search terms to the main podcasts page
Modified index.tsx to handle search terms from location state
Added corresponding CSS styles in details.css for the search icon and bar
Fixed TypeScript errors by properly typing the location state
Dependencies
No new dependencies were added
No version updates required
Checklist
My code follows the style guidelines of this project.
I have tested my changes across major browsers and devices
My changes do not generate new console warnings or errors.
I ran npm run build and the project compiles successfully.
This addresses an existing issue that was assigned to me.
ScreenShot
Light
Dark