3/15/22, 8:38 PM feature 3 now includes the old feature 4 · agile/projects@f264d8c · GitHub
https://github.coventry.ac.uk/agile/projects/commit/f264d8c92b6d97e1c58d7eb531cdd1eb537b1c99 1/2
agile / projects
Code Issues 1 Pull requests Projects 1 Security Insights
feature 3 now includes the old feature 4New feature 4 task is to display stats.
master
aa7401 committed on Dec 18, 20211 parent 4545e22 commit f264d8c92b6d97e1c58d7eb531cdd1eb537b1c99
Showing 1 changed file with 17 additions and 5 deletions.
Browse files
Unified Split
19 Survey.md
30 30
31 31
32 32
33
33
34 34
35 35
36 36
47 47
48 48
49 49
50
50
51
52
51 53
52 54
53 55
57 59
58 60
59 61
62
22
The home screen should be visible without needing to log in. If logged in the user should
see a **New survey** link or button that takes them to the _New Survey_ screen. Here they
can create a new survey by completing the form and supplying the following data:
1. The survey name.
– 2. A multiline description of the survey that accepts _markdown_ formatting.
+ 2. A multiline description of the survey.
Although not part of the form, the following data should be inserted into the database:
2. The date it was created (but not the time).
3. The number of questions in the survey (see below).
– Next to each there should be an **Add question** link or button. This takes them to a
screen where they can add a new question. Each question includes the following data:
+ Next to each there should be an **Edit** link or button. This takes them to a screen
where they can add and remove survey questions.
+
+ On this screen there should be an **Add question** link or button that allows for a new
question to be added. This will prompt for the following data:
1. The question title.
2. A multiline description of the question that accepts _markdown_ formatting.
1. The id of the survey the question should be added to.
2. The date and time the question was created.
+ As each question is added, its title should be displayed on the screen together with a
3/15/22, 8:38 PM feature 3 now includes the old feature 4 · agile/projects@f264d8c · GitHub
https://github.coventry.ac.uk/agile/projects/commit/f264d8c92b6d97e1c58d7eb531cdd1eb537b1c99 2/2
0 comments on commit f264d8cPlease sign in to comment.
63
60 64
61 65
62
66
63 67
64
68
65 69
66
70
67 71
68 72
69 73
75 79
76 80
77 81
82
83
84
85
86
87
88
89
78 90
79 91
80 92
**Remove** link or button. Clicking on this should remove the question from the screen.
+
## Feature 3
– The _Homepage_ should show the names of all the surveys created in the app. Against each
survey name should be the number of questions in the survey.
+ The home page should display a list of all the active surveys. If the user is logged in
they should see a **Take survey** link or button but this should not be displayed of the
user is not logged in or they have already taken the survey.
– ## Feature 4
+ Clicking this should take the user to the _Survey_ page. This is a single page that
displays each question in the survey one after the other.
– Next to each survey on the _Homepage_ should be a **Take survey** link or button.
Clicking this should take the user to the _Survey_ page. This is a single page that
displays each question in the survey one after the other.
+ At the top of the page the user should see the name of the survey and the description. If
the description contains any markdown formatting this should be rendered as HTML.
For each question it displays:
If the user has completed a surveym the **Take survey** button should not be shown.
Instead this should show the _average_ score the user awarded during the survey (see top
of this page for values).
+ ## Feature 4
+
+ When a user is logged in and viewing the **My surveys** page they should see a
**Responses** link or button next to each survey. Clicking on this takes them to responses
screen.
+
+ At the top of the screen they should see the title and description as well as the number
of people who have takn the survey.
+
+ Under this, each question should be listed showing title, description and average score
(see top of this page) as well as how many people chose each of the responses.
+
—
## Extras


