Thanks Hsuan for the proposal, it makes sense to adopt the angular syntax to replace the angular js syntax. This migration tool is pretty valuable for users.
Hsuan Lee <hsua...@gmail.com> 于2019年11月18日周一 上午11:41写道: > ZEPPELIN-4321 <https://issues.apache.org/jira/browse/ZEPPELIN-4321> > > We have implemented the frontend API of Angular.js using the latest > Angular. But the templates some differences > <https://angular.io/guide/ajs-quick-reference> between Angular.js and > Angular. > > So to help users migrate templates, we provide a migration tool that will > be integrated into the Zeppelin web. This is its DEMO > <https://ng1-updater.hsuan.xyz/> it can quickly fix these differences. > > We plan to do the following work: > > 1. Add a new type "%ng" (official abbreviation) to distinguish between > Angular.js and Angular templates. > 2. When the user runs a paragraph with the "%angular" type, the upgrade > dialog will be open. > 3. Upgrade the template in the dialog and click the "Update and Copy" > button. > 4. Automatically create a paragraph of the type "%ng" template below. > -- Best Regards Jeff Zhang