Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvements #352

Merged
merged 11 commits into from
Jul 22, 2016
Prev Previous commit
Next Next commit
rebasing calendar fixes onto performance
evancohen committed Jul 21, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 23814814d8d1a074e15494b0445feccec776e534
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ <h2 class="sc">{{scTrack}}</h2>
</li>
</ul>
</div>
<div class="contents-box animate-grow" ng-show="focus == 'timer'">
<div class="contents-box animate-grow" ng-if="focus == 'timer'">
<div class="contents timer animate-grow">
<div class="timer-countdown">{{timer.countdown | secondsToDateTime | date:"mm:ss"}}</div>
<div class="timer-duration grey">{{timer.duration | secondsToDateTime | date:"mm:ss"}}</div>
@@ -159,7 +159,7 @@ <h2 class="sc">{{scTrack}}</h2>
</div>
<div class="bottom-center">
<!-- Command list -->
<div class="commands animate-grow" ng-show="focus == 'commands'">
<div class="commands animate-grow" ng-if="focus == 'commands'">
<h2>{{ 'commands.title' | translate }}</h2>
<dl>
<dt ng-repeat-start="command in commands">{{command['text']}}</dt>
@@ -175,7 +175,7 @@ <h2>{{ 'commands.title' | translate }}</h2>
</div>

<div class="news">
<div class="fade" ng-show="focus == 'default' && news">
<div class="fade" ng-if="focus == 'default' && news">
<div class="news-title dimmed fade">
<span><i class="fa fa-rss fade" style="margin-right: 5px";></i></span>
<span fade>Source: {{news.title}}, Last Updated: {{news.lastUpdated.format('MMM DD, h:mm a')}} </span>
@@ -189,8 +189,8 @@ <h2>{{ 'commands.title' | translate }}</h2>
<div class="error" ng-bind="speechError" ng-show="speechError"></div>
<div class="interim-result" ng-bind="interimResult" ng-hide="speechError"></div>
</div>
<div class="bottom-left">
<div class="fitbit" ng-show="fitbitEnabled">
<div class="bottom-left" ng-if="fitbitEnabled">
<div class="fitbit">
<div><span class="fitbit-title">{{'fitbit.statsFor' | translate}} {{fbDailyAverage.fullName}}</span></div>
<div><span class="fitbit-item">{{'fitbit.averageSteps' | translate}}: {{fbDailyAverage.averageDailySteps}}</span></div>
<div><span class="fitbit-item">{{'fitbit.todaysSteps' | translate}}: {{fbToday.summary.steps}}</span></div>