Skip to content

feat: reposition clear all filters button to home screen header next to search input #1081#1356

Open
DeepeshKafalatiya wants to merge 4 commits into
SB2318:mainfrom
DeepeshKafalatiya:feature/reposition-explore-filters
Open

feat: reposition clear all filters button to home screen header next to search input #1081#1356
DeepeshKafalatiya wants to merge 4 commits into
SB2318:mainfrom
DeepeshKafalatiya:feature/reposition-explore-filters

Conversation

@DeepeshKafalatiya

Copy link
Copy Markdown
Contributor

PR Description

This PR repositions the "Clear All" action trigger directly into the HomeScreenHeader component, placing it adjacent to the main search articles input field. This change enhances the discoverability of the filter reset action and streamlines the search workflow for users.

Key Changes:

  • Integrated conditional rendering for the "Clear All" button (hasActiveFilters && onFilterReset) right next to the search <Input /> field inside HomeScreenHeader.tsx.
  • Handled state resetting appropriately to ensure clicking the button clears active search parameters instantly.
  • Removed layout redundancy while maintaining consistency with the Tamagui styling framework.

Type of Change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update

Select your work-area

  • Frontend
  • Backend
  • Documentation
  • Others

Related Issue

NA

Add your Work Example

image

Fixes (mention the issue number which this fixes)

closes #1081

Checklist

  • I have updated my branch and synced it with the project's 'develop' branch before making this PR.
  • I have optimized the file changes.
  • I have added a snapshot of my work example.
  • I have made a PR to the project's develop branch.

Undertaking

  • My code follows the style guidelines of this project.

  • I have performed a self-review of my code.

  • I have commented my code, particularly in hard-to-understand areas.

  • I have made corresponding changes to the documentation.

  • I have checked for plagiarism and assure its authenticity.

  • I have read and followed the code of conduct for this repository. I understand that violation of this undertaking may have legal consequences.

  • I Agree

@github-actions

Copy link
Copy Markdown
Contributor

Thank you @, for creating the PR and contributing to our UltimateHealth project 💗.
Our team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@gitguardian

gitguardian Bot commented Jun 10, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
33770449 Triggered Google Cloud Express API Key 84d1f3e frontend/.env.example View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@DeepeshKafalatiya DeepeshKafalatiya force-pushed the feature/reposition-explore-filters branch from 45b5aa1 to 1711a18 Compare June 10, 2026 13:56
@DeepeshKafalatiya DeepeshKafalatiya changed the title feat: reposition clear all filters button to home screen header next to search input feat: reposition clear all filters button to home screen header next to search input #1081 Jun 10, 2026
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.

💡[UI/UX]: Reposition"Clear All" or "Reset Filters" Button in the Article Search/Explore Screen

1 participant