tasks icon indicating copy to clipboard operation
tasks copied to clipboard

Angular expression evaluation vs. ng-bind directive

Open codemusings opened this issue 8 years ago • 3 comments

Hello,

I noticed that the binding expressions are visible for a second when the app is loaded and wanted to discuss whether it makes sense to review the templates and maybe switch to ng-bind directives and/or introduce a loading indicator until everything has been fetched.

See this screenshot: nextcloud_tasks

And this Stackoverflow thread: https://stackoverflow.com/questions/16125872/angularjs-why-ng-bind-is-better-than-in-angular

If you think this is worthwile I'd like to contribute to this.

codemusings avatar Apr 10 '18 17:04 codemusings

Every contribution is welcome, and this one seems to make sense, both from performance and from user experience view. So feel free to proceed.

Just a short information for you to decide how much effort you want to put in: In the long run, we plan to move away from AngularJS to vue.js, see https://github.com/nextcloud/tasks/issues/27 and https://github.com/nextcloud/calendar/issues/540. However, this will probably not happen within the next 12 months.

raimund-schluessler avatar Apr 11 '18 07:04 raimund-schluessler

Alright makes sense. I'll see what I can do. Maybe I can help out with the port Vue later down the road.

codemusings avatar Apr 11 '18 08:04 codemusings

Fixed with #194.

raimund-schluessler avatar Jan 25 '19 20:01 raimund-schluessler