Skip to content

feat: Add UI support for RSS notification channels#2441

Merged
neilv-g merged 3 commits into
mainfrom
neilv-rss-ui
Jun 3, 2026
Merged

feat: Add UI support for RSS notification channels#2441
neilv-g merged 3 commits into
mainfrom
neilv-rss-ui

Conversation

@neilv-g
Copy link
Copy Markdown
Collaborator

@neilv-g neilv-g commented Apr 20, 2026

I won't be merging this change in until all backend PRs are complete/have landed. Just raising the PR early.

@neilv-g neilv-g requested a review from jcscottiii April 20, 2026 22:17
@neilv-g neilv-g changed the base branch from main to neilv-rss-3 April 21, 2026 08:54
Copy link
Copy Markdown
Collaborator

@jcscottiii jcscottiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some nits

Comment thread frontend/src/static/js/components/rss-config-form.ts Outdated
Comment thread frontend/src/static/js/components/webstatus-manage-notification-channel-dialog.ts Outdated
Comment thread frontend/src/static/js/components/webstatus-notification-rss-channels.ts Outdated
Comment thread frontend/src/static/js/components/test/rss-config-form.test.ts Outdated
Base automatically changed from neilv-rss-3 to main April 21, 2026 19:39
@neilv-g neilv-g changed the base branch from main to neilv-rss-final-5 June 1, 2026 07:42
neilv-g added 2 commits June 3, 2026 05:32
…system channels

This change implements the storage layer requirements for the Intent-Based RSS notification architecture.

- Expose ChannelType in Subscriptions: Updated SavedSearchSubscriptionView to include ChannelType by joining with NotificationChannels in SelectOne and SelectList queries. This allows the API to return the channel type (e.g., 'rss') in subscription responses without extra lookups.

- Protect System Channels: Updated Get, Update, and Delete NotificationChannel methods to enforce that system-managed channels (like RSS) cannot be accessed or modified directly by users.

- Allow System Channels for Subscriptions: Updated createSavedSearchSubscription to allow linking to system channels during ownership checks.

- Fixed tests and lints: Resolved UUID type mismatches in backend_test.go and added ChannelType to struct literals to satisfy the exhaustruct linter.
…sed RSS

This change implements the server layer requirements for the Intent-Based RSS notification architecture.

- XOR Validation in CreateSubscription: Enforced that exactly one of 'channel_id' (Explicit Mode) or 'channel_type' (Implicit Mode) must be provided in CreateSubscription requests.

- Hiding RSS Channels: Ensured that system-managed RSS channels are not exposed in list responses or directly accessible via CRUD operations (returning 404).

- Hardening Create Notification Channel: Updated handler to explicitly reject manual creation of 'rss' channels, forcing users to use the intent-based subscription API.

- Updated tests to reflect the new behavior and verify validation rules.
@neilv-g neilv-g force-pushed the neilv-rss-final-5 branch from 12d365b to ffe07ff Compare June 3, 2026 05:33
Move from manual RSS channel management to implicit when subscribing.
Base automatically changed from neilv-rss-final-5 to main June 3, 2026 09:20
@neilv-g neilv-g added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit d599eaa Jun 3, 2026
3 checks passed
@neilv-g neilv-g deleted the neilv-rss-ui branch June 3, 2026 21:53
@DanielRyanSmith DanielRyanSmith mentioned this pull request Jun 3, 2026
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.

2 participants