Skip to content

Add a Patreon Pledges filter to the Mini Feed and remove the blank one - #6427

Open
nbarrett-logitech wants to merge 2 commits into
masterfrom
feature/minifeed-patreon-pledge-filter
Open

nbarrett-logitech wants to merge 2 commits into
masterfrom
feature/minifeed-patreon-pledge-filter

Conversation

@nbarrett-logitech

@nbarrett-logitech nbarrett-logitech commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Mini Feed's Event Filters window had two problems, both reported by support for a creator who uses the Mini Feed with Patreon:

  • No Patreon filter. The Mini Feed already shows Patreon pledges and already honours the saved pledge filter from streamlabs.com, but the window never offered a checkbox for it. It now lists "Patreon Pledges" after Merch, only when Patreon is linked (userService.views.linkedPlatforms). Pledges are the only Patreon event type streamlabs.com sends.
  • A blank checkbox for Twitch users. It was the host filter. Remove deprecated Hosts and Raids from UX #5014 removed Hosts and the host label from filterName(), but 'host' stayed in the main filter list, and streamlabs.com still returns host in the recent events settings for Twitch users, so it rendered with no text. It's removed from the list. Nothing else changes for hosts.
File Change
app/services/recent-events.ts Drop 'host' from the main filter list, add 'pledge' (removed when Patreon isn't linked), add its "Patreon Pledges" label, and type pledge on IRecentEventFilterConfig. The label reuses the existing "Patreon Pledges" string from widget-alertbox.json

The matching Recent Events fix on streamlabs.com: https://github.com/twitchalerts/twitchalerts/pull/29491

QA Instructions

  • Log in with a Twitch account that has no Patreon linked, open the Mini Feed's Event Filters window, and confirm there is no unlabelled checkbox under Follows and no "Patreon Pledges" entry
  • Link a Patreon account to the same Streamlabs account, restart or log back in, reopen Event Filters, and confirm "Patreon Pledges" appears after Merch, checked by default
  • Uncheck "Patreon Pledges" and confirm existing pledges disappear from the Mini Feed; check it again and confirm they come back
  • Confirm the other filters (Donations, Follows, Bits, Subs/Resubs tiers) still toggle their events as before

The Mini Feed's Event Filters window had no way to hide or show Patreon
pledges, although the feed already shows them and honours the saved `pledge`
filter. It now lists "Patreon Pledges" after Merch when Patreon is linked.

It also showed an unlabelled checkbox for Twitch users. That was the `host`
filter: Hosts were removed in 2024 along with their label, but the key stayed
in the list and streamlabs.com still sends it, so it rendered with no text.
Copilot AI balanced review requested due to automatic review settings November 24, 2026 23:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues require resolution for the Mini Feed event-filter changes.

No open issues 🎉

What changed in this PR

Updates the Mini Feed’s Event Filters to expose Patreon pledge filtering and remove the blank checkbox left by the deprecated Hosts filter.

Changes:

  • Adds “Patreon Pledges” after Merch when Patreon is linked, using the existing saved pledge setting.
  • Removes host from the displayed filter list without changing host-event behavior.
  • Adds the English translation for “Patreon Pledges.”
File Description
app/​services/​recent-events.ts Adds the typed Patreon filter and label, gates it on account linking, and removes the Hosts entry.
app/​i18n/​en-US/​recent-events.json Adds the “Patreon Pledges” translation.

Review effort: Balanced

widget-alertbox.json already defines "Patreon Pledges" and loads after recent-events.json in the fallback dictionary, so the second entry would have been silently overridden. Drop it.
Copilot AI balanced review requested due to automatic review settings November 24, 2026 23:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the Mini Feed event-filter update.

No open issues 🎉

Review effort: Balanced

@bundlemon

bundlemon Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

BundleMon

Files updated (1)
Status Path Size Limits
✅ renderer.(hash).js
10.77MB (+170B 0%) -
Unchanged files (3)
Status Path Size Limits
✅ vendors~renderer.(hash).js
4.65MB -
✅ updater.js
115.29KB -
✅ guest-api.js
40.23KB -

Total files change +170B 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

This branch has not been deployed

No deployments
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