Git Product home page Git Product logo

mmm-mealiemenu's People

Contributors

btoconnor avatar dependabot[bot] avatar semantic-release-bot avatar zanix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

btoconnor

mmm-mealiemenu's Issues

Meal plan with notes throws error

Occasionally we make meal plans where some days just use the "Note" feature, rather than linking to a recipe. I created one on our current meal plan, and the MMM-MealieMenu module threw an error:

MMM-MealieMenu.js:279 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'name')
    at Class.formatMeals (MMM-MealieMenu.js:279:27)
    at Class.socketNotificationReceived (MMM-MealieMenu.js:172:49)
    at module.js:235:9
    at Socket.<anonymous> (socketclient.js:38:4)
    at Emitter.emit (index.mjs:136:20)
    at Socket.emitEvent (socket.js:498:20)
    at Socket.onevent (socket.js:485:18)
    at MMSocket.socket.onevent (socketclient.js:32:11)
    at Socket.onpacket (socket.js:455:22)
    at Emitter.emit (index.mjs:136:20)

It looks like this function is assuming all of the entries will be linked recipes.

These can be added in mealie by toggling the "Note Only" flag:
image

New Style

Add a new style that is similar to Mealie.

  1. Grouped by date
    • Only show each date once and list all the day's meals under the date
  2. Single column for small widths, wrap days for wider widths
  3. Add rating?
  4. Allow switching between styles
Mealie meal plan (single column)

image

Mealie meal plan (multi-column)

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.