Skip to content

Hide content type filter when sources are manually included#196

Merged
disnet merged 2 commits into
mainfrom
radial/3mlf7tjo/when-you-create-a-channel-with-only-incl
May 9, 2026
Merged

Hide content type filter when sources are manually included#196
disnet merged 2 commits into
mainfrom
radial/3mlf7tjo/when-you-create-a-channel-with-only-incl

Conversation

@disnet
Copy link
Copy Markdown
Owner

@disnet disnet commented May 9, 2026

Summary

  • Hides the Content Types section in the channel modal when the user has manual mode selected with Include only sources picked.
  • Drops typeFilter from the saved channel data in that state, so a hidden filter from a prior mode can't silently shrink results when editing.

Why

If a user explicitly picks specific sources, they shouldn't then be able to filter them out again by content type — that's contradictory and confusing. The content type filter (RSS, Skyreader Shares, Standard.site Documents) is only meaningful when the channel is implicitly broad (all sources, or smart-rule-derived).

Scope

Only the manual sourceMode === 'include' case is affected. Smart channels still expose the filter — their rules derive sources by other criteria and combining a content-type filter is still a valid (though debatable) intersection.

Test plan

  • Open the channel modal, choose Feed type + Include only, pick a source — Content Types section disappears.
  • Switch back to All sources — Content Types reappears.
  • Switch to Smart mode — Content Types still visible.
  • Saved-type channel — Content Types stays hidden (unchanged behavior).
  • Edit an existing channel that was saved with both sourceMode=include and typeFilter set; confirm typeFilter is dropped on save.

🤖 Generated with Claude Code

radial-agent and others added 2 commits May 8, 2026 20:40
The content type filter contradicts the user's explicit source
picks — if they specifically included a source, filtering it out
again by content type is confusing.
@disnet disnet force-pushed the radial/3mlf7tjo/when-you-create-a-channel-with-only-incl branch from 9df94e7 to 6edee1e Compare May 9, 2026 03:48
@disnet disnet merged commit ddf9a08 into main May 9, 2026
3 checks passed
@disnet disnet deleted the radial/3mlf7tjo/when-you-create-a-channel-with-only-incl branch May 9, 2026 03:57
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.

1 participant