IBM-Cloud / gp-angular-client

Angular client for Globalization Pipeline on IBM Bluemix
https://www.ng.bluemix.net/docs/services/GlobalizationPipeline/index.html
Apache License 2.0
1 stars 8 forks source link

Angular 2 version #25

Open cdouine39 opened 7 years ago

cdouine39 commented 7 years ago

Hi again !

we're migrating our project to Angular 2. Do you have a Angular (ng2) compatible version of gp-translate ? If no, do you plan on having one sometimes soon ?

Adding @ckoberlein as we're working on same project.

Thanks, Camille

srl295 commented 7 years ago

Please put your requirements here for Angular 2- what would you like to see?

cdouine39 commented 7 years ago

Hi,

We would need a new ng2 directive that would do the exact same than gp-translate, but would be ng2 compatible. We also use the translate function from the service directly, so we will need a ng2 version of the service as well.

That means either migrating the whole gp-translate project into ng2, or what might be easier, we could upgrade the existing service and directive to be ng2 compatible. For the service part, it's pretty easy. For the directive part, it seems feasible but i've never tried : https://angular.io/docs/ts/latest/guide/upgrade.html#!#projecting-angularjs-content-into-angular-components

Let me know what is your opinion on this.

Regards, Camille

srl295 commented 7 years ago

Thanks for replying. I really don't know much about ng2 yet. Do we have to rewrite in Dart?

cdouine39 commented 7 years ago

Actually Angular 2 is written in TypeScript. At least, that's what we'll need.

Does that seem feasible to you ? Or would you rather have us working on it ? I guess we could, but would need to take it into account in our plannings. I'd need @ckoberlein to confirm that.

srl295 commented 7 years ago

@cdouine39 if there aren't any specific requirements (other than equivalent functionality of the ng1 client), that gives us enough to plan.

cdouine39 commented 7 years ago

Hi, any update on this ?

jugu commented 7 years ago

Please refer to https://github.com/IBM-Bluemix/gp-angular2-client

srl295 commented 7 years ago

@jugu need to link this into the README