| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| api.js | ||
| auth.js | ||
| boolean.js | ||
| dashboard.js | ||
| data.js | ||
| history.js | ||
| index.js | ||
| log.js | ||
| render.js | ||
| token.js | ||
| utils.js |
Overview: • Introduced a new “Model Tag” filter across pricing screens • Refactored `usePricingFilterCounts` to eliminate duplicated logic • Improved tag handling to be case-insensitive and deduplicated • Extended utilities to reset & persist the new filter Details: 1. Added `filterTag` state to `useModelPricingData` and integrated it into all filtering paths. 2. Created reusable `PricingTags` component using `SelectableButtonGroup`. 3. Incorporated tag filter into `PricingSidebar` and mobile `PricingFilterModal`, including reset support. 4. Enhanced `resetPricingFilters` (helpers/utils) to restore tag filter defaults. 5. Refactored `usePricingFilterCounts.js`: • Centralized predicate `matchesFilters` to remove redundancy • Normalized tag parsing via `normalizeTags` helper • Memoized model subsets with concise filter calls 6. Updated lints – zero errors after refactor. Result: Users can now filter models by custom tags with consistent UX, and internal logic is cleaner, faster, and easier to extend.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| api.js | Loading commit data... | |
| auth.js | Loading commit data... | |
| boolean.js | Loading commit data... | |
| dashboard.js | Loading commit data... | |
| data.js | Loading commit data... | |
| history.js | Loading commit data... | |
| index.js | Loading commit data... | |
| log.js | Loading commit data... | |
| render.js | Loading commit data... | |
| token.js | Loading commit data... | |
| utils.js | Loading commit data... |