Confetti for the winners #37

Merged
guggerud merged 3 commits from feat/confetti into master 2020-09-11 07:47:50 +00:00
guggerud commented 2020-09-10 12:15:05 +00:00 (Migrated from github.com)

WOULD BE NICE WITH A DESCRIPTION AND REFERENCE TO THE RELATED ISSUE:)

WOULD BE NICE WITH A DESCRIPTION AND REFERENCE TO THE RELATED ISSUE:)
KevinMidboe (Migrated from github.com) reviewed 2020-09-10 12:19:53 +00:00
KevinMidboe (Migrated from github.com) commented 2020-09-10 12:17:15 +00:00

Instead of having a check here how about only calling startConfetti() and have it check what the name is and either do normal size or uber size?

Instead of having a check here how about only calling `startConfetti()` and have it check what the name is and either do normal size or uber size?
@@ -147,9 +150,39 @@ export default {
case 3:
return "yellow";
}
KevinMidboe (Migrated from github.com) commented 2020-09-10 12:19:41 +00:00

This is pretty similar to the function above. Can some of the code be separated into a more general function and instead send defaults or confetti objects down to the more general function?

This is pretty similar to the function above. Can some of the code be separated into a more general function and instead send `defaults` or confetti objects down to the more general function?
@@ -151,2 +181,4 @@
}
},
}
};
KevinMidboe (Migrated from github.com) commented 2020-09-10 12:17:36 +00:00

Nice with a comment that explains the size in seconds here.

Nice with a comment that explains the size in seconds here.
guggerud (Migrated from github.com) reviewed 2020-09-10 12:22:06 +00:00
guggerud (Migrated from github.com) commented 2020-09-10 12:22:06 +00:00

Good idea! Thanks for the input

Good idea! Thanks for the input
guggerud (Migrated from github.com) reviewed 2020-09-10 12:23:07 +00:00
@@ -151,2 +181,4 @@
}
},
}
};
guggerud (Migrated from github.com) commented 2020-09-10 12:23:07 +00:00

I will include a comment to be more descriptive, thanks!

I will include a comment to be more descriptive, thanks!
KevinMidboe commented 2020-09-10 12:25:22 +00:00 (Migrated from github.com)

Also, how about having some minor randomness in the size of the normal confetti for variety?

Also, how about having some minor randomness in the size of the normal confetti for variety?
guggerud (Migrated from github.com) reviewed 2020-09-10 12:25:44 +00:00
@@ -147,9 +150,39 @@ export default {
case 3:
return "yellow";
}
guggerud (Migrated from github.com) commented 2020-09-10 12:25:44 +00:00

I should indeed be able to reduce redundancy here!

I should indeed be able to reduce redundancy here!
guggerud (Migrated from github.com) reviewed 2020-09-10 14:51:22 +00:00
guggerud (Migrated from github.com) commented 2020-09-10 14:51:22 +00:00

Fixed

Fixed
guggerud (Migrated from github.com) reviewed 2020-09-10 14:51:32 +00:00
@@ -151,2 +181,4 @@
}
},
}
};
guggerud (Migrated from github.com) commented 2020-09-10 14:51:32 +00:00

Fixed

Fixed
guggerud (Migrated from github.com) reviewed 2020-09-10 14:51:39 +00:00
@@ -147,9 +150,39 @@ export default {
case 3:
return "yellow";
}
guggerud (Migrated from github.com) commented 2020-09-10 14:51:39 +00:00

fixed

fixed
KevinMidboe (Migrated from github.com) reviewed 2020-09-11 07:30:40 +00:00
KevinMidboe (Migrated from github.com) commented 2020-09-11 07:29:55 +00:00

What is x & y here? Can we give them more descriptive names?

What is `x` & `y` here? Can we give them more descriptive names?
KevinMidboe (Migrated from github.com) approved these changes 2020-09-11 07:46:37 +00:00
Sign in to join this conversation.
No description provided.