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

[MERGER] Issue 173: Provide confirmation after submitting idea or issue #183

Merged
merged 3 commits into from
Sep 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/views/request/request.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h3>What kind of feedback would you like to provide today?</h3>
</div>
</div>
<div class="col-sm-8 col-sm-offset-2" ng-show="type">
<alerts seconds="45" channels="services/feature,services/issue" types="SUCCESS"></alerts>
<center>
<h3>Please provide a title and a description for
<span>{{type === 'FEATURE' ? 'feature or idea' : 'issue or bug'}}</span>.</h3>
Expand Down Expand Up @@ -61,4 +62,4 @@ <h3>Please provide a title and a description for
</form>
</div>
</div>
</div>
</div>
6 changes: 6 additions & 0 deletions tests/mocks/repo/mockUserRepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ angular.module('mock.userRepo', []).service('UserRepo', function ($q) {
});
};

userRepo.getUser = function () {
defer = $q.defer();
payloadResponse({ User: {id : 1} });
return defer.promise;
};

userRepo.ready = function () {
defer = $q.defer();
payloadResponse();
Expand Down