[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:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@seong7 thanks for the detailed steps!
You will need to also add
"@angular/localize": "^12.2.7",
in thepackage.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:
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!
@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.Would you please help on it?
FYI,
ecb72c2
.npm run build:prod
at/pkg/new-ui/v1beta1/frontend
.