Closed janagombitova closed 7 years ago
From planning poker meeting: Needs to be better defined (in more detail) and potentially broken down into smaller chunks. Questions like: What happens if a submission is disapproved on the 3rd step, is the 2nd one opened again? need to be answered.
Based on the discussion we had during the planning poker meeting, here are the mockups I could find and the ideas and understanding I have. Let's discuss this further once we reach to this issue.
We are working with the analogy that data approval works as if the submitted forms move from one desk to another where they get checked and approved/disapproved by a particular person.
We have two types of data approval workflows:
In order to see which submission (data point) is in which stage/step of the data approval workflow we mark the datapoint with a status. The status is derived from the workflow step and the action the user took.
Surveys that have a workflow added to them will also have an extra column in the data preview (as well as in reports) which will show the current status of the data point. The status is based on the approval given (or not given) to a data point.
Unordered workflow
Surveys that have a workflow added to them will also have an extra column in the data preview (as well as in reports) which will show the current status of the data point. The status is based on the approval given (or not given) to a data point.
Ordered approval workflow Example case: data approval holding 5 steps and each step has a different user responsible
@muloem and @joycarpediem What do you think? Let's discuss this once we get to this point in the build
You will need all three surveys that you have assigned data groups to to have data points with data.
(You are logged in user was assigned to step 2)
Repeat the test plan in different browsers
@muloem that is all so far - will add more in an hour or need. Need to relocate now
@muloem I would propose to ease up the plan and looking at the time - we can also perhaps 1st make sure ordered group work fine and leave unordered for the 2nd sprint
Hey @muloem,
I found another odd thing:
@muloem here is the test I have run just now and I am not sure if what you shared is fixed or not, but I could still not submit a 'pending' status with a comment and did not get it logged down in the history. So what I am expecting with pending is:
Case 1:
Case 2:
@janagombitova ok noted. it should be sorted out now.
Also I just realised that perhaps comments will probably be over our usual 500xter limit. Should we impose the limit or store whatever they push in? It also means that @loicsans will have to adjust UI a bit to wrap the comment text.
@muloem and @loicsans I think 500 characters is quite a lot of text to write as a comment and think it should suffice for now, but that is just my personal feeling. What do you think?
@muloem Thanks. I am ready when you are
(have tested only ordered group using survey: 1.9.11 UAT Folder - testing data approval > Jana tests > Tuesday test 1 (only testing ordered groups))
for testing this issue on UAT please see test plan above https://github.com/akvo/akvo-flow/issues/1664#issuecomment-249536207
All issue that relate to this test plan but will be handled separately:
For the remaining workflow the implementation passes the test plan 👍
For all the background information on this feature and the decisions around the MVP please check: akvo/akvo-product-design#82
Details (draft) The workflow will be applied on the data point level thus when viewing the list of data points in the Monitoring tab we have added the column Data approval, which shows the current workflow status of a data point. Here is also the place where the user can change the status (see mockups for both types, ordered and unordered).