adrenth / oc-coffeemanager-plugin Goto Github PK
View Code? Open in Web Editor NEWA Coffee Manager for nerds
A Coffee Manager for nerds
When a participant chooses not to participate in a coffee round, the participant should not be receiving notifications of that particular round.
Add soft deletes to all models to preserve history of served beverages.
Add conditions to beverages / beverage groups.
For example, "beer" can only be chosen on Friday 16:15.
oc-coffeemanager-plugin/components/Client.php
Line 395 in a93e4ca
Doesn't check if the round is finished already.
See https://github.com/pusher/pusher-http-php for all options, these should be added to the config. Keep the defaults in mind.
When you're leaving the group you won't leave the round.
Add a button "I'm feeling lucky" which randomly selects a beverage.
When joining the Coffee Manager, let the participant choose which group they want to join.
Before finishing a round a reminder to collect the points should be given briefly before finishing the round.
Add a countdown timer which counts down until the designated participant will be picked. This can be added under the "expires at" (we can also replace the "expires at" with the countdown timer);
To enhance the UI we could introduce a photo/avatar.
For example a Gravatar?
oc-coffeemanager-plugin/components/Client.php
Line 193 in a93e4ca
Doesn't validate if the value in "minutes" is a valid value provided in the frontend.
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
When the round expires the current_round_id in the group table isn't set to "null";
https://github.com/adrenth/oc-coffeemanager-plugin/blob/develop/console/ServeRounds.php#L50
Should update the group also like:
oc-coffeemanager-plugin/components/Client.php
Line 413 in a93e4ca
A participant can forget to finish the round after serving it.
Create a console command to finish unfinished rounds automatically after x minutes.
Currently it's possible to login as every user, without using a password. Could this be secured by using an password and for additional security an 2-factor?
When someone gets the coffee voluntarily, save it in the database (some flag like "voluntarily" true / false).
Now the default October CMS is shown. This should be replaced with the app icon.
Users get errors when session expires. This should be handled correctly.
Add an achievement system.
Discuss.
The participant list can get long, add option groups to the select box (just like the beverages);
It's possible to define actions for a notification. See: https://web-push-book.gauntface.com/chapter-05/02-display-a-notification/#actions
Usage could be to select your default beverage from the notification without visiting the actual page every time.
Instead of waiting for a couple of minutes, the initiator can choose to serve immediately. Downside for the initiator is that the initiator will be the designated participant.
Split UI in more partials which can be updated separately so the user will not be bothered by partial updates.
Add option to join as "designatedParticipant", when someone forced him / herself to be "designatedParticipant" the system doesn't pick 1 randomly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.