Add rideshare content filter and enhance FeedService filtering logic

- Introduced a new rideshare content filter in content-filters.ts, allowing for the categorization of rideshare requests and offers.
- Updated the FeedService to support filtering by tags and keywords, enhancing the ability to search and filter content based on user-defined criteria.
- Modified Home.vue to include the new rideshare filter preset, improving user access to rideshare-related content.

These changes enhance the content filtering capabilities and user experience within the NostrFeed module.
This commit is contained in:
padreug 2025-09-17 02:06:57 +02:00
parent 005b78bf0e
commit 667a7c2d89
3 changed files with 49 additions and 3 deletions

View file

@ -126,7 +126,8 @@ const quickFilterPresets = {
all: { label: 'All', filters: FILTER_PRESETS.all },
announcements: { label: 'News', filters: FILTER_PRESETS.announcements },
social: { label: 'Social', filters: FILTER_PRESETS.social },
events: { label: 'Events', filters: FILTER_PRESETS.events }
events: { label: 'Events', filters: FILTER_PRESETS.events },
rideshare: { label: 'Rideshare', filters: FILTER_PRESETS.rideshare }
}
// Computed properties