Skip to content

Max updates: super turbo mode#173

Merged
BaseMax merged 27 commits into
john-bampton:mainfrom
MaxFork:max-updates-super-2025-152-25
Dec 25, 2025
Merged

Max updates: super turbo mode#173
BaseMax merged 27 commits into
john-bampton:mainfrom
MaxFork:max-updates-super-2025-152-25

Conversation

@BaseMax

@BaseMax BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @BaseMax, 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 pull request enhances the HTML minification utility by introducing a more sophisticated approach to handling JavaScript content within <script> tags. The core improvement ensures that only inline JavaScript is minified, preventing potential issues that could arise from minifying external scripts referenced via the src attribute. This change makes the minification process more robust and intelligent, focusing on optimizing only the relevant parts of the HTML document.

Highlights

  • Conditional JavaScript Minification: The HTML minification logic has been updated to conditionally minify JavaScript within <script> tags. Script tags that include a src attribute will now be skipped during JavaScript minification, preserving external script integrity, while inline scripts will continue to be minified.

🧠 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.

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.

@deepsource-io

deepsource-io Bot commented Dec 25, 2025

Copy link
Copy Markdown
Contributor

Here's the code health analysis summary for commits 3978a78..61fe1f0. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource Python LogoPython✅ Success
🎯 5 occurences resolved
View Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request improves the HTML minification process by correctly handling <script> tags. The previous implementation would strip attributes from all script tags, breaking external scripts that use the src attribute. The new logic correctly identifies script tags with a src attribute and leaves them untouched, while still minifying inline scripts and preserving their attributes. This is a great fix. I've added one suggestion to make the src attribute detection more robust and the helper function a bit more concise.

Comment thread render.py Outdated
@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #166

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #171

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #172

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #168

@BaseMax BaseMax mentioned this pull request Dec 25, 2025
@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #163

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #157

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #152

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #148

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #151

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #138

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #129

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #174

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

@BaseMax

BaseMax commented Dec 25, 2025

Copy link
Copy Markdown
Member Author

cc #175

@BaseMax BaseMax changed the title Max updates: super turbo mode (PENDING) Max updates: super turbo mode Dec 25, 2025
@BaseMax BaseMax merged commit e0afffb into john-bampton:main Dec 25, 2025
5 of 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.

1 participant