Skip to content

Conversation

@jsonify
Copy link
Owner

@jsonify jsonify commented Nov 16, 2025

  • Renamed 'Save Current' button to 'Create New Template' for clarity
  • Updated dialog title from 'Save Current Configuration' to 'Create New Template'
  • Changed navigation title to 'Create Template'
  • Updated default template name from 'Preset' to 'Template'
  • Changed button label from 'Save' to 'Create' in the dialog
  • Added helpful tooltip explaining the button's purpose

This makes it clearer to users how to create new templates/presets.

- Renamed 'Save Current' button to 'Create New Template' for clarity
- Updated dialog title from 'Save Current Configuration' to 'Create New Template'
- Changed navigation title to 'Create Template'
- Updated default template name from 'Preset' to 'Template'
- Changed button label from 'Save' to 'Create' in the dialog
- Added helpful tooltip explaining the button's purpose

This makes it clearer to users how to create new templates/presets.
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @jsonify, 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 refines the user experience for creating new templates by standardizing terminology and improving clarity across various UI elements. The changes focus on renaming buttons, dialog titles, and default text to consistently use 'Template' instead of 'Preset' or 'Save Current', thereby making the template creation process more intuitive and understandable for users.

Highlights

  • Button Renaming: The 'Save Current' button has been renamed to 'Create New Template' for improved clarity, making its purpose more explicit to users.
  • Dialog and Navigation Titles: The dialog title for saving configurations has been updated from 'Save Current Configuration' to 'Create New Template', and the navigation title changed to 'Create Template'.
  • Terminology Consistency: The default name for new templates has been changed from 'Preset' to 'Template', and the dialog's action button from 'Save' to 'Create', ensuring consistent terminology throughout the UI.
  • User Guidance: A helpful tooltip has been added to the 'Create New Template' button, providing additional context on its functionality.
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 improves clarity by renaming UI elements for creating a new preset to use the term 'template'. The changes are consistent and make the user flow more intuitive. I've added a couple of suggestions to further improve consistency, both in the UI and in the code, to fully align with the new terminology.

}
.buttonStyle(.borderedProminent)
.disabled(viewModel.isRunning)
.help("Create a new preset from current settings")
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The new tooltip is helpful, but it uses the term 'preset' while the button label and the rest of the creation dialog now use 'template'. For consistency, it would be better to use 'template' in the tooltip as well.

Suggested change
.help("Create a new preset from current settings")
.help("Create a new template from current settings")

TextField("Preset Name", text: $newPresetName)

TextField("Template Name", text: $newPresetName)
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While the UI placeholder is now correctly set to 'Template Name', the underlying state variable is still newPresetName. To improve code consistency and maintainability, I recommend renaming this variable to newTemplateName. Similarly, the saveCurrentPreset() function, which is called when creating the template, could be renamed to something like createTemplate() to align the code with the new UI terminology.

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.

3 participants