Skip to content

Commit 920c308

Browse files
authored
Task 6014: kanban - swr and fixed eslint and prettier (#8)
Co-authored-by: ct-amit <[email protected]>
1 parent 378d632 commit 920c308

20 files changed

+513
-159
lines changed

next.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const nextConfig = {
44
reactStrictMode: true,
55
env: {
66
DEV_API: 'http://localhost:3000',
7-
PRODUCTION_API: '',
8-
},
7+
PRODUCTION_API: ''
8+
}
99
};
1010

1111
export default nextConfig;

src/data/chat-history.json

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
[
2-
{ "id": 1, "from": "User1", "to": "Alene", "text": "Hi Good Morning!", "time": "11:23 AM" },
3-
{ "id": 2, "from": "Alene", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:23 AM" },
4-
{ "id": 3, "from": "User1", "to": "Alene", "text": "Good. Thank you", "time": "11:23 AM" },
5-
{ "id": 4, "from": "Alene", "to": "User1", "text": "I need your minute, are you available?", "time": "11:23 AM" },
2+
{ "id": 1, "from": "User1", "to": "Alene", "text": "Hi Good Morning!", "time": "11:23 AM" },
3+
{ "id": 2, "from": "Alene", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:23 AM" },
4+
{ "id": 3, "from": "User1", "to": "Alene", "text": "Good. Thank you", "time": "11:23 AM" },
5+
{ "id": 4, "from": "Alene", "to": "User1", "text": "I need your minute, are you available?", "time": "11:23 AM" },
66

7-
{ "id": 5, "from": "User1", "to": "Keefe", "text": "Hey man", "time": "11:24 AM" },
8-
{ "id": 6, "from": "Keefe", "to": "User1", "text": "Hi, Wats up?", "time": "11:24 AM" },
9-
{ "id": 7, "from": "User1", "to": "Keefe", "text": "Need your minute. are you available?", "time": "11:24 AM" },
10-
{ "id": 8, "from": "Keefe", "to": "User1", "text": "Sure. Let's meet.", "time": "11:24 AM" },
7+
{ "id": 5, "from": "User1", "to": "Keefe", "text": "Hey man", "time": "11:24 AM" },
8+
{ "id": 6, "from": "Keefe", "to": "User1", "text": "Hi, Wats up?", "time": "11:24 AM" },
9+
{ "id": 7, "from": "User1", "to": "Keefe", "text": "Need your minute. are you available?", "time": "11:24 AM" },
10+
{ "id": 8, "from": "Keefe", "to": "User1", "text": "Sure. Let's meet.", "time": "11:24 AM" },
1111

12-
{ "id": 9, "from": "User1", "to": "Lazaro", "text": "Hi Good Morning!", "time": "11:25 AM" },
13-
{ "id": 10, "from": "Lazaro", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:25 AM" },
14-
{ "id": 11, "from": "User1", "to": "Lazaro", "text": "Good. Thank you", "time": "11:25 AM" },
15-
{ "id": 12, "from": "Lazaro", "to": "User1", "text": "I need your minute, are you available?", "time": "11:25 AM" },
12+
{ "id": 9, "from": "User1", "to": "Lazaro", "text": "Hi Good Morning!", "time": "11:25 AM" },
13+
{ "id": 10, "from": "Lazaro", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:25 AM" },
14+
{ "id": 11, "from": "User1", "to": "Lazaro", "text": "Good. Thank you", "time": "11:25 AM" },
15+
{ "id": 12, "from": "Lazaro", "to": "User1", "text": "I need your minute, are you available?", "time": "11:25 AM" },
1616

17-
{ "id": 13, "from": "User1", "to": "Hazle", "text": "Hey man", "time": "11:26 AM" },
18-
{ "id": 14, "from": "Hazle", "to": "User1", "text": "Hi, Wats up?", "time": "11:26 AM" },
19-
{ "id": 15, "from": "User1", "to": "Hazle", "text": "Need your minute. are you available?", "time": "11:26 AM" },
20-
{ "id": 16, "from": "Hazle", "to": "User1", "text": "Sure. Let's meet.", "time": "11:26 AM" },
17+
{ "id": 13, "from": "User1", "to": "Hazle", "text": "Hey man", "time": "11:26 AM" },
18+
{ "id": 14, "from": "Hazle", "to": "User1", "text": "Hi, Wats up?", "time": "11:26 AM" },
19+
{ "id": 15, "from": "User1", "to": "Hazle", "text": "Need your minute. are you available?", "time": "11:26 AM" },
20+
{ "id": 16, "from": "Hazle", "to": "User1", "text": "Sure. Let's meet.", "time": "11:26 AM" },
2121

22-
{ "id": 17, "from": "User1", "to": "Herman Essertg", "text": "Hi Good Morning!", "time": "11:27 AM" },
23-
{ "id": 18, "from": "Herman Essertg", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:27 AM" },
24-
{ "id": 19, "from": "User1", "to": "Herman Essertg", "text": "Good. Thank you", "time": "11:27 AM" },
25-
{ "id": 20, "from": "Herman Essertg", "to": "User1", "text": "I need your minute, are you available?", "time": "11:27 AM" },
22+
{ "id": 17, "from": "User1", "to": "Herman Essertg", "text": "Hi Good Morning!", "time": "11:27 AM" },
23+
{ "id": 18, "from": "Herman Essertg", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:27 AM" },
24+
{ "id": 19, "from": "User1", "to": "Herman Essertg", "text": "Good. Thank you", "time": "11:27 AM" },
25+
{ "id": 20, "from": "Herman Essertg", "to": "User1", "text": "I need your minute, are you available?", "time": "11:27 AM" },
2626

27-
{ "id": 21, "from": "User1", "to": "Wilhelmine Durrg", "text": "Hey man", "time": "11:28 AM" },
28-
{ "id": 22, "from": "Wilhelmine Durrg", "to": "User1", "text": "Hi, Wats up?", "time": "11:28 AM" },
29-
{ "id": 23, "from": "User1", "to": "Wilhelmine Durrg", "text": "Need your minute. are you available?", "time": "11:28 AM" },
30-
{ "id": 24, "from": "Wilhelmine Durrg", "to": "User1", "text": "Sure. Let's meet.", "time": "11:28 AM" },
27+
{ "id": 21, "from": "User1", "to": "Wilhelmine Durrg", "text": "Hey man", "time": "11:28 AM" },
28+
{ "id": 22, "from": "Wilhelmine Durrg", "to": "User1", "text": "Hi, Wats up?", "time": "11:28 AM" },
29+
{ "id": 23, "from": "User1", "to": "Wilhelmine Durrg", "text": "Need your minute. are you available?", "time": "11:28 AM" },
30+
{ "id": 24, "from": "Wilhelmine Durrg", "to": "User1", "text": "Sure. Let's meet.", "time": "11:28 AM" },
3131

32-
{ "id": 25, "from": "User1", "to": "Agilulf Fuxg", "text": "Hi Good Morning!", "time": "11:29 AM" },
33-
{ "id": 26, "from": "Agilulf Fuxg", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:29 AM" },
34-
{ "id": 27, "from": "User1", "to": "Agilulf Fuxg", "text": "Good. Thank you", "time": "11:29 AM" },
35-
{ "id": 28, "from": "Agilulf Fuxg", "to": "User1", "text": "I need your minute, are you available?", "time": "11:29 AM" },
32+
{ "id": 25, "from": "User1", "to": "Agilulf Fuxg", "text": "Hi Good Morning!", "time": "11:29 AM" },
33+
{ "id": 26, "from": "Agilulf Fuxg", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:29 AM" },
34+
{ "id": 27, "from": "User1", "to": "Agilulf Fuxg", "text": "Good. Thank you", "time": "11:29 AM" },
35+
{ "id": 28, "from": "Agilulf Fuxg", "to": "User1", "text": "I need your minute, are you available?", "time": "11:29 AM" },
3636

37-
{ "id": 29, "from": "User1", "to": "Adaline Bergfalks", "text": "Hey man", "time": "11:30 AM" },
38-
{ "id": 30, "from": "Adaline Bergfalks", "to": "User1", "text": "Hi, Wats up?", "time": "11:30 AM" },
39-
{ "id": 31, "from": "User1", "to": "Adaline Bergfalks", "text": "Need your minute. are you available?", "time": "11:30 AM" },
40-
{ "id": 32, "from": "Adaline Bergfalks", "to": "User1", "text": "Sure. Let's meet.", "time": "11:30 AM" },
37+
{ "id": 29, "from": "User1", "to": "Adaline Bergfalks", "text": "Hey man", "time": "11:30 AM" },
38+
{ "id": 30, "from": "Adaline Bergfalks", "to": "User1", "text": "Hi, Wats up?", "time": "11:30 AM" },
39+
{ "id": 31, "from": "User1", "to": "Adaline Bergfalks", "text": "Need your minute. are you available?", "time": "11:30 AM" },
40+
{ "id": 32, "from": "Adaline Bergfalks", "to": "User1", "text": "Sure. Let's meet.", "time": "11:30 AM" },
4141

42-
{ "id": 33, "from": "User1", "to": "Eadwulf Beckete", "text": "Hi Good Morning!", "time": "11:31 AM" },
43-
{ "id": 34, "from": "Eadwulf Beckete", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:31 AM" },
44-
{ "id": 35, "from": "User1", "to": "Eadwulf Beckete", "text": "Good. Thank you", "time": "11:31 AM" },
45-
{ "id": 36, "from": "Eadwulf Beckete", "to": "User1", "text": "I need your minute, are you available?", "time": "11:31 AM" },
42+
{ "id": 33, "from": "User1", "to": "Eadwulf Beckete", "text": "Hi Good Morning!", "time": "11:31 AM" },
43+
{ "id": 34, "from": "Eadwulf Beckete", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:31 AM" },
44+
{ "id": 35, "from": "User1", "to": "Eadwulf Beckete", "text": "Good. Thank you", "time": "11:31 AM" },
45+
{ "id": 36, "from": "Eadwulf Beckete", "to": "User1", "text": "I need your minute, are you available?", "time": "11:31 AM" },
4646

47-
{ "id": 37, "from": "User1", "to": "Midas", "text": "Hey man", "time": "11:32 AM" },
48-
{ "id": 38, "from": "Midas", "to": "User1", "text": "Hi, Wats up?", "time": "11:32 AM" },
49-
{ "id": 39, "from": "User1", "to": "Midas", "text": "Need your minute. are you available?", "time": "11:32 AM" },
50-
{ "id": 40, "from": "Midas", "to": "User1", "text": "Sure. Let's meet.", "time": "11:32 AM" },
47+
{ "id": 37, "from": "User1", "to": "Midas", "text": "Hey man", "time": "11:32 AM" },
48+
{ "id": 38, "from": "Midas", "to": "User1", "text": "Hi, Wats up?", "time": "11:32 AM" },
49+
{ "id": 39, "from": "User1", "to": "Midas", "text": "Need your minute. are you available?", "time": "11:32 AM" },
50+
{ "id": 40, "from": "Midas", "to": "User1", "text": "Sure. Let's meet.", "time": "11:32 AM" },
5151

52-
{ "id": 41, "from": "User1", "to": "Uranus", "text": "Hi Good Morning!", "time": "11:33 AM" },
53-
{ "id": 42, "from": "Uranus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:33 AM" },
54-
{ "id": 43, "from": "User1", "to": "Uranus", "text": "Good. Thank you", "time": "11:33 AM" },
55-
{ "id": 44, "from": "Uranus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:33 AM" },
52+
{ "id": 41, "from": "User1", "to": "Uranus", "text": "Hi Good Morning!", "time": "11:33 AM" },
53+
{ "id": 42, "from": "Uranus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:33 AM" },
54+
{ "id": 43, "from": "User1", "to": "Uranus", "text": "Good. Thank you", "time": "11:33 AM" },
55+
{ "id": 44, "from": "Uranus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:33 AM" },
5656

57-
{ "id": 45, "from": "User1", "to": "Peahen", "text": "Hey man", "time": "11:34 AM" },
58-
{ "id": 46, "from": "Peahen", "to": "User1", "text": "Hi, Wats up?", "time": "11:34 AM" },
59-
{ "id": 47, "from": "User1", "to": "Peahen", "text": "Need your minute. are you available?", "time": "11:34 AM" },
60-
{ "id": 48, "from": "Peahen", "to": "User1", "text": "Sure. Let's meet.", "time": "11:34 AM" },
57+
{ "id": 45, "from": "User1", "to": "Peahen", "text": "Hey man", "time": "11:34 AM" },
58+
{ "id": 46, "from": "Peahen", "to": "User1", "text": "Hi, Wats up?", "time": "11:34 AM" },
59+
{ "id": 47, "from": "User1", "to": "Peahen", "text": "Need your minute. are you available?", "time": "11:34 AM" },
60+
{ "id": 48, "from": "Peahen", "to": "User1", "text": "Sure. Let's meet.", "time": "11:34 AM" },
6161

62-
{ "id": 49, "from": "User1", "to": "Menelaus", "text": "Hi Good Morning!", "time": "11:35 AM" },
63-
{ "id": 50, "from": "Menelaus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:35 AM" },
64-
{ "id": 51, "from": "User1", "to": "Menelaus", "text": "Good. Thank you", "time": "11:35 AM" },
65-
{ "id": 52, "from": "Menelaus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:35 AM" }
66-
]
62+
{ "id": 49, "from": "User1", "to": "Menelaus", "text": "Hi Good Morning!", "time": "11:35 AM" },
63+
{ "id": 50, "from": "Menelaus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:35 AM" },
64+
{ "id": 51, "from": "User1", "to": "Menelaus", "text": "Good. Thank you", "time": "11:35 AM" },
65+
{ "id": 52, "from": "Menelaus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:35 AM" }
66+
]

src/data/gallery.json

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
[
2-
{
3-
"id": "#1Gallery",
4-
"image": "img-gal-1.png",
5-
"title": "1080p_table_denar.pdf",
6-
"dateTime": "Tue Aug 24 2021"
7-
},
8-
{
9-
"id": "#2Gallery",
10-
"image": "img-gal-2.png",
11-
"title": "handmade.mp2",
12-
"dateTime": "Fri Apr 30 2021"
13-
},
14-
{
15-
"id": "#3Gallery",
16-
"image": "img-gal-3.png",
17-
"title": "granite_cheese.wav",
18-
"dateTime": "Fri Jun 25 2021"
19-
},
20-
{
21-
"id": "#4Gallery",
22-
"image": "img-gal-4.png",
23-
"title": "invoice.mpg",
24-
"dateTime": "Sat Oct 23 2021"
25-
},
26-
{
27-
"id": "#5Gallery",
28-
"image": "img-gal-5.png",
29-
"title": "benchmark_forge.m1v",
30-
"dateTime": "Fri Jan 21 2022"
31-
},
32-
{
33-
"id": "#6Gallery",
34-
"image": "img-gal-6.png",
35-
"title": "violet_withdrawal.png",
36-
"dateTime": "Wed Sep 22 2021"
37-
},
38-
{
39-
"id": "#7Gallery",
40-
"image": "img-gal-7.png",
41-
"title": "web_readiness.mpeg",
42-
"dateTime": "Mon Jul 12 2021"
43-
},
44-
{
45-
"id": "#8Gallery",
46-
"image": "img-gal-8.png",
47-
"title": "zimbabwe.htm",
48-
"dateTime": "Sat Mar 20 2021"
49-
},
50-
{
51-
"id": "#9Gallery",
52-
"image": "img-gal-9.png",
53-
"title": "circuit.m3a",
54-
"dateTime": "Tue Jan 18 2022"
55-
},
56-
{
57-
"id": "#10Gallery",
58-
"image": "img-gal-10.png",
59-
"title": "data_red.png",
60-
"dateTime": "Sun Apr 04 2021"
61-
},
62-
{
63-
"id": "#11Gallery",
64-
"image": "img-gal-11.png",
65-
"title": "handcrafted.html",
66-
"dateTime": "Tue May 25 2021"
67-
},
68-
{
69-
"id": "#12Gallery",
70-
"image": "img-gal-12.png",
71-
"title": "hacking_games.pdf",
72-
"dateTime": "Tue Oct 19 2021"
73-
}
74-
]
2+
{
3+
"id": "#1Gallery",
4+
"image": "img-gal-1.png",
5+
"title": "1080p_table_denar.pdf",
6+
"dateTime": "Tue Aug 24 2021"
7+
},
8+
{
9+
"id": "#2Gallery",
10+
"image": "img-gal-2.png",
11+
"title": "handmade.mp2",
12+
"dateTime": "Fri Apr 30 2021"
13+
},
14+
{
15+
"id": "#3Gallery",
16+
"image": "img-gal-3.png",
17+
"title": "granite_cheese.wav",
18+
"dateTime": "Fri Jun 25 2021"
19+
},
20+
{
21+
"id": "#4Gallery",
22+
"image": "img-gal-4.png",
23+
"title": "invoice.mpg",
24+
"dateTime": "Sat Oct 23 2021"
25+
},
26+
{
27+
"id": "#5Gallery",
28+
"image": "img-gal-5.png",
29+
"title": "benchmark_forge.m1v",
30+
"dateTime": "Fri Jan 21 2022"
31+
},
32+
{
33+
"id": "#6Gallery",
34+
"image": "img-gal-6.png",
35+
"title": "violet_withdrawal.png",
36+
"dateTime": "Wed Sep 22 2021"
37+
},
38+
{
39+
"id": "#7Gallery",
40+
"image": "img-gal-7.png",
41+
"title": "web_readiness.mpeg",
42+
"dateTime": "Mon Jul 12 2021"
43+
},
44+
{
45+
"id": "#8Gallery",
46+
"image": "img-gal-8.png",
47+
"title": "zimbabwe.htm",
48+
"dateTime": "Sat Mar 20 2021"
49+
},
50+
{
51+
"id": "#9Gallery",
52+
"image": "img-gal-9.png",
53+
"title": "circuit.m3a",
54+
"dateTime": "Tue Jan 18 2022"
55+
},
56+
{
57+
"id": "#10Gallery",
58+
"image": "img-gal-10.png",
59+
"title": "data_red.png",
60+
"dateTime": "Sun Apr 04 2021"
61+
},
62+
{
63+
"id": "#11Gallery",
64+
"image": "img-gal-11.png",
65+
"title": "handcrafted.html",
66+
"dateTime": "Tue May 25 2021"
67+
},
68+
{
69+
"id": "#12Gallery",
70+
"image": "img-gal-12.png",
71+
"title": "hacking_games.pdf",
72+
"dateTime": "Tue Oct 19 2021"
73+
}
74+
]

src/data/kanban-columns-order.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
["column-1", "column-2", "column-3", "column-4"]
1+
["column-1", "column-2", "column-3", "column-4"]

src/data/kanban-columns.json

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
[
2-
{
3-
"id": "column-1",
4-
"title": "New",
5-
"itemIds": ["3542", "8903", "1381"]
6-
}, {
7-
"id": "column-2",
8-
"title": "Active",
9-
"itemIds": ["6739", "3950", "6924"]
10-
}, {
11-
"id": "column-3",
12-
"title": "Resolved",
13-
"itemIds": ["4398"]
14-
}, {
15-
"id": "column-4",
16-
"title": "Closed",
17-
"itemIds": ["9589", "3410", "8679"]
18-
}
2+
{
3+
"id": "column-1",
4+
"title": "New",
5+
"itemIds": ["3542", "8903", "1381"]
6+
},
7+
{
8+
"id": "column-2",
9+
"title": "Active",
10+
"itemIds": ["6739", "3950", "6924"]
11+
},
12+
{
13+
"id": "column-3",
14+
"title": "Resolved",
15+
"itemIds": ["4398"]
16+
},
17+
{
18+
"id": "column-4",
19+
"title": "Closed",
20+
"itemIds": ["9589", "3410", "8679"]
21+
}
1922
]

src/data/kanban-userstory-order.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
["2647", "7833", "6940", "4656"]
1+
["2647", "7833", "6940", "4656"]

0 commit comments

Comments
 (0)