Skip to content

Commit

Permalink
Merge pull request #71 from dustingrof/fix/seed-data-demo
Browse files Browse the repository at this point in the history
Change seed data for demo - chat icon orange
  • Loading branch information
niccmac authored May 25, 2022
2 parents 792c1f1 + 78dd6d7 commit 84a2f6d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion client/src/components/TopHeader/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const Chat = () => {
size={40}
onClick={() => setOpened(o => !o)}>
{chatIcon ? (
<MessageCircle size={40} color='navy' className='nav-buttons' />
<MessageCircle size={40} color='orange' className='nav-buttons' />
) : (
<MessageCircle2 size={40} className='nav-buttons' />
)}
Expand Down
24 changes: 12 additions & 12 deletions server/db/seeds/03_tasks.sql
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (2, 1, 'Entity relationship diagram', '', '2022-05-14', '2021-12-26', true, 4, 8383, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (3, 1, 'Draw wireframes', '', '2022-05-15', '2021-12-26', true, 4, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (4, 1, 'Build backend routes', '', '2022-05-19', '2021-12-26', true, 4, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (5, 1, 'Add modal views', '', '2022-05-17', '2021-12-26', true, 2, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (6, 1, 'Adjust styling', '', '2022-05-25', '2021-12-26', true, 2, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (7, 1, 'Demo day presentation', '<p>Some thoughts for demo day -- we can show:</p><ul><li>embedded images</li><li><strong><u>rich text</u></strong> formatting</li><li><a href="https://www.lighthouselabs.ca/" rel="noopener noreferrer" target="_blank">hyperlinks</a></li></ul><p><img src="https://i.ibb.co/L51CrY8/bikepacking.png"></p>', '2022-05-27', '2021-12-26', true, 1, 0, 'Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (2, 1, 'Entity relationship diagram', '', '2022-05-14', '2021-12-26', true, 4, 8383, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (3, 1, 'Draw wireframes', '', '2022-05-15', '2021-12-26', true, 4, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (4, 1, 'Build backend routes', '', '2022-05-19', '2021-12-26', true, 4, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (5, 1, 'Add modal views', '', '2022-05-17', '2021-12-26', true, 2, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (6, 1, 'Adjust styling', '<p><img src="https://i.ibb.co/L51CrY8/bikepacking.png"></p>', '2022-05-25', '2021-12-26', true, 2, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (7, 1, 'Demo day presentation', '<p>Some thoughts for demo day -- we can show:</p><ul><li>embedded images</li><li><strong><u>rich text</u></strong> formatting</li><li><a href="https://www.lighthouselabs.ca/" rel="noopener noreferrer" target="_blank">hyperlinks</a></li></ul>', '2022-05-27', '2021-12-26', true, 1, 0, 'Nicole, Dustin');

insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (8, 2, 'Wing the layout', '', '2022-05-26', '2021-12-26', true, 1, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (9, 2, 'Bird database migration', '', '2022-10-26', '2021-12-26', true, 2, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (10, 2, 'Feather edges of background', '', '2022-05-28', '2021-12-26', true, 3, 3456, 'Dustin, Nicole, Iaan');

insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (11, 3, 'Craft business plan', '', '2022-05-27', '2021-12-26', true, 2, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (12, 3, 'Hop on to call with marketing', '', '2022-10-26', '2021-12-26', true, 3, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (13, 3, 'Update background pitcher', '', '2022-05-26', '2021-12-26', true, 3, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (11, 3, 'Craft business plan', '', '2022-05-27', '2021-12-26', true, 2, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (12, 3, 'Hop on to call with marketing', '', '2022-10-26', '2021-12-26', true, 3, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (13, 3, 'Update background pitcher', '', '2022-05-26', '2021-12-26', true, 3, 0, 'Dustin, Iaan');

insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (14, 4, 'Carve out niche in market', '', '2022-05-26', '2021-12-26', true, 2, 0, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (15, 4, 'Review user pole-ing data', '', '2022-10-26', '2021-12-26', true, 2, 555, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (16, 4, 'Cold calls for new clients', '', '2022-05-26', '2021-12-26', true, 4, 111, 'Dustin, Nicole, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (14, 4, 'Carve out niche in market', '', '2022-05-26', '2021-12-26', true, 2, 0, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (15, 4, 'Review user pole-ing data', '', '2022-10-26', '2021-12-26', true, 2, 555, 'Dustin, Iaan');
insert into tasks (id, board_id, title, description, due_date, created_at, active, status, total_time_sec, array_of_users) values (16, 4, 'Cold calls for new clients', '', '2022-05-26', '2021-12-26', true, 4, 111, 'Dustin, Iaan');
ALTER SEQUENCE tasks_id_seq RESTART WITH 17;
6 changes: 3 additions & 3 deletions server/db/seeds/05_messages.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (1,'Iaan','Hey there','8/10/2021',true, 'https://media-exp1.licdn.com/dms/image/C5603AQHwuNX81FzwEQ/profile-displayphoto-shrink_400_400/0/1646859896622?e=1658361600&v=beta&t=nioiZ7kph-nU2N1P97Y7xTeZXJl9OAqUSi0esu6SMu0');
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (2, 'Nicole', 'Morning πŸ–', '8/5/2021', true, 'https://media-exp1.licdn.com/dms/image/C5603AQEUSRGk43oeGA/profile-displayphoto-shrink_800_800/0/1652991046562?e=1658361600&v=beta&t=ORJ1H2_Qk_V8_xJe3w6ia0mfAYo4mdg8TxLaWuRrt5g');
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (3,'Dustin','Hello πŸ‘‹','3/26/2022',true, 'https://media-exp1.licdn.com/dms/image/C5603AQG9TyKFm-53iw/profile-displayphoto-shrink_800_800/0/1646679014931?e=1658361600&v=beta&t=RwhvswjhtXKHoO_UIjWTi84w2qmp6zBFNai3HVmU8Bw');
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (1,'Iaan','Hey there, lets get ready for this presentaion!','8/10/2021',true, 'https://media-exp1.licdn.com/dms/image/C5603AQHwuNX81FzwEQ/profile-displayphoto-shrink_400_400/0/1646859896622?e=1658361600&v=beta&t=nioiZ7kph-nU2N1P97Y7xTeZXJl9OAqUSi0esu6SMu0');
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (2, 'Nicole', 'Morning πŸ–. Ready to go.', '8/5/2021', true, 'https://media-exp1.licdn.com/dms/image/C5603AQEUSRGk43oeGA/profile-displayphoto-shrink_800_800/0/1652991046562?e=1658361600&v=beta&t=ORJ1H2_Qk_V8_xJe3w6ia0mfAYo4mdg8TxLaWuRrt5g');
insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (3,'Dustin','Hello πŸ‘‹. Looking forward to getting started.','3/26/2022',true, 'https://media-exp1.licdn.com/dms/image/C5603AQG9TyKFm-53iw/profile-displayphoto-shrink_800_800/0/1646679014931?e=1658361600&v=beta&t=RwhvswjhtXKHoO_UIjWTi84w2qmp6zBFNai3HVmU8Bw');
-- insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (4,'Dustin','How are you?','7/26/2021',true, 'https://media-exp1.licdn.com/dms/image/C5603AQG9TyKFm-53iw/profile-displayphoto-shrink_800_800/0/1646679014931?e=1658361600&v=beta&t=RwhvswjhtXKHoO_UIjWTi84w2qmp6zBFNai3HVmU8Bw');
-- insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (2,'Nicole','How are you?','5/29/2021',true, 'https://media-exp1.licdn.com/dms/image/C5603AQEUSRGk43oeGA/profile-displayphoto-shrink_800_800/0/1652991046562?e=1658361600&v=beta&t=ORJ1H2_Qk_V8_xJe3w6ia0mfAYo4mdg8TxLaWuRrt5g');
-- insert into messages (id, userLS, message, created_at, active, user_ls_avatar) values (6,'Nicole','Hi Iaan','9/5/2021',true, 'https://media-exp1.licdn.com/dms/image/C5603AQEUSRGk43oeGA/profile-displayphoto-shrink_800_800/0/1652991046562?e=1658361600&v=beta&t=ORJ1H2_Qk_V8_xJe3w6ia0mfAYo4mdg8TxLaWuRrt5g');
Expand Down

0 comments on commit 84a2f6d

Please sign in to comment.