question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ui] Bump Angular version to 12

See original GitHub issue

/kind feature

Describe the solution you’d like The other web apps in kubeflow/kubeflow have moved to Angular 12 kubeflow/kubeflow#5525. We should also update this UI which is using Angular 8. This is required to also use the latest common frontend code from kubeflow/kubeflow.

Anything else you would like to add: The work for this will need to start after kubeflow/kubeflow#6065 is merged which refactors the common code. Without that PR the Katib UI would need to be integrated with ngx-translate which is something we want to avoid kubeflow/kubeflow#6042

After I make this update I’ll be able to start working on the next more advanced features like #1440

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kimwnasptdcommented, Oct 6, 2021

@seong7 thanks for the detailed steps!

You will need to also add "@angular/localize": "^12.2.7", in the package.json which is includes Angular’s localization logic.

I tried the code from your branch after this and the UI was built successfully 🎉. With a quick look the main page was working as expected and the form page was showing the following error:

ERROR TypeError: Cannot read properties of undefined (reading 'controls')
    at FormTrialTemplateComponent_Template (trial-template.component.html:93)

But this should be fixed in https://github.com/kubeflow/katib/pull/1652, so most probably if you rebase on the latest master you won’t see this.

And also nice work!

0reactions
seong7commented, Oct 1, 2021

@kimwnasptd This link is the WIP branch of this issue and has an Error that I’m stuck on with kubeflow/kubeflow module as below. image

Would you please help on it?

FYI,

  • The branch has been done with all updates on the guide and some extra updates of 3rd-party dependencies. (You can trace them by commit history)
  • I double-checked that my local kubeflow/kubeflow is watching ecb72c2.
  • You can reproduce it by npm run build:prod at /pkg/new-ui/v1beta1/frontend.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Keeping your Angular projects up-to-date
To check your application's version of Angular: From within your project directory, use the ng version command. Finding the current version of Angularlink....
Read more >
How to version number angular applications | by tolvalyzs
Our first approach was to add a version number to the environment file (`environment.ts`), keep it in sync with the production environment ...
Read more >
Angular 13 Support (libs update) and version policy · Issue #951
UI -Router for Angular has always supported the latest version of Angular, plus one previous version, i.e., we now support ng13 [latest] and...
Read more >
Keeping Up to Date - Kendo UI for Angular - Telerik
A major version bump (X.y.z) signals a breaking change in the API. You might need to update application code or dependencies. A minor...
Read more >
How to upgrade Angular CLI project? - Stack Overflow
USEFUL: Use the official Angular Update Guide select your current version and the version you wish to upgrade to for the relevant upgrade ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found