Skip to content

Refactor showBenchmarkButton configuration to isBenchmarkSupported and showBenchmarkActionButton - #1080

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_962444757
Aug 11, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_962444757

Conversation

@copybara-service

Copy link
Copy Markdown

Refactor showBenchmarkButton configuration to isBenchmarkSupported and showBenchmarkActionButton

  • Renamed legacy showBenchmarkButton in ModelItem and data layer properties to isBenchmarkSupported.
  • Removed showBenchmarkButton from Model.kt data class. It is no longer in use.
  • Added showBenchmarkActionButton parameter to ModelItem to control whether the benchmark button should be shown as a prominent action button. Set this to true in global model manager.
  • Filtered overlapping benchmark entries in ModelItemActionMenu dropdown context menu.

@google-cla

google-cla Bot commented Aug 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…` and `showBenchmarkActionButton`

* Renamed legacy `showBenchmarkButton` in `ModelItem` and data layer properties to `isBenchmarkSupported`.
* Removed `showBenchmarkButton` from `Model.kt` data class. It is no longer in use.
* Added `showBenchmarkActionButton` parameter to `ModelItem` to control whether the benchmark button should be shown as a prominent action button. Set this to true in global model manager.
* Filtered overlapping benchmark entries in `ModelItemActionMenu` dropdown context menu.

PiperOrigin-RevId: 962996561
@copybara-service
copybara-service Bot merged commit 84c90c4 into main Aug 11, 2026
1 check failed
@copybara-service
copybara-service Bot deleted the test_962444757 branch August 11, 2026 21:19
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.

0 participants