Skip to content

Conversation

@nighca
Copy link
Collaborator

@nighca nighca commented Dec 12, 2025

aofei and others added 5 commits December 5, 2025 17:03
- Remove duplicate `aspect-ratio` from `iframe-container` in
  `ProjectRunner.vue` and apply it to fullscreen mode in
  `ProjectRunnerSurface.vue` instead

Fixes #2565

Signed-off-by: Aofei Sheng <[email protected]>
Bumps the go-modules group with 1 update in the /tools/ai directory: [github.com/goplus/spx/v2](https://github.com/goplus/spx).


Updates `github.com/goplus/spx/v2` from 2.0.0-pre.36 to 2.0.0-pre.37
- [Release notes](https://github.com/goplus/spx/releases)
- [Commits](goplus/spx@v2.0.0-pre.36...v2.0.0-pre.37)

---
updated-dependencies:
- dependency-name: github.com/goplus/spx/v2
  dependency-version: 2.0.0-pre.37
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(spx-gui): enhance UIButton with style, shape, and type

* feat(spx-gui): adjust style for issue #2532

* refactor(spx-gui): add `size` prop to sound player components

* feat(spx-gui): update UICheck style

* refactor(spx-gui): consolidating button styles and usage

* refactor(spx-gui): remove UIFlatButton, UIIconButton and UITagButton

* refactor(spx-gui): add white button type to UIButton

* refactor(spx-gui): introduce CSS variables for UIButton

* style(spx-gui): update UIButton props

* refactor(spx-gui): move ui-design/index.vue to docs/ui-design.vue
* style(spx-gui): refine UINumberInput prefixes

* style(spx-gui): refine UITextInput prefixes
* Initial plan

* Update spx version to v2.0.0-pre.38 and rebuild assets

Co-authored-by: nighca <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nighca <[email protected]>
@gemini-code-assist
Copy link

Summary of Changes

Hello @nighca, 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 constitutes a release update, primarily focusing on a major refactoring of the UI button components to enhance flexibility and consistency across the application. It also includes an update to the underlying SPX version and introduces a dedicated documentation page for the new button design. These changes aim to streamline UI development and improve the overall user experience.

Highlights

  • UI Button Component Refactoring: The core UI button component (UIButton) has undergone a significant refactoring. It now supports variant, shape, and color props, replacing the previous type prop. This change consolidates button functionality, leading to the removal of UIIconButton, UIFlatButton, and UITagButton components, and updates across numerous files to utilize the new UIButton API.
  • SPX Version Update: The SPX version has been updated from 2.0.0-pre.37 to 2.0.0-pre.38 in both the .env configuration and the install-spx.sh script, as well as in Go module dependencies (tools/ai/go.mod, tools/spxls/go.mod).
  • New UI Design Documentation Page: A new documentation page (/docs/ui-design) has been added to showcase the new UIButton component and its various configurations, aiding developers in understanding and using the updated UI elements.
  • Sound Player Enhancements: The SoundPlayer and DumbSoundPlayer components now support a size prop, allowing for medium and large display options, and the sound recorder buttons have been updated to use the new UIButton API with circular shapes.
  • Minor UI/UX Adjustments: Several small user interface improvements have been implemented, including better spacing for prefixes in UINumberInput and UITextInput components, removal of trailing colons in input labels, and updated icon handling for asset selection buttons.
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

@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 for Release v1.11.11. The core of the changes is a significant and well-executed refactoring of the UI button components. The UIButton component has been enhanced with variant, shape, and color properties, replacing the older type property. This change has allowed for the consolidation of button styles, leading to the removal of UIFlatButton and UIIconButton. These changes have been applied consistently throughout the codebase.

Other notable changes include:

  • Bumping the spx version to 2.0.0-pre.38.
  • Improvements to SoundPlayer to support different sizes.
  • A new documentation page for UI design has been added to showcase the new components.
  • Minor style and consistency improvements across various components.

The refactoring improves the component architecture and maintainability. I have one suggestion regarding the use of inline styles for a button, which could be addressed by extending the new UIButton component.

@nighca nighca marked this pull request as ready for review December 12, 2025 09:39
@nighca nighca merged commit 7e79ee0 into main Dec 12, 2025
8 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.

4 participants