Skip to content

Commit 9b9f508

Browse files
Revert "Version 5s Release"
This reverts commit dc33fd7.
1 parent dc33fd7 commit 9b9f508

File tree

2 files changed

+139
-4
lines changed

2 files changed

+139
-4
lines changed

DevNotes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ The custom methods are restored as well. The methods will delete all the data fr
3737
---
3838

3939

40-
## Version 5s Planning
40+
## Version 6 Planning
4141
* **Name** -
4242
* **Major Updates** - The alldone() method will mark all tasks green rather than deleting it. And the backend server will be updated the status done so that whenever app is reloaded the green tasks remains green.
4343

4444
### How will we achieve this -
4545
1. We will create a new field in the task objects in the server as `status`. This data field will be a boolean `data type`.
4646
1. The status will remain `false` as default.
4747
1. Whenever the card is clicked (the `clickHandler()` function is invoked in the TaskCard component) the server will get a put request of toggling the `status` data.
48-
1. Change the functionality of `alldone()` method to mark all task's status as true.
48+
1. Change the functionality of `alldone()` method to mark all task's status as true.

db.json

Lines changed: 137 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,144 @@
11
{
22
"tasks": [
33
{
4-
"title": "Start learning context system in reactjs",
4+
"title": "A",
55
"status": false,
6-
"id": 1
6+
"id": 6
7+
},
8+
{
9+
"title": "A",
10+
"status": false,
11+
"id": 7
12+
},
13+
{
14+
"title": "A",
15+
"status": false,
16+
"id": 8
17+
},
18+
{
19+
"title": "A",
20+
"status": false,
21+
"id": 9
22+
},
23+
{
24+
"title": "A",
25+
"status": false,
26+
"id": 10
27+
},
28+
{
29+
"title": "A",
30+
"status": false,
31+
"id": 11
32+
},
33+
{
34+
"title": "A",
35+
"status": false,
36+
"id": 12
37+
},
38+
{
39+
"title": "A",
40+
"status": false,
41+
"id": 13
42+
},
43+
{
44+
"title": "A",
45+
"status": false,
46+
"id": 14
47+
},
48+
{
49+
"title": "A",
50+
"status": false,
51+
"id": 15
52+
},
53+
{
54+
"title": "A",
55+
"status": false,
56+
"id": 16
57+
},
58+
{
59+
"title": "A",
60+
"status": false,
61+
"id": 17
62+
},
63+
{
64+
"title": "A",
65+
"status": false,
66+
"id": 18
67+
},
68+
{
69+
"title": "A",
70+
"status": false,
71+
"id": 19
72+
},
73+
{
74+
"title": "A",
75+
"status": false,
76+
"id": 20
77+
},
78+
{
79+
"title": "A",
80+
"status": false,
81+
"id": 21
82+
},
83+
{
84+
"id": 22,
85+
"title": "A",
86+
"status": false
87+
},
88+
{
89+
"id": 23,
90+
"title": "A",
91+
"status": false
92+
},
93+
{
94+
"id": 24,
95+
"title": "A",
96+
"status": false
97+
},
98+
{
99+
"id": 25,
100+
"title": "A",
101+
"status": false
102+
},
103+
{
104+
"id": 26,
105+
"title": "A",
106+
"status": false
107+
},
108+
{
109+
"id": 27,
110+
"title": "A",
111+
"status": false
112+
},
113+
{
114+
"id": 28,
115+
"title": "A",
116+
"status": false
117+
},
118+
{
119+
"id": 29,
120+
"title": "A",
121+
"status": false
122+
},
123+
{
124+
"id": 30,
125+
"title": "A",
126+
"status": false
127+
},
128+
{
129+
"id": 31,
130+
"title": "A",
131+
"status": false
132+
},
133+
{
134+
"id": 32,
135+
"title": "A",
136+
"status": false
137+
},
138+
{
139+
"id": 33,
140+
"title": "A",
141+
"status": false
7142
}
8143
]
9144
}

0 commit comments

Comments
 (0)