dboehmer / coocook Goto Github PK
View Code? Open in Web Editor NEW👨🍳🦉 Web application for collecting recipes and making food plans
Home Page: https://coocook.org/
License: Other
👨🍳🦉 Web application for collecting recipes and making food plans
Home Page: https://coocook.org/
License: Other
Add footer and supply standard content for it.
When editing a recipe one can either edit existing ingredients or add another ingredient.
Lina wants a warning or other UI hint when changing existing ingredients and then adding another ingredient.
For everyone unable to find the print dialog in their browser or press Ctrl+P;-)
How to trigger the print dialog from HTML/JS?
There is one import dialog:
You can choose the project to import data from.
There are several options which part of the project you want to import:
units
units, recipes, articles -> additionally you can choose if you want to import recipes and articles with their tags
units, articles -> additionally you can choose if you want to import articles with their tags
Additionally you can choose if you want to import the following:
shop sections
tags
You can not import meals.
like on 17.7. in project SOLA Carina
From SOLA Lippe:
Ich habe von unserem Sola-Koch aus der ersten Sola-Woche gehört, dass die nötige Menge an Salz und Gewürzen nicht proportional mit der Menge steigen soll, sondern dass bei größeren Mengen weniger nötig ist. D. h. es liegt nicht mehr ein linearer Zusammenhang vor. Ich kenne leider keine neue Formel.
This is not a must-have for now but should be kept in mind. But I think we can't do that right now. If we ever implement this, we'll just need to change the database and have a migration.
Steps to reproduce:
Actual result: purchase list item still holds old value
Expected result: purchase list item is updated
Open questions: How to handle purchase list items with value changed by hand, e.g. ceiled number? Maybe save if value was edited by hand and warn if?
In the new surface the error message is displayed in the header. Put it in the content part and change its look.
When changing the select box of the article to add to the recipe
The select button in the project overview has no real benefit at the moment. Change it so that you can really select projects with it or delete it.
Add plain text field to recipes to add comments concerning experiences and long remarks.
Alternatives:
one additional text box like preparation and description
comment input box to add comment to a list of comments (like in github)
Think about printing, if you can choose to add these comments.
Prevent removing an applicable unit from an article if it is being used for any recipe or ingredient.
Optional print data:
Currently the date format YYYY-MM-DD
is expected and passed to the database as is.
Controller::Meal->create
Controller::PurchaseList->create
Thanks to DBIx-Class this is not a security risk because any value is still escaped.
Should the delete action be prohibited or what should be done with the purchase list item?
Caution: Not yet implemented but planned is that the purchase list item can have an offset, e.g. to get a rounded value. Example: 400g + 0.5kg = 0.9kg. An offset of +0.1kg is used to get exactly 1kg. Now if 400g is deleted 0.5kg+0.1kg remains …
Add function to choose a tag group and get suggestion of underlying tags at articles page.
It's tedious to click all day plans and purchase lists and print each one.
Add a form to select days and purchase lists to display and render a page with all of them.
Important: use CSS page-break-before
to split the lists on different pages as when they were rendered seperately. https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-before
You made some changes in the database, especially the added columns that reference projects. Please push your changes and merge your extra branch so that I can continue to work.
Firefox correctly claims that nested <form>
s don't work. I didn't test other browsers yet.
Problem in the project editor is that the list of meals & dishes is a large table. The are small forms inside the table to edit meals and dishes. Also there is a larger outer form to delete selected dishes.
<form></form>
inside the outer form above the table. Now all inner forms work but the outer one is broken because the <form>
is deemed invalid and </form>
closes the outer form.How to fix this? Ideas:
In units view add half space by default if checkbox is not checked.
Coocook should be free and open source software (FOSS).
LICENSE
fileI have a new account at travis-ci.org but Coocook fails to build due to travis.yaml
(?) missing.
Even without I18n we should validate number input fields and reject inputs with wrong format or cast them into numbers.
Currently causes exception on the units page when adding a unit with conversion factor containing a comma like 0,001
.
Sowas in der Art wolltest du noch machen oder die Config für das Generieren der Tabellen oder so.
Add template and controller for default error page.
Maybe with DataTables? https://datatables.net/
Filter by:
Sort by:
In the project overview there should be a possibility to delete projects, perhaps with a warning and a second confirmation.
Link project to 1 user with acess permissions or link project to multiple users with roles, e.g. admin or simple user.
At the moment you can add projects without a name. Check if there is a name before creating a project. Otherwise stop it and give a hint to the user that he has to insert a name first.
Any controller that throws an error should be able to pass an error message when redirecting to another page.
When the dish in the current plan is changed one should be able to adjust the original recipe accordingly.
I imagine two buttons:
Actual feature request: print project overview with additional columns for cooking and cleaning dishes.
Idea: generically allow adding custom columns which are empty.
Browsers ignore background images and colors while printing.
How to print the print view without the green background of the program but with any type of markup of the prepared ingredients?
Other ideas:
Under /print
Think about how to document the project and which elements to provide additionally.
Like unit page already is.
Below recipes/dishes there is a form for adding articles. We need to somehow handle articles without name. That could mean:
At articles page add autocompletion of tags.
"my" variable $input_okay masks earlier declaration in same statement at /home/daniel/workspace/coocook/script/../lib/Coocook/Controller/Recipe.pm line 73, line 1.
You just have to look for multiple my $input_okay
statements. Can you fix that?
The value of ingredients increments at the third decimal place by klicking up. That's not wanted behavior.
Steps to reproduce:
Actual result: "ingredient, dish on date B"
Expected result: "ingredient, prepared on date A, dish on date B"
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.