Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Move to Angular 4 and new TS #198

Closed
jaffoneh opened this issue Dec 7, 2016 · 9 comments
Closed

Move to Angular 4 and new TS #198

jaffoneh opened this issue Dec 7, 2016 · 9 comments
Assignees
Milestone

Comments

@jaffoneh
Copy link
Contributor

jaffoneh commented Dec 7, 2016

Select one ... (check one with "x")

[ ] bug
[ ] feature request
[X] enhancement

Expected behavior

We need to research and make recommendations on the plan to move to Angular 4.

[This is a repurpose of the ticket originally filed. Updates: Fri. March 31st]

@jeeyun jeeyun assigned jeeyun and unassigned jeeyun Dec 8, 2016
@Shijir Shijir modified the milestone: 0.7.5 Dec 9, 2016
@hippee-lee hippee-lee changed the title Upgrade Clarity to use TypeScript 2.1.0 Upgrade Clarity to use latest TypeScript and Angular Mar 16, 2017
@hippee-lee
Copy link
Contributor

hippee-lee commented Mar 16, 2017

  • Audit the website codebase to replace the Angular 2 references with just Angular.

@jaffoneh jaffoneh assigned jeeyun and unassigned Shijir Mar 30, 2017
@jeeyun
Copy link
Contributor

jeeyun commented Mar 31, 2017

Most of the code changes involved animations moving out to its own package. With some code changes.. 27/469 tests are still failing: https://travis-ci.org/jeeyun/clarity/jobs/217323371

Only wizard is failing entirely. If the issue for wizard can be identified, I think the rest are not too hard to fix.

@jaffoneh jaffoneh changed the title Upgrade Clarity to use latest TypeScript and Angular Build a plan to move to Angular 4 Mar 31, 2017
@jaffoneh jaffoneh changed the title Build a plan to move to Angular 4 Build a plan to move to Angular 4 and new TS Mar 31, 2017
@biapar
Copy link

biapar commented Apr 1, 2017

I install the final version of Angular cli and then I create a new solution. After I install Clarity following your guide, but I've this error at runtime:
https://cloud.githubusercontent.com/assets/661517/24576446/4f43cf8c-16bc-11e7-835c-e170ffa94b74.png

@bortexz
Copy link

bortexz commented Apr 3, 2017

Any news on this? I have seen the other issues related to this closed. I will explain our situation and possible solutions, in case it helps.

Was mentioned that clarity will wait for dependent projects to adopt 4 before moving to 4. But this can be tricky, as maybe the reason to not move to 4 is clarity itself (our case with animations and the clrTreeNode).

What do you think about having a @next version, which is the same but changes the way animations are imported, in order to be able to work in ng4 ? (It could start being clarity 10, where angular 2 compatibility could be dropped, maybe).

@jeeyun
Copy link
Contributor

jeeyun commented Apr 10, 2017

Hi @bertofer, we have upgraded our code base to angular 4 and are actively testing right now. We're hoping to make it in to this week's release pending successful test completion and code review.

@jeeyun
Copy link
Contributor

jeeyun commented Apr 10, 2017

@biapar: have you resolved your issue? that is not related to angular version but a conflict in webpack expecting the moduleId to be a string. You can follow some of the suggestions in this closed issue and see if that helps: angular/angular-cli#3576

@jeeyun jeeyun added this to the 0.9.0 milestone Apr 12, 2017
@mathisscott mathisscott changed the title Build a plan to move to Angular 4 and new TS Move to Angular 4 and new TS Apr 13, 2017
@mathisscott
Copy link
Contributor

Closed by #697

@biapar
Copy link

biapar commented Apr 14, 2017

@jeeyun not yet. I only read that we need to change moduleId: module.id.toString() into src/app/app.component.ts, but I wish to try to reinstall from scratch because you solved with #697

@github-actions
Copy link

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants