Code Monkey home page Code Monkey logo

tp's Introduction

McGymmy Diet tracker

CI Status

Ui

  • McGymmy is a CLI based application for sedentary software engineers to manage their diet and stay healthy.

    • The CLI aspect of the application benefits the target audience (software engineers), as it is something often used by them.
  • For the detailed documentation of this project, see the McGymmy Product Website.

Extras

tp's People

Contributors

jh123x avatar zhiyuan-amos avatar pyokagan avatar yamgent avatar aidoxe-123 avatar chewypiano avatar damithc avatar joeychensmart avatar dcchan98 avatar m133225 avatar mightycupcakes avatar yamidark avatar rinder5 avatar j-lum avatar limmlingg avatar eugenepeh avatar sijie123 avatar chao1995 avatar vivekscl avatar lejolly avatar yl-coder avatar fzdy1914 avatar pierceandy avatar ndt93 avatar edmundmok avatar kychua avatar okkhoy avatar alexlmeow avatar lixiaoooowei avatar verylazyboy avatar

Watchers

James Cloos avatar  avatar

tp's Issues

Weird undo bug when find returns multiple items

How to recreate a bug:

  • add -n test 1
  • add -n test
  • find test
  • undo
    => At this stage, the program will successfully undo and the first test item will be deleted, which is different from what is expected)

To create expected behavior:

  • (Any find command that returns one item) (E.g start with a default mcgymmy -> find Nasi Lemak)
  • undo
    => The program announces that you cannot undo anymore

Investigate RuntimeExceptions

Some of AB3's exceptions inherit from the dangerous RuntimeException. This could result in many uncaught bugs.
We should used checked exceptions as much as possible so the code fails more gracefully.

Store macro commands

Currently, the macro commands are not stored between uses yet. I think we need to implement a way to store it to make this functionality meaningful

Update UG/DG with valid comments from other peer reviewers

Todo for UG

  • Add note to undo for macros
  • Add updated find to UG
  • Add updated clear to UG
  • Add updated Undo
  • Add updated GUI pictures.
  • Explicitly add hyperlink for appendix A
  • Update all command words with ``
  • Update terminology. Update MG with McGymmy
  • Define flag at the start of UG
  • Maybe update definition of Parameter
  • Maybe shift warning into note (Danger box)
  • Maybe Add more hyperlinks to the command summary
  • Maybe update You-language
  • Maybe update phrasing for export command.
  • Maybe crop/cut images

Todo for DG:

  • IGNORE Introduce the name of the package more
  • Mention that MG and McGymmy are interchangeable
  • Update Glossary in DG
  • Add hyperlink to AddressBook3 in DG / remove it
  • Define flag at the start of DG (In glossary)
  • Standardise formatting
  • Remove data archiving
  • Fix Grammar / Spelling
  • Maybe number the sections
  • Maybe resize the images
  • Maybe Delete .puml tutorial note
  • Caps JSON

Add default macros

IIRC we have a SampleDataUtil thing for the food list, could add this in the same place.

We could add shortcuts: e.g.

  • add -> a
  • edit -> e
  • clear -> x

Also some 'composite commands'

  • editTag -> untag and tag
  • deleteAllTagged -> find -tag tag -> clear

Add "add food" command

As a user, I want to be able to easily add food items/details to keep track of my diet.

Add "macro" command

As an expert user, I can create shortcuts for tasks, so that I can save time on frequently performed tasks.

Make Clear Command only clear displayed items

The old behavior can be replicated by simply displaying all items before using clear.

This way we can easily make some multi-value commands using macro.

e.g. for a command deleteAll [STRING] which deletes all food items which contains the name [STRING],
we can simply create a macro that does find [STRING] and subsequently clear to delete the selected items.

I think we can further generalize this pattern to create more commands with ease.

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.