lunatech-labs / lunatech-lunch-planner Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://lunch.lunatech.nl/
Home Page: https://lunch.lunatech.nl/
In the list of days / menu add the possibility for the user to tell if he/she will be attending lunch
The user should not need to have to enter the menu details to say if he/she will attend lunch
Add a user profile separator that allows the user to add information about diet restrictions:
Add a minimum amount of keyboard shortcuts.
Pay attention to do not override any import browser / system shortcut.
Create endpoints to:
In the admin beside the number of attendees to a certain meal, in the details of the schedule, add the list of people that is attending the meal.
By default, show only future meals in the "schedules" separator.
Add a date range filter that allows filtering a custom time frame.
Add flash messages to the top of the screen after the admin has created a new dish, menu, or schedule
The idea is to create a Slack bot to remind users (via direct message) and ask them is they'll be attending the lunch or not. This will give the convenience for users to decide via Slack and by not going to the lunch app. This will also give better tracking and better data for the monthly report.
Lunch bot specs:
Feel free to add, edit the bot specs.
update from1.1.1-P25-B3-SNAPSHOT
to 1.1.1-P25-B3
Show only future meals in the "planned meals" separator
The current google api credentials, in order to use the Google Authorisation are linked to my lunatech email account!
Contact Sietse/ Erik Bakker in order to find out to who can create these credentials in a lunatech "general" account and modify it on the clever cloud env variables.
A Menu is a simple entity with an id and a name that will be referenced by a Dish.
No FE is necessary at this point.
It would be nice to have an option to have some lunch option selected by default.
For example the option for which there were the most votes.
And only not to get lunch if you select option ‘no lunch’.
The user should be able to select for a given date only one scheduled meal if there are planning to go to any of the available locations.
For that goal a new column should be added, Location, which shows where it's scheduled.
Also, for UI consistency sake the user should still see a checkbox for the selection, but with the caveat that would only be possible to select only one location per date (this validation should happen on the frontend as well as in the backend).
On why use a checkbox and not a radio button: Certainly a radio button would make things easier on selection, validation wise, since you would be allowed to select only one option. But this has two drawbacks:
Everyone
On #99
(Depends on issue 99)
After adding locations to the lunch planner, modifications in the UI have to be put in place.
One option would be to add a location office to the profile of the user, but the truth is that we want people to be able to easily choose if they are going to Rotterdam or Amsterdam office on different Fridays, so this may not be the best option.
In summary, after adding locations to the app, make it work nice in the UI 😄
Create endpoint to:
depends on:
user profile implementation
new functionality
Add to the list of people attending a meal a summary of the diet restrictions
In the menu details view allow the possibility for the user to tell if he/she will be attending lunch
Google sign in was implemented, but new users still have to be added to the DB so that they can say when they are attending lunch
The days available to the admin will be all days in the calendar.
We may want to book other lunches or meals for other days
When a separator in the side bar is selected, there is no visual evidence of it.
For dishes / menus / schedules, add a confirmation dialog when the user attempts to delete something.
@dirkjonker gave the idea of synchronising the lunch and vacation apps!
We don't want the user to lose any previous choices, so i think this features has to be user-proactive.
A simple button that allows the user synchronise both apps. If the user is on vacation a certain Friday, then the attendance should be set automatically to "Not attenting". Simple! Simple!
TODO: check with the vacation app people if this can be done
Create endpoints to
The MailerUtils
is dead code, not being used. Please remove it
I have noticed that when editing a menu, clicking in the labels of the dishes to select them, selects always the first dish.
To solve this issue check the code for the code for newMenu.scala.html
, line 22. An index
has to be added!
Check as well if this issue is happening in any other view
A dish has detailed information about the food that will be available and it will be associated with one or more menus
No FE is necessary at this point.
Add an extra option to allow people to explicitly say that they are not attending a meal.
This entity will held mapping between dishes and the menu(s) it belongs to
Add the possibility of selecting all or unselecting all meals in the "planned meal" separator
Create endpoint to:
From the list of days/ menus the user will be able click on the item in order to see it's details:
Every week (Monday, for example) a friendly reminder should be sent to all users, to remind them that they should update their attendance.
Add the scalastyle and scoverage plugins to generate reports to make sure the code quality of the project.
I would really appreciate a monthly report with the total amount of people who have had lunch. This is for tax purposes.
Now that the lunch app supports meals at different locations, this need to be reflected in the monthly reports.
The organization of the information is an open point. You can ask Shelley what is her preference
The administrator has added more than one menu for the same day hoping that people would choose only one of those menus (for the same day), but the app allows the user to choose for more than one menu in the same day.
Add a validation that does not allow this and explains the user that is case of more than one menu in the same day only one can be selected
This entity will held mapping between menus and the days they will be available
Create endpoints to:
The user should be able to define where a 'scheduled meal' is going to happen.
When creating an new 'scheduled meal' the user should see a dropdown with just two options:
The selection must be mandatory.
=================================================================
Lunatech is growing and lunch has to be organised for more than one office on Fridays.
The current version does not have the notion off a location for the planned meals.
For admin users, add the possibility to add / modify locations.
The option to delete can also be added, but at least add a confirmation dialog to it.
After the user is logged in in the application,
a list of days with date and menu name should be presented to him/ her
This entity will held mapping between people and the days they will attend the meal
Create the entity user, model and DB
Search for users by UUID and email address should be available
When the Lunch app was created it was not known that reports about who attended a meal were necessary. Because of this whenever data is deleted, a hard delete takes places.
Issue: Reports of past months have little data, it's known that more people have attended the meals. Data has disappeared.
Resolution: Let's created a "Deleted" column in the BD that will just mark the data as deleted.
Currently when, for example, a dish is deleted, all related data is deleted as well because of foreign keys in the BD
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.