Skip to content

Conversation

@akashsonune
Copy link
Member

Describe in detail what your merge request does and why. Add relevant
screenshots and reference related issues via Closes #XY or Related to #XY.


@gemini-code-assist
Copy link

Summary of Changes

Hello @akashsonune, 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 performs a refactoring to remove various Simpl prefixed type aliases and module exports across several Angular projects. The primary goal is to streamline the codebase by eliminating redundant naming conventions and standardizing the API surface, thereby enhancing code clarity and maintainability.

Highlights

  • Type Alias Removal: The SimplSeriesOption type alias has been removed from projects/charts-ng/common/si-chart.interfaces.ts.
  • Module Export Removal: The SimplChartsNgModule export has been removed from projects/charts-ng/public-api.module.ts.
  • Routing Module Export Removal: The SimplLivePreviewRoutingModule export has been removed from projects/live-preview/live-preview-routes.ts.
  • Live Preview Module Export Removal: The SimplLivePreviewModule export has been removed from projects/live-preview/public-api.module.ts.
  • Maps Module Export Removal: The SimplMapsNgModule export has been removed from projects/maps-ng/src/public-api.module.ts.
  • Native Charts Module Export Removal: The SimplNativeChartsNgModule export has been removed from projects/native-charts-ng/public-api.module.ts.
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 is a refactoring that removes several Simpl... type aliases, which is a good cleanup of legacy code. The changes are straightforward and correct. However, I've noticed that the corresponding migration schematic mappings for some of the removed aliases still exist. This could lead to issues with the migration schematics. I've left comments on the relevant files pointing out these inconsistencies.

})
export class SiChartsNgModule {}

export { SiChartsNgModule as SimplChartsNgModule };

Choose a reason for hiding this comment

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

medium

Removing this alias is a good cleanup. However, the migration schematic mapping for SimplChartsNgModule still exists in projects/element-ng/schematics/ts-import-to-siemens-migration/mappings/charts-ng-mappings.ts. Since this alias is being removed, the mapping is now likely obsolete and should probably be removed as well to avoid issues with the migration schematic.

})
export class SiMapsNgModule {}

export { SiMapsNgModule as SimplMapsNgModule };

Choose a reason for hiding this comment

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

medium

Similar to other removals in this PR, while removing this alias is correct, the corresponding entry for SimplMapsNgModule in projects/element-ng/schematics/ts-import-to-siemens-migration/mappings/maps-ng-mappings.ts seems to have been missed. Please consider removing it to keep the migration schematics consistent.

})
export class SiNativeChartsNgModule {}

export { SiNativeChartsNgModule as SimplNativeChartsNgModule };

Choose a reason for hiding this comment

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

medium

The removal of the SimplNativeChartsNgModule alias is a good step. However, a corresponding entry still exists in projects/element-ng/schematics/ts-import-to-siemens-migration/mappings/native-charts-ng-mappings.ts. This should likely be removed to prevent the migration schematic from referencing a non-existent export.

@akashsonune akashsonune force-pushed the refactor/remove-simpl-type-alias branch from d5b9752 to 11cba5a Compare January 19, 2026 18:52
@github-actions
Copy link

Code Coverage

@github-actions
Copy link

@akashsonune akashsonune marked this pull request as ready for review January 20, 2026 07:28
@akashsonune
Copy link
Member Author

akashsonune commented Jan 20, 2026

@spike-rabbit can we just remove them for 49 or first mark them deprecated? since this was only meant for the compatibility for simpl element

@akashsonune akashsonune added the breaking-changes Marks issues and PRs that are breaking the API label Jan 20, 2026
@spike-rabbit
Copy link
Member

They are not causing any harm. Let's just go here with the normal deprecation first.

@akashsonune akashsonune added this to the 51.0.0 milestone Jan 20, 2026
@akashsonune akashsonune marked this pull request as draft January 20, 2026 09:02
@akashsonune
Copy link
Member Author

ok lets park this one for v51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-changes Marks issues and PRs that are breaking the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants