dub icon indicating copy to clipboard operation
dub copied to clipboard

Add link feature filters to links UI and API

Open marcusljf opened this issue 1 week ago • 2 comments

Introduces link filtering by enabled features (e.g., conversion tracking, geo targeting, UTM tags) in both the API and the UI. Adds a utility to build Prisma where clauses for these features, updates Zod schemas to accept the new filter, and enhances the UI to allow users to filter links by feature with counts and icons.

Behaves similarly to the link tag filter.

CleanShot 2025-12-18 at 15 04 58@2x CleanShot 2025-12-18 at 15 05 04@2x CleanShot 2025-12-18 at 15 05 14@2x

https://github.com/user-attachments/assets/b581032c-944c-4134-bdda-682fefe50513

Summary by CodeRabbit

  • New Features
    • Added a new "Link feature" filter in the link management interface. Users can now filter links by their enabled features including conversion tracking, custom preview, geo-targeting, UTM tags, A/B testing, tags, comments, platform-specific targeting, expiration, password protection, link cloaking, and search engine indexing. Filter options display dynamic counts.

✏️ Tip: You can customize this high-level summary in your review settings.

marcusljf avatar Dec 18 '25 23:12 marcusljf