Skip to content

release: 5.1.31#157

Merged
igorovh merged 6 commits intoreleasefrom
master
Mar 14, 2026
Merged

release: 5.1.31#157
igorovh merged 6 commits intoreleasefrom
master

Conversation

@igorovh
Copy link
Member

@igorovh igorovh commented Mar 14, 2026

No description provided.

igorovh and others added 4 commits March 13, 2026 22:13
* feat: load addational fonts dynamic

* fixes

* fixes

* fix in kick

* Fixed font helper, added truncation

Co-authored-by: igorovh <igorovh@users.noreply.github.com>

* Moved truncation to shared helper

Co-authored-by: igorovh <igorovh@users.noreply.github.com>

* fixes

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fixes

---------

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: igorovh <igorovh@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* feat: add chatters to stream manager

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: igor <37638480+igorovh@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ods (#154)

* bugfix: stream latency reducer does not allow to change palyrate on vods

* fix
@igorovh
Copy link
Member Author

igorovh commented Mar 14, 2026

/bump patch

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This release focuses on improving user experience and control across both Kick and Twitch platforms. Key updates include a more dynamic and efficient system for loading custom fonts, a new setting to disable the extension on the Kick dashboard, and the integration of chatters count into the Twitch Stream Manager. Additionally, the stream latency reducer on Twitch has been made smarter to avoid unintended effects on non-live content, and the extension's operational scope on Kick has been further refined.

Highlights

  • Enhanced Font Loading: Refactored the additional fonts module for both Kick and Twitch to dynamically load fonts based on user settings and channel data, improving efficiency and ensuring fonts are updated upon joining a channel. A maximum font limit of 50 was introduced to prevent excessive loading.
  • Kick Dashboard Extension Control: Implemented a new setting that allows users to disable the extension specifically on the Kick dashboard (dashboard.kick.com), providing more granular control over where the extension operates.
  • Twitch Stream Manager Chatters: Added functionality to display the total chatters count directly within the Twitch Stream Manager interface, enhancing monitoring capabilities for streamers.
  • Stream Latency Reducer Improvements: Refined the Twitch stream latency reducer to prevent interference with VODs and clips, ensuring that playback rate adjustments are only applied to live streams when appropriate.
  • Platform Blocklist Expansion: Expanded the blocklist for Kick to include additional subdomains (dev.kick.com, help.kick.com) where the extension should not run, alongside respecting the new dashboard disable setting.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/platforms/kick/kick.constants.ts
    • Added _disableExtensionOnDashboard setting to KICK_DEFAULT_SETTINGS.
  • src/platforms/kick/kick.platform.ts
    • Expanded the blocklist for shouldStart to include 'dev.kick.com' and 'help.kick.com'.
    • Introduced logic to conditionally add 'dashboard.kick.com' to the blocklist based on the _enhancer_disable_dashboard cookie.
  • src/platforms/kick/modules/additional-fonts/additional-fonts.module.tsx
    • Removed static FONT_LIST.
    • Updated AdditionalFontsHelper instantiation to pass enhancerApi.
    • Changed run method to use loadFontsWithTruncation.
    • Added an event listener for extension:joined-channel to trigger updateFonts.
    • Implemented updateFonts method to reload fonts dynamically.
  • src/platforms/kick/modules/chat/chat.module.ts
    • Modified joinChannel call to check its return value.
    • Emitted extension:joined-channel event upon successful channel join.
  • src/platforms/kick/modules/settings/settings.module.tsx
    • Added a new event listener for kick:settings:_disableExtensionOnDashboard to manage a cookie.
    • Introduced a new toggle setting for _disableExtensionOnDashboard in the settings UI.
  • src/platforms/twitch/modules/additional-fonts/additional-fonts.module.tsx
    • Removed static FONT_LIST.
    • Updated AdditionalFontsHelper instantiation to pass enhancerApi.
    • Changed run method to use loadFontsWithTruncation.
    • Added an event listener for extension:joined-channel to trigger updateFonts.
    • Implemented updateFonts method to reload fonts dynamically.
  • src/platforms/twitch/modules/chat/chat.module.tsx
    • Modified joinChannel call to check its return value.
    • Emitted extension:joined-channel event upon successful channel join.
  • src/platforms/twitch/modules/chatters/chatters.module.tsx
    • Added a new selector for .sunlight-live-indicator to create chatters component in Stream Manager.
    • Modified createTotalChattersComponent to accept a key parameter.
    • Passed isStreamManager prop to ChattersComponent based on the key.
    • Introduced StreamManagerWrapper styled component for Stream Manager specific styling.
    • Updated ChattersComponent to conditionally render based on isStreamManager prop.
  • src/platforms/twitch/modules/stream-latency-reducer/stream-latency-reducer.module.tsx
    • Added isLive() check at the beginning of the setInterval callback in run method.
    • Modified playbackRateSetHook to allow playback rate changes for VODs/clips regardless of _enhancerAllowRateChange.
    • Added a comment clarifying the getFFZAllowCatchup check.
    • Removed isLive() check from getPlaybackRateStatus.
  • src/shared/apis/enhancer.api.ts
    • Changed joinChannel method's return type from Promise<void> to Promise<boolean>.
    • Updated joinChannel to return false if channelId is invalid or already joined.
    • Updated joinChannel to return true on successful channel join.
  • src/shared/module/helpers/additional-fonts.helper.ts
    • Added MAX_FONTS constant to limit loaded fonts.
    • Implemented cleanupAdditionalFontLinks to remove existing font links.
    • Added a constructor to inject enhancerApi.
    • Modified loadFonts to clean up existing links and create individual link elements.
    • Added getUsedFonts to retrieve custom fonts from current and global channel users.
    • Implemented loadFontsWithTruncation to manage font loading with a maximum limit and logging.
  • src/types/platforms/common.events.ts
    • Added extension:joined-channel to CommonEvents type.
  • src/types/platforms/kick/kick.settings.types.ts
    • Added _disableExtensionOnDashboard property to KickSettings type.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request appears to be a release, incorporating several new features and improvements. Key changes include a new setting to disable the enhancer on the Kick dashboard, dynamic loading of custom fonts based on chat participants for both Kick and Twitch, and the addition of the chatters count to the Twitch stream manager page. Additionally, the stream latency reducer on Twitch has been updated to prevent interference with VOD and clip playback controls. I've found one area for improvement regarding how a cookie is checked.

@igorovh
Copy link
Member Author

igorovh commented Mar 14, 2026

/bump patch

@igorovh igorovh merged commit 0a82546 into release Mar 14, 2026
6 checks passed
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