• R/O
  • HTTP
  • SSH
  • HTTPS

zephyr: Commit

This repository is for zephyr, which is implemented for a GUI of Eos.


Commit MetaInfo

Revision0d8bdded5ad896318508faea20a28aab56176446 (tree)
Time2016-02-08 18:09:28
Authorhimetani_cafe <fumifumi@yasu...>
Commiterhimetani_cafe

Log Message

[Develop ang manual test] TagFilter at SelectCommand Modal

On branch master
Changes to be committed:

modified: app/scripts/App.ts
modified: app/scripts/controllers/SelectCommand.ts
new file: app/scripts/filters/Tag.ts
modified: app/scripts/reference.ts
modified: app/templates/select-command.html
modified: dist/bundle.js
modified: dist/templates/select-command.html

Change Summary

Incremental Difference

--- a/front-end/app/scripts/App.ts
+++ b/front-end/app/scripts/App.ts
@@ -36,7 +36,10 @@ namespace app {
3636 });
3737
3838 zephyr.service('APIEndPoint', services.APIEndPoint);
39+
40+ zephyr.filter('Tag', filters.Tag);
3941 zephyr.controller('selectCommandController', controllers.SelectCommand);
42+
4043 zephyr.service('MyModal', services.MyModal);
4144
4245 zephyr.controller('executionController', controllers.Execution);
--- a/front-end/app/scripts/controllers/SelectCommand.ts
+++ b/front-end/app/scripts/controllers/SelectCommand.ts
@@ -20,8 +20,12 @@ namespace app.controllers {
2020 .$promise.then((result) => {
2121 controller.commands = result.info;
2222 });
23- this.currnetTag = 'all';
23+ this.currentTag = 'all';
2424
2525 }
26+
27+ private changeTag(tag: string) {
28+ this.currentTag = tag;
29+ }
2630 }
2731 }
--- /dev/null
+++ b/front-end/app/scripts/filters/Tag.ts
@@ -0,0 +1,16 @@
1+namespace filters {
2+ export function Tag() {
3+ return function(commands, tag) {
4+ var result = []
5+ angular.forEach(commands, function(command) {
6+ var flag = false
7+ angular.forEach(command.tags, function(value) {
8+ if (tag === value) flag = true
9+ })
10+ if(flag) result.push(command)
11+ })
12+ return result
13+ }
14+ }
15+}
16+
--- a/front-end/app/scripts/reference.ts
+++ b/front-end/app/scripts/reference.ts
@@ -15,3 +15,4 @@
1515 /// <reference path="./controllers/History.ts" />
1616 /// <reference path="./controllers/SelectCommand.ts" />
1717
18+/// <reference path="./filters/Tag.ts" />
--- a/front-end/app/templates/select-command.html
+++ b/front-end/app/templates/select-command.html
@@ -6,7 +6,7 @@
66 <div class="row">
77 <div class="col-md-8">
88 <div class="btn-group"ng-repeat="tag in c.tags">
9- <button type="button" class="btn btn-default btn-xs" ng-click="changeTag(tag)"><span class="glyphicon glyphicon-tag"></span>{{tag}}</button>
9+ <button type="button" class="btn btn-default btn-xs" ng-click="c.changeTag(tag)"><span class="glyphicon glyphicon-tag"></span>{{tag}}</button>
1010 </div>
1111 </div>
1212 <div class="col-md-4">
@@ -27,7 +27,7 @@
2727 <!--
2828 <div ng-repeat="command in commands | filter:searchText | tagFilter:tag">
2929 -->
30- <div ng-repeat="command in c.commands | filter:c.searchText">
30+ <div ng-repeat="command in c.commands | filter:c.searchText | Tag:c.currentTag">
3131 <div class="col-md-6">
3232 <a class="pull-left" ng-click="selectCommand(command.name)" ng-if="$even">{{command.name}}</a>
3333 </div>
--- a/front-end/dist/bundle.js
+++ b/front-end/dist/bundle.js
@@ -41438,13 +41438,37 @@
4143841438 .$promise.then(function (result) {
4143941439 controller.commands = result.info;
4144041440 });
41441+ this.currentTag = 'all';
4144141442 }
41443+ SelectCommand.prototype.changeTag = function (tag) {
41444+ this.currentTag = tag;
41445+ console.log(this.currentTag);
41446+ };
4144241447 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4144341448 return SelectCommand;
4144441449 })();
4144541450 controllers.SelectCommand = SelectCommand;
4144641451 })(controllers = app.controllers || (app.controllers = {}));
4144741452 })(app || (app = {}));
41453+ var filters;
41454+ (function (filters) {
41455+ function Tag() {
41456+ return function (commands, tag) {
41457+ var result = [];
41458+ angular.forEach(commands, function (command) {
41459+ var flag = false;
41460+ angular.forEach(command.tags, function (value) {
41461+ if (tag === value)
41462+ flag = true;
41463+ });
41464+ if (flag)
41465+ result.push(command);
41466+ });
41467+ return result;
41468+ };
41469+ }
41470+ filters.Tag = Tag;
41471+ })(filters || (filters = {}));
4144841472 var app;
4144941473 (function (app) {
4145041474 'use strict';
@@ -41477,6 +41501,7 @@
4147741501 });
4147841502 });
4147941503 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
41504+ app.zephyr.filter('Tag', filters.Tag);
4148041505 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4148141506 app.zephyr.service('MyModal', app.services.MyModal);
4148241507 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -41935,13 +41960,37 @@
4193541960 .$promise.then(function (result) {
4193641961 controller.commands = result.info;
4193741962 });
41963+ this.currentTag = 'all';
4193841964 }
41965+ SelectCommand.prototype.changeTag = function (tag) {
41966+ this.currentTag = tag;
41967+ console.log(this.currentTag);
41968+ };
4193941969 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4194041970 return SelectCommand;
4194141971 })();
4194241972 controllers.SelectCommand = SelectCommand;
4194341973 })(controllers = app.controllers || (app.controllers = {}));
4194441974 })(app || (app = {}));
41975+ var filters;
41976+ (function (filters) {
41977+ function Tag() {
41978+ return function (commands, tag) {
41979+ var result = [];
41980+ angular.forEach(commands, function (command) {
41981+ var flag = false;
41982+ angular.forEach(command.tags, function (value) {
41983+ if (tag === value)
41984+ flag = true;
41985+ });
41986+ if (flag)
41987+ result.push(command);
41988+ });
41989+ return result;
41990+ };
41991+ }
41992+ filters.Tag = Tag;
41993+ })(filters || (filters = {}));
4194541994 var app;
4194641995 (function (app) {
4194741996 'use strict';
@@ -41974,6 +42023,7 @@
4197442023 });
4197542024 });
4197642025 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
42026+ app.zephyr.filter('Tag', filters.Tag);
4197742027 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4197842028 app.zephyr.service('MyModal', app.services.MyModal);
4197942029 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -42432,13 +42482,37 @@
4243242482 .$promise.then(function (result) {
4243342483 controller.commands = result.info;
4243442484 });
42485+ this.currentTag = 'all';
4243542486 }
42487+ SelectCommand.prototype.changeTag = function (tag) {
42488+ this.currentTag = tag;
42489+ console.log(this.currentTag);
42490+ };
4243642491 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4243742492 return SelectCommand;
4243842493 })();
4243942494 controllers.SelectCommand = SelectCommand;
4244042495 })(controllers = app.controllers || (app.controllers = {}));
4244142496 })(app || (app = {}));
42497+ var filters;
42498+ (function (filters) {
42499+ function Tag() {
42500+ return function (commands, tag) {
42501+ var result = [];
42502+ angular.forEach(commands, function (command) {
42503+ var flag = false;
42504+ angular.forEach(command.tags, function (value) {
42505+ if (tag === value)
42506+ flag = true;
42507+ });
42508+ if (flag)
42509+ result.push(command);
42510+ });
42511+ return result;
42512+ };
42513+ }
42514+ filters.Tag = Tag;
42515+ })(filters || (filters = {}));
4244242516 var app;
4244342517 (function (app) {
4244442518 'use strict';
@@ -42471,6 +42545,7 @@
4247142545 });
4247242546 });
4247342547 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
42548+ app.zephyr.filter('Tag', filters.Tag);
4247442549 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4247542550 app.zephyr.service('MyModal', app.services.MyModal);
4247642551 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -42929,13 +43004,37 @@
4292943004 .$promise.then(function (result) {
4293043005 controller.commands = result.info;
4293143006 });
43007+ this.currentTag = 'all';
4293243008 }
43009+ SelectCommand.prototype.changeTag = function (tag) {
43010+ this.currentTag = tag;
43011+ console.log(this.currentTag);
43012+ };
4293343013 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4293443014 return SelectCommand;
4293543015 })();
4293643016 controllers.SelectCommand = SelectCommand;
4293743017 })(controllers = app.controllers || (app.controllers = {}));
4293843018 })(app || (app = {}));
43019+ var filters;
43020+ (function (filters) {
43021+ function Tag() {
43022+ return function (commands, tag) {
43023+ var result = [];
43024+ angular.forEach(commands, function (command) {
43025+ var flag = false;
43026+ angular.forEach(command.tags, function (value) {
43027+ if (tag === value)
43028+ flag = true;
43029+ });
43030+ if (flag)
43031+ result.push(command);
43032+ });
43033+ return result;
43034+ };
43035+ }
43036+ filters.Tag = Tag;
43037+ })(filters || (filters = {}));
4293943038 var app;
4294043039 (function (app) {
4294143040 'use strict';
@@ -42968,6 +43067,7 @@
4296843067 });
4296943068 });
4297043069 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
43070+ app.zephyr.filter('Tag', filters.Tag);
4297143071 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4297243072 app.zephyr.service('MyModal', app.services.MyModal);
4297343073 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -43426,13 +43526,37 @@
4342643526 .$promise.then(function (result) {
4342743527 controller.commands = result.info;
4342843528 });
43529+ this.currentTag = 'all';
4342943530 }
43531+ SelectCommand.prototype.changeTag = function (tag) {
43532+ this.currentTag = tag;
43533+ console.log(this.currentTag);
43534+ };
4343043535 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4343143536 return SelectCommand;
4343243537 })();
4343343538 controllers.SelectCommand = SelectCommand;
4343443539 })(controllers = app.controllers || (app.controllers = {}));
4343543540 })(app || (app = {}));
43541+ var filters;
43542+ (function (filters) {
43543+ function Tag() {
43544+ return function (commands, tag) {
43545+ var result = [];
43546+ angular.forEach(commands, function (command) {
43547+ var flag = false;
43548+ angular.forEach(command.tags, function (value) {
43549+ if (tag === value)
43550+ flag = true;
43551+ });
43552+ if (flag)
43553+ result.push(command);
43554+ });
43555+ return result;
43556+ };
43557+ }
43558+ filters.Tag = Tag;
43559+ })(filters || (filters = {}));
4343643560 var app;
4343743561 (function (app) {
4343843562 'use strict';
@@ -43465,6 +43589,7 @@
4346543589 });
4346643590 });
4346743591 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
43592+ app.zephyr.filter('Tag', filters.Tag);
4346843593 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4346943594 app.zephyr.service('MyModal', app.services.MyModal);
4347043595 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -43923,13 +44048,37 @@
4392344048 .$promise.then(function (result) {
4392444049 controller.commands = result.info;
4392544050 });
44051+ this.currentTag = 'all';
4392644052 }
44053+ SelectCommand.prototype.changeTag = function (tag) {
44054+ this.currentTag = tag;
44055+ console.log(this.currentTag);
44056+ };
4392744057 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4392844058 return SelectCommand;
4392944059 })();
4393044060 controllers.SelectCommand = SelectCommand;
4393144061 })(controllers = app.controllers || (app.controllers = {}));
4393244062 })(app || (app = {}));
44063+ var filters;
44064+ (function (filters) {
44065+ function Tag() {
44066+ return function (commands, tag) {
44067+ var result = [];
44068+ angular.forEach(commands, function (command) {
44069+ var flag = false;
44070+ angular.forEach(command.tags, function (value) {
44071+ if (tag === value)
44072+ flag = true;
44073+ });
44074+ if (flag)
44075+ result.push(command);
44076+ });
44077+ return result;
44078+ };
44079+ }
44080+ filters.Tag = Tag;
44081+ })(filters || (filters = {}));
4393344082 var app;
4393444083 (function (app) {
4393544084 'use strict';
@@ -43962,6 +44111,7 @@
4396244111 });
4396344112 });
4396444113 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
44114+ app.zephyr.filter('Tag', filters.Tag);
4396544115 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4396644116 app.zephyr.service('MyModal', app.services.MyModal);
4396744117 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -44420,13 +44570,37 @@
4442044570 .$promise.then(function (result) {
4442144571 controller.commands = result.info;
4442244572 });
44573+ this.currentTag = 'all';
4442344574 }
44575+ SelectCommand.prototype.changeTag = function (tag) {
44576+ this.currentTag = tag;
44577+ console.log(this.currentTag);
44578+ };
4442444579 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4442544580 return SelectCommand;
4442644581 })();
4442744582 controllers.SelectCommand = SelectCommand;
4442844583 })(controllers = app.controllers || (app.controllers = {}));
4442944584 })(app || (app = {}));
44585+ var filters;
44586+ (function (filters) {
44587+ function Tag() {
44588+ return function (commands, tag) {
44589+ var result = [];
44590+ angular.forEach(commands, function (command) {
44591+ var flag = false;
44592+ angular.forEach(command.tags, function (value) {
44593+ if (tag === value)
44594+ flag = true;
44595+ });
44596+ if (flag)
44597+ result.push(command);
44598+ });
44599+ return result;
44600+ };
44601+ }
44602+ filters.Tag = Tag;
44603+ })(filters || (filters = {}));
4443044604 var app;
4443144605 (function (app) {
4443244606 'use strict';
@@ -44459,6 +44633,7 @@
4445944633 });
4446044634 });
4446144635 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
44636+ app.zephyr.filter('Tag', filters.Tag);
4446244637 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4446344638 app.zephyr.service('MyModal', app.services.MyModal);
4446444639 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -44917,13 +45092,37 @@
4491745092 .$promise.then(function (result) {
4491845093 controller.commands = result.info;
4491945094 });
45095+ this.currentTag = 'all';
4492045096 }
45097+ SelectCommand.prototype.changeTag = function (tag) {
45098+ this.currentTag = tag;
45099+ console.log(this.currentTag);
45100+ };
4492145101 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4492245102 return SelectCommand;
4492345103 })();
4492445104 controllers.SelectCommand = SelectCommand;
4492545105 })(controllers = app.controllers || (app.controllers = {}));
4492645106 })(app || (app = {}));
45107+ var filters;
45108+ (function (filters) {
45109+ function Tag() {
45110+ return function (commands, tag) {
45111+ var result = [];
45112+ angular.forEach(commands, function (command) {
45113+ var flag = false;
45114+ angular.forEach(command.tags, function (value) {
45115+ if (tag === value)
45116+ flag = true;
45117+ });
45118+ if (flag)
45119+ result.push(command);
45120+ });
45121+ return result;
45122+ };
45123+ }
45124+ filters.Tag = Tag;
45125+ })(filters || (filters = {}));
4492745126 var app;
4492845127 (function (app) {
4492945128 'use strict';
@@ -44956,6 +45155,7 @@
4495645155 });
4495745156 });
4495845157 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
45158+ app.zephyr.filter('Tag', filters.Tag);
4495945159 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4496045160 app.zephyr.service('MyModal', app.services.MyModal);
4496145161 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -45414,13 +45614,37 @@
4541445614 .$promise.then(function (result) {
4541545615 controller.commands = result.info;
4541645616 });
45617+ this.currentTag = 'all';
4541745618 }
45619+ SelectCommand.prototype.changeTag = function (tag) {
45620+ this.currentTag = tag;
45621+ console.log(this.currentTag);
45622+ };
4541845623 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4541945624 return SelectCommand;
4542045625 })();
4542145626 controllers.SelectCommand = SelectCommand;
4542245627 })(controllers = app.controllers || (app.controllers = {}));
4542345628 })(app || (app = {}));
45629+ var filters;
45630+ (function (filters) {
45631+ function Tag() {
45632+ return function (commands, tag) {
45633+ var result = [];
45634+ angular.forEach(commands, function (command) {
45635+ var flag = false;
45636+ angular.forEach(command.tags, function (value) {
45637+ if (tag === value)
45638+ flag = true;
45639+ });
45640+ if (flag)
45641+ result.push(command);
45642+ });
45643+ return result;
45644+ };
45645+ }
45646+ filters.Tag = Tag;
45647+ })(filters || (filters = {}));
4542445648 var app;
4542545649 (function (app) {
4542645650 'use strict';
@@ -45453,6 +45677,7 @@
4545345677 });
4545445678 });
4545545679 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
45680+ app.zephyr.filter('Tag', filters.Tag);
4545645681 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4545745682 app.zephyr.service('MyModal', app.services.MyModal);
4545845683 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -45911,13 +46136,37 @@
4591146136 .$promise.then(function (result) {
4591246137 controller.commands = result.info;
4591346138 });
46139+ this.currentTag = 'all';
4591446140 }
46141+ SelectCommand.prototype.changeTag = function (tag) {
46142+ this.currentTag = tag;
46143+ console.log(this.currentTag);
46144+ };
4591546145 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4591646146 return SelectCommand;
4591746147 })();
4591846148 controllers.SelectCommand = SelectCommand;
4591946149 })(controllers = app.controllers || (app.controllers = {}));
4592046150 })(app || (app = {}));
46151+ var filters;
46152+ (function (filters) {
46153+ function Tag() {
46154+ return function (commands, tag) {
46155+ var result = [];
46156+ angular.forEach(commands, function (command) {
46157+ var flag = false;
46158+ angular.forEach(command.tags, function (value) {
46159+ if (tag === value)
46160+ flag = true;
46161+ });
46162+ if (flag)
46163+ result.push(command);
46164+ });
46165+ return result;
46166+ };
46167+ }
46168+ filters.Tag = Tag;
46169+ })(filters || (filters = {}));
4592146170 var app;
4592246171 (function (app) {
4592346172 'use strict';
@@ -45950,6 +46199,7 @@
4595046199 });
4595146200 });
4595246201 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
46202+ app.zephyr.filter('Tag', filters.Tag);
4595346203 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4595446204 app.zephyr.service('MyModal', app.services.MyModal);
4595546205 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -46408,13 +46658,37 @@
4640846658 .$promise.then(function (result) {
4640946659 controller.commands = result.info;
4641046660 });
46661+ this.currentTag = 'all';
4641146662 }
46663+ SelectCommand.prototype.changeTag = function (tag) {
46664+ this.currentTag = tag;
46665+ console.log(this.currentTag);
46666+ };
4641246667 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4641346668 return SelectCommand;
4641446669 })();
4641546670 controllers.SelectCommand = SelectCommand;
4641646671 })(controllers = app.controllers || (app.controllers = {}));
4641746672 })(app || (app = {}));
46673+ var filters;
46674+ (function (filters) {
46675+ function Tag() {
46676+ return function (commands, tag) {
46677+ var result = [];
46678+ angular.forEach(commands, function (command) {
46679+ var flag = false;
46680+ angular.forEach(command.tags, function (value) {
46681+ if (tag === value)
46682+ flag = true;
46683+ });
46684+ if (flag)
46685+ result.push(command);
46686+ });
46687+ return result;
46688+ };
46689+ }
46690+ filters.Tag = Tag;
46691+ })(filters || (filters = {}));
4641846692 var app;
4641946693 (function (app) {
4642046694 'use strict';
@@ -46447,6 +46721,7 @@
4644746721 });
4644846722 });
4644946723 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
46724+ app.zephyr.filter('Tag', filters.Tag);
4645046725 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4645146726 app.zephyr.service('MyModal', app.services.MyModal);
4645246727 app.zephyr.controller('executionController', app.controllers.Execution);
@@ -46905,13 +47180,37 @@
4690547180 .$promise.then(function (result) {
4690647181 controller.commands = result.info;
4690747182 });
47183+ this.currentTag = 'all';
4690847184 }
47185+ SelectCommand.prototype.changeTag = function (tag) {
47186+ this.currentTag = tag;
47187+ console.log(this.currentTag);
47188+ };
4690947189 SelectCommand.$inject = ['$scope', 'APIEndPoint'];
4691047190 return SelectCommand;
4691147191 })();
4691247192 controllers.SelectCommand = SelectCommand;
4691347193 })(controllers = app.controllers || (app.controllers = {}));
4691447194 })(app || (app = {}));
47195+ var filters;
47196+ (function (filters) {
47197+ function Tag() {
47198+ return function (commands, tag) {
47199+ var result = [];
47200+ angular.forEach(commands, function (command) {
47201+ var flag = false;
47202+ angular.forEach(command.tags, function (value) {
47203+ if (tag === value)
47204+ flag = true;
47205+ });
47206+ if (flag)
47207+ result.push(command);
47208+ });
47209+ return result;
47210+ };
47211+ }
47212+ filters.Tag = Tag;
47213+ })(filters || (filters = {}));
4691547214 var app;
4691647215 (function (app) {
4691747216 'use strict';
@@ -46944,6 +47243,7 @@
4694447243 });
4694547244 });
4694647245 app.zephyr.service('APIEndPoint', app.services.APIEndPoint);
47246+ app.zephyr.filter('Tag', filters.Tag);
4694747247 app.zephyr.controller('selectCommandController', app.controllers.SelectCommand);
4694847248 app.zephyr.service('MyModal', app.services.MyModal);
4694947249 app.zephyr.controller('executionController', app.controllers.Execution);
--- a/front-end/dist/templates/select-command.html
+++ b/front-end/dist/templates/select-command.html
@@ -6,7 +6,7 @@
66 <div class="row">
77 <div class="col-md-8">
88 <div class="btn-group"ng-repeat="tag in c.tags">
9- <button type="button" class="btn btn-default btn-xs" ng-click="changeTag(tag)"><span class="glyphicon glyphicon-tag"></span>{{tag}}</button>
9+ <button type="button" class="btn btn-default btn-xs" ng-click="c.changeTag(tag)"><span class="glyphicon glyphicon-tag"></span>{{tag}}</button>
1010 </div>
1111 </div>
1212 <div class="col-md-4">
@@ -27,7 +27,7 @@
2727 <!--
2828 <div ng-repeat="command in commands | filter:searchText | tagFilter:tag">
2929 -->
30- <div ng-repeat="command in c.commands | filter:c.searchText">
30+ <div ng-repeat="command in c.commands | filter:c.searchText | Tag:c.currentTag">
3131 <div class="col-md-6">
3232 <a class="pull-left" ng-click="selectCommand(command.name)" ng-if="$even">{{command.name}}</a>
3333 </div>
Show on old repository browser