Skip to content

feat: add asset code filter for campaign discovery - #44

Merged
ritik4ever merged 3 commits into
ritik4ever:mainfrom
Escelit:feat/asset-code-filter
Mar 27, 2026
Merged

feat: add asset code filter for campaign discovery#44
ritik4ever merged 3 commits into
ritik4ever:mainfrom
Escelit:feat/asset-code-filter

Conversation

@Escelit

@Escelit Escelit commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Added a client-side asset filter dropdown to the campaign board. No new API endpoints or data models needed.

Changes

campaignsTableUtils.ts — two pure utility functions: getDistinctAssetCodes (deduplicates and sorts asset codes from campaign data) and applyFilters (applies asset + status predicates simultaneously)
AssetFilterDropdown.tsx — new controlled component, defaults to "All assets", disabled when no campaigns are loaded CampaignsTable.tsx — wired up filter state, derived options, combined filtering logic, and empty-state messaging CreateCampaignForm.tsx — fixed missing useEffect import (pre-existing bug) Closes #2

@vercel

vercel Bot commented Mar 25, 2026

Copy link
Copy Markdown

@Escelit is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Mar 25, 2026

Copy link
Copy Markdown

@Escelit Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ritik4ever

Copy link
Copy Markdown
Owner

@Escelit please resolve the conflicts

@Escelit

Escelit commented Mar 26, 2026

Copy link
Copy Markdown
Contributor Author

@ritik4ever merge conflicts has been successfully resolved

@ritik4ever
ritik4ever merged commit 3e2da96 into ritik4ever:main Mar 27, 2026
0 of 2 checks 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.

Add Asset Code Filter For Campaign Discovery

2 participants