Repository navigation
Add a Patreon Pledges filter to the Mini Feed and remove the blank one - #6427
Open
nbarrett-logitech wants to merge 2 commits into
Open
nbarrett-logitech wants to merge 2 commits into
nbarrett-logitech wants to merge 2 commits into
Conversation
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.
Contributor
There was a problem hiding this comment.
🟢 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
hostfrom 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.
BundleMonFiles updated (1)
Unchanged files (3)
Total files change +170B 0% Final result: ✅ View report in BundleMon website ➡️ |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
pledgefilter 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.hostfilter. Remove deprecated Hosts and Raids from UX #5014 removed Hosts and thehostlabel fromfilterName(), but'host'stayed in the main filter list, and streamlabs.com still returnshostin the recent events settings for Twitch users, so it rendered with no text. It's removed from the list. Nothing else changes for hosts.app/services/recent-events.ts'host'from the main filter list, add'pledge'(removed when Patreon isn't linked), add its "Patreon Pledges" label, and typepledgeonIRecentEventFilterConfig. The label reuses the existing "Patreon Pledges" string fromwidget-alertbox.jsonThe matching Recent Events fix on streamlabs.com: https://github.com/twitchalerts/twitchalerts/pull/29491
QA Instructions