Skip to content

Commit

Permalink
Task 6014: kanban - swr and fixed eslint and prettier (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: ct-amit <[email protected]>
  • Loading branch information
ct-amit and ct-amit authored Sep 25, 2023
1 parent 378d632 commit 920c308
Show file tree
Hide file tree
Showing 20 changed files with 513 additions and 159 deletions.
4 changes: 2 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const nextConfig = {
reactStrictMode: true,
env: {
DEV_API: 'http://localhost:3000',
PRODUCTION_API: '',
},
PRODUCTION_API: ''
}
};

export default nextConfig;
106 changes: 53 additions & 53 deletions src/data/chat-history.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
[
{ "id": 1, "from": "User1", "to": "Alene", "text": "Hi Good Morning!", "time": "11:23 AM" },
{ "id": 2, "from": "Alene", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:23 AM" },
{ "id": 3, "from": "User1", "to": "Alene", "text": "Good. Thank you", "time": "11:23 AM" },
{ "id": 4, "from": "Alene", "to": "User1", "text": "I need your minute, are you available?", "time": "11:23 AM" },
{ "id": 1, "from": "User1", "to": "Alene", "text": "Hi Good Morning!", "time": "11:23 AM" },
{ "id": 2, "from": "Alene", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:23 AM" },
{ "id": 3, "from": "User1", "to": "Alene", "text": "Good. Thank you", "time": "11:23 AM" },
{ "id": 4, "from": "Alene", "to": "User1", "text": "I need your minute, are you available?", "time": "11:23 AM" },

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

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

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

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

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

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

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

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

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

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

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

{ "id": 49, "from": "User1", "to": "Menelaus", "text": "Hi Good Morning!", "time": "11:35 AM" },
{ "id": 50, "from": "Menelaus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:35 AM" },
{ "id": 51, "from": "User1", "to": "Menelaus", "text": "Good. Thank you", "time": "11:35 AM" },
{ "id": 52, "from": "Menelaus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:35 AM" }
]
{ "id": 49, "from": "User1", "to": "Menelaus", "text": "Hi Good Morning!", "time": "11:35 AM" },
{ "id": 50, "from": "Menelaus", "to": "User1", "text": "Hey. Very Good morning. How are you?", "time": "11:35 AM" },
{ "id": 51, "from": "User1", "to": "Menelaus", "text": "Good. Thank you", "time": "11:35 AM" },
{ "id": 52, "from": "Menelaus", "to": "User1", "text": "I need your minute, are you available?", "time": "11:35 AM" }
]
146 changes: 73 additions & 73 deletions src/data/gallery.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
[
{
"id": "#1Gallery",
"image": "img-gal-1.png",
"title": "1080p_table_denar.pdf",
"dateTime": "Tue Aug 24 2021"
},
{
"id": "#2Gallery",
"image": "img-gal-2.png",
"title": "handmade.mp2",
"dateTime": "Fri Apr 30 2021"
},
{
"id": "#3Gallery",
"image": "img-gal-3.png",
"title": "granite_cheese.wav",
"dateTime": "Fri Jun 25 2021"
},
{
"id": "#4Gallery",
"image": "img-gal-4.png",
"title": "invoice.mpg",
"dateTime": "Sat Oct 23 2021"
},
{
"id": "#5Gallery",
"image": "img-gal-5.png",
"title": "benchmark_forge.m1v",
"dateTime": "Fri Jan 21 2022"
},
{
"id": "#6Gallery",
"image": "img-gal-6.png",
"title": "violet_withdrawal.png",
"dateTime": "Wed Sep 22 2021"
},
{
"id": "#7Gallery",
"image": "img-gal-7.png",
"title": "web_readiness.mpeg",
"dateTime": "Mon Jul 12 2021"
},
{
"id": "#8Gallery",
"image": "img-gal-8.png",
"title": "zimbabwe.htm",
"dateTime": "Sat Mar 20 2021"
},
{
"id": "#9Gallery",
"image": "img-gal-9.png",
"title": "circuit.m3a",
"dateTime": "Tue Jan 18 2022"
},
{
"id": "#10Gallery",
"image": "img-gal-10.png",
"title": "data_red.png",
"dateTime": "Sun Apr 04 2021"
},
{
"id": "#11Gallery",
"image": "img-gal-11.png",
"title": "handcrafted.html",
"dateTime": "Tue May 25 2021"
},
{
"id": "#12Gallery",
"image": "img-gal-12.png",
"title": "hacking_games.pdf",
"dateTime": "Tue Oct 19 2021"
}
]
{
"id": "#1Gallery",
"image": "img-gal-1.png",
"title": "1080p_table_denar.pdf",
"dateTime": "Tue Aug 24 2021"
},
{
"id": "#2Gallery",
"image": "img-gal-2.png",
"title": "handmade.mp2",
"dateTime": "Fri Apr 30 2021"
},
{
"id": "#3Gallery",
"image": "img-gal-3.png",
"title": "granite_cheese.wav",
"dateTime": "Fri Jun 25 2021"
},
{
"id": "#4Gallery",
"image": "img-gal-4.png",
"title": "invoice.mpg",
"dateTime": "Sat Oct 23 2021"
},
{
"id": "#5Gallery",
"image": "img-gal-5.png",
"title": "benchmark_forge.m1v",
"dateTime": "Fri Jan 21 2022"
},
{
"id": "#6Gallery",
"image": "img-gal-6.png",
"title": "violet_withdrawal.png",
"dateTime": "Wed Sep 22 2021"
},
{
"id": "#7Gallery",
"image": "img-gal-7.png",
"title": "web_readiness.mpeg",
"dateTime": "Mon Jul 12 2021"
},
{
"id": "#8Gallery",
"image": "img-gal-8.png",
"title": "zimbabwe.htm",
"dateTime": "Sat Mar 20 2021"
},
{
"id": "#9Gallery",
"image": "img-gal-9.png",
"title": "circuit.m3a",
"dateTime": "Tue Jan 18 2022"
},
{
"id": "#10Gallery",
"image": "img-gal-10.png",
"title": "data_red.png",
"dateTime": "Sun Apr 04 2021"
},
{
"id": "#11Gallery",
"image": "img-gal-11.png",
"title": "handcrafted.html",
"dateTime": "Tue May 25 2021"
},
{
"id": "#12Gallery",
"image": "img-gal-12.png",
"title": "hacking_games.pdf",
"dateTime": "Tue Oct 19 2021"
}
]
2 changes: 1 addition & 1 deletion src/data/kanban-columns-order.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["column-1", "column-2", "column-3", "column-4"]
["column-1", "column-2", "column-3", "column-4"]
37 changes: 20 additions & 17 deletions src/data/kanban-columns.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
[
{
"id": "column-1",
"title": "New",
"itemIds": ["3542", "8903", "1381"]
}, {
"id": "column-2",
"title": "Active",
"itemIds": ["6739", "3950", "6924"]
}, {
"id": "column-3",
"title": "Resolved",
"itemIds": ["4398"]
}, {
"id": "column-4",
"title": "Closed",
"itemIds": ["9589", "3410", "8679"]
}
{
"id": "column-1",
"title": "New",
"itemIds": ["3542", "8903", "1381"]
},
{
"id": "column-2",
"title": "Active",
"itemIds": ["6739", "3950", "6924"]
},
{
"id": "column-3",
"title": "Resolved",
"itemIds": ["4398"]
},
{
"id": "column-4",
"title": "Closed",
"itemIds": ["9589", "3410", "8679"]
}
]
2 changes: 1 addition & 1 deletion src/data/kanban-userstory-order.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["2647", "7833", "6940", "4656"]
["2647", "7833", "6940", "4656"]
Loading

1 comment on commit 920c308

@vercel
Copy link

@vercel vercel bot commented on 920c308 Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.