Price Filters - #7
Open
darkzmaj wants to merge 8 commits into
Open
Conversation
- Added new Price filter card with 3 options: All Prices, Free Only, Premium Only - Implemented filtering logic based on minimum platform price - Integrates seamlessly with existing search and type filters - No backend API changes required
…emplate binding; ensure paid-only/free-only filtering
Replace arrow functions with proper ProxyServerOptions objects for devProxy configuration
There was a problem hiding this comment.
Pull request overview
This PR adds price filtering functionality to the browse page, allowing users to filter extensions by pricing (free vs paid). Additionally, it includes improvements to the development proxy configuration to support switching between local and remote API targets via environment variables.
- Adds a price filter slider to the browse page that toggles between showing only free or only paid extensions
- Implements helper functions
getMinPriceandisFreeto determine extension pricing based on platform prices - Updates dev proxy configuration to use
DEV_API_TARGETenvironment variable for flexible API targeting
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| apps/frontend/src/pages/browse/index.vue | Adds price filtering logic with maxPrice field, getMinPrice and isFree helper functions, and price-based filtering in computed property |
| apps/frontend/src/components/ui/browse/Filters.vue | Implements price filter UI with range slider component and custom styling for slider thumb and track |
| apps/frontend/nuxt.config.ts | Updates dev proxy configuration to use DEV_API_TARGET environment variable with fallback to localhost |
| apps/frontend/.env.example | Documents the new DEV_API_TARGET environment variable with default value |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ready to merge