Giter Site home page Giter Site logo

johnmahlon / coffee-ratio Goto Github PK

View Code? Open in Web Editor NEW
84.0 84.0 53.0 1.71 MB

This is an open source app made to help home brewers brew their coffee by calculating the grams of water needed, and run a timer all in the same screen.

Swift 100.00%

coffee-ratio's Introduction

Howdy ๐Ÿค 

My name is John Peden. Mahlon (MAY-luhn) is my middle name.

๐Ÿ’ผ I'm an iOS Developer at AllianceBernstein

๐Ÿ  Living in Nashville, TN

Other than programming, I enjoy playing guitar, taking photos, hiking, running (slowly), reading, and watching sports.

You can find me on Mastodon

coffee-ratio's People

Contributors

bigjermaine avatar johnmahlon avatar pointofnilreturn avatar ravneet5911 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coffee-ratio's Issues

Create new project from scratch

Since this is so old, I will be creating a new base project from scratch and building with SwiftUI as a project to teach myself.

Calculation

The coffee calculation fields need to be added with functionality.

Coffee brewing works in ratios.

I typically prefer a 1:16 ration, meaning 16 grams of water for every gram of coffee.

This app will need a field to input coffee in grams, water in grams, and the water ratio field. The last of either the coffee or water will determine that the other field will be updated. i.e. if grams was edited last, then the water will update.

Suggestion: Timer UX

Overall this app is nearly perfect. However the Start/Clear/End buttons on the timer are a bit abstract, since the Start button does nothing when the timer is running and the end button does nothing when the timer is stopped. Suggestion:

  1. Remove the End button.
  2. When the timer is running, Start should become Stop.
  3. Rename End to Reset.
    The goal is to have no useless buttons, and to follow naming conventions.

Settings

  • Count up vs. Count Down

  • Default ratio storage

  • grams or tbsp

Add ability to reset timer

I forgot to add that functionality in. I'm thinking it will be reset by long pressing the start button. Maybe a 3d press? I want to do something cool.

Keyboard pushes CoffeeInput out of frame

Hey @johnmahlon - Trying to get my feet wet with SwiftUI and this is the perfect starter for me. Found this little visual bug with the keyboard on an iPhone 12 Pro Max simulator running iOS 14.5

simulator_screenshot_EEDBACB5-502C-4369-8C4C-78891DDEDA52

I'm very familiar with building apps with Interface Builder but am brand new to SwiftUI. I'm going to tinker around and see if I can fix this issue. If you have any tips in the meantime, feel free to lmk here.

Edit: Realizing that the screenshot doesn't show the notch of the simulator. But the notch is blocking the view, so I'm guessing it's just a matter of telling the VStack to obey the safe area or something along those lines.

Feature request: edit water field

I have dozens of cups of all different sizes. Sometimes I need to brew based on total volume rather than grounds volume. Please allow the water field to be editable.

Feature request: countdown timer

I like to use countdown timers rather than count-up because I am easily distracted and will wander off while making coffee. A countdown timer would sound an alarm and remind me that I am making coffee.
This can be implemented by tapping the timer itself which would prompt for a value.

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.