fix(feedback): more feedback flow improvements and bug fixes

This commit is contained in:
Jason Dreyzehner 2016-11-17 00:56:12 -05:00
commit 63c7684259
10 changed files with 89 additions and 59 deletions

View file

@ -2,6 +2,7 @@
<ion-nav-bar class="bar-royal">
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-title>{{'Send Feedback' | translate}}</ion-nav-title>
<ion-nav-buttons side="primary">
<button ng-show="score" class="button no-border" ng-click="sendFeedback(null, true, true)" translate>
Cancel
@ -16,7 +17,7 @@
<ion-content class="has-header" scroll="false">
<div class="row item item-sub feedback-heading">
<div class="col col-50">
<div class="title">
<div class="feedback-title" ng-if="!justFeedback">
<span>{{reaction}}</span>
</div>
</div>
@ -36,7 +37,7 @@
<div class="comment">
<span translate>{{comment}}</span>
</div>
<div ng-if="showForm">
<div ng-if="showForm" class="form-fade-in">
<textarea class="user-feedback" ng-model="feedback.value" rows="5" placeholder="Your ideas, feedback, or comments" autofocus></textarea>
<button ng-disabled="!feedback.value" type="submit" class="button button-standard button-primary" ng-click="sendFeedback(feedback.value, false)" translate>
Send