From c43d2b3d4533218c5ad1b91cf8dab26165bff186 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Wed, 4 May 2016 17:57:20 +0000 Subject: [PATCH] Complex priorities UI in stories This commit adds a list of worklists that the current user is subscribed to which contain the story or any task within the story to the story view. This is a basic way of displaying complex priorities for the story. This commit also removes the priority dropdown, since we don't want to support simple/global priority in StoryBoard really. Story: 329 Task: 2987 Change-Id: I399ac5017db9644ceddcaaba48775e6e2d9d0158 --- .../services/template/result_set_pager.html | 2 +- .../controller/story_detail_controller.js | 64 ++++++++++- .../controller/story_worklists_controller.js | 33 ++++++ src/app/stories/module.js | 13 +++ src/app/stories/template/detail.html | 100 +++++++++++++----- src/app/stories/template/worklists.html | 41 +++++++ src/theme/base/bootstrap/tables.less | 4 + src/theme/base/stories.less | 25 +++++ src/theme/main.less | 1 + 9 files changed, 251 insertions(+), 32 deletions(-) create mode 100644 src/app/stories/controller/story_worklists_controller.js create mode 100644 src/app/stories/template/worklists.html create mode 100644 src/theme/base/stories.less diff --git a/src/app/services/template/result_set_pager.html b/src/app/services/template/result_set_pager.html index a39f4a29..acf8f10e 100644 --- a/src/app/services/template/result_set_pager.html +++ b/src/app/services/template/result_set_pager.html @@ -30,7 +30,7 @@
- +
+ + +
+
+
@@ -31,6 +39,15 @@ src="'/inline/story_detail_form.html'" ng-show="showEditForm">
+
+
+
+
+
+
+
+


@@ -257,6 +274,58 @@ + + + +