Sitelet https://github.com/validointi/validointi/pull/104
Skip to content

chore: Modernize sample app - #104

Open
SanderElias wants to merge 12 commits into
mainfrom
modernizeSample
Open

SanderElias wants to merge 12 commits into
mainfrom
modernizeSample

Conversation

@SanderElias

@SanderElias SanderElias commented Sep 6, 2025 •

Copy link
Copy Markdown
Collaborator
  • chore: modernize sample

@github-actions github-actions 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.

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference

In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. We are closing this pull request for now but you can update the pull request description and reopen the pull request.
The check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

This comment was marked as outdated.

SanderElias and others added 3 commits September 6, 2025 10:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SanderElias
SanderElias requested a review from Copilot September 6, 2025 08:47

This comment was marked as outdated.

@SanderElias
SanderElias requested a review from Copilot September 6, 2025 08:57

This comment was marked as outdated.

@SanderElias
SanderElias requested a review from Copilot September 6, 2025 09:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modernizes the Angular demo application by removing polyfills, updating to zoneless change detection, converting to modern Angular template syntax, and implementing new input patterns.

  • Removes polyfills.ts file and references as they're no longer needed in modern Angular
  • Converts templates from *ngIf and *ngFor to new @if and @for control flow syntax
  • Updates components to use ChangeDetectionStrategy.OnPush and zoneless change detection

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
projects/demo/tsconfig.spec.json Removes polyfills.ts reference from test configuration
projects/demo/tsconfig.app.json Removes polyfills.ts reference from app configuration
projects/demo/src/polyfills.ts Deletes entire polyfills file
projects/demo/src/main.ts Adds zoneless change detection provider
projects/demo/src/app/joi-example/joi-example.component.html Converts *ngIf to @if control flow
projects/demo/src/app/home.component.ts Removes unused CommonModule import
projects/demo/src/app/form3/form3.component.ts Adds OnPush change detection strategy
projects/demo/src/app/form3/form3.component.html Converts control flow syntax and removes empty line
projects/demo/src/app/form3/form3-tags/form3-tags.component.ts Converts @input to input() signals and adds OnPush
projects/demo/src/app/form3/contacts/contacts.component.ts Converts @input to model.required() and updates array operations
projects/demo/src/app/form3/contacts/contact/contact.component.ts Converts @input to input.required() signals
projects/demo/src/app/form2/sample-data-form2.service.ts Updates API endpoint and improves type definitions
projects/demo/src/app/form2/form2.component.ts Updates to use new API endpoint and types
projects/demo/src/app/form2/form2.component.html Converts control flow syntax and fixes option binding
projects/demo/src/app/form1/form1.component.html Converts *ngIf to @if control flow
projects/demo/src/app/about.component.ts Removes unused imports and OnInit implementation
angular.json Removes polyfills configuration
.github/workflows/main.yml Temporarily disables wireit caching

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread projects/demo/src/app/form3/form3-tags/form3-tags.component.ts
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.

2 participants