Coder Social home page Coder Social logo

antazoey / patchday-ios Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 72.37 MB

A medication scheduling app optimized for patch staggering. Good for HRT.

Home Page: http://www.patchdayhrt.com

Swift 99.82% Objective-C 0.12% Makefile 0.07%
hacktoberfest transgender

patchday-ios's Introduction

PatchDay

An iOS app for managing HRT medication. The primary use-case is the "patch staggering" technique for transdermal patches. PatchDay also supports Pills, Injection-based HRT, and Gel-based HRT. To learn more about how to set up the app, visit the Support Site.

Build Targets

PatchDay

  • The main app and front-end.

Embedded libraries / widgets

Build Schemes

Notifications Test

Use this scheme to initialize the app with hormones that are about to expire. You can use this target to verify notification-based behavior. Run the target and then minimize the app and wait for notificaitons to appear.

See Contributing to learn more about testing.

Debug

The debug target includes additional logging.

Building

You can build using the make command or via your IDE.

make build

patchday-ios's People

Contributors

antazoey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bunsdev

patchday-ios's Issues

BUG - image disappears after setting after changing delivery method

Reproduce steps:

1.) Start with patches, set the first 2 or 3 patches (auto set)
2.) Change to injections
3.) Change back to patches
4.) auto a second patch - notice how it vanishes.. It comes back when reloading however....

I have looked into it a little bit but everything seems to be working...

Static Hormone Times

Currently, the interval updates after every changes, as part of the inspiration for making the app. However, it'd be cool to have the option to disable that.

Subsequent non-edits to site named New Site trigger unsaved-changes Alert

Problem:

When you create a new site and don't change the name from "New Site" and then you click on edit the site again and then don't make any changes and then back out, it prompts for unsaved changes again. The reason it is doing this is because it is using the same "New Site" to determine that the site is new. We should find a better way to mark a site as "new" so that subsequent returns to the editing view don't cause this prompt again.

(This is not a big deal because most people probably change the site name right away and it is harmless prompt)

Pill notification

Sometimes pill notifcation dont appear in the tab bar if they occur while the pill view is the current view, etc, because it doesn't reload or something

Two sites bugs

*create a new site when there are no other sites in the schedule, it comes back looking funny

  • site options do not include the default options?? why? wht happened

Notification badge number off

Sometimes, the badge number (for the app) for expired patches is 1-less than what is supposed to...
probably other similar related badge number bugs.

Make Done button bold

On dark mode, it is hard to see the Done buttons sometimes, if it were bold, it would feel more "selected"

Send Notification Multiple Times

Would it be possible to make it so that the app will send the notification multiple times (preferably configurable), so that if the user misses the only notification they don't forget to take their HRT?

For instance, have the current system with notifying x minutes before, but if the patch isn't changed y minutes before, renotify, then z minutes after, renotify (etc). Obviously there has to be a limit to how many, but this is a solution to the problem I have of sometimes missing the notification and not applying a new patch until after I wake up the next day.

Refactor Notifications

I want to give PatchDay a protocol for handling notifications and have it automatically handle it

Change CHANGELOG format

Change CHANGELOG format since markdown does not render on Apple store to be more Apple store friendly

Issue preventing desired site schedule

"""
Hello!

I'm using PatchDay to track injections, and I just can't seem to get the site-to-site cycle I'm trying for. First of all, this is PatchDay 3.7.0 running on an iPhone 11 Pro under iOS 15.5.

Anyway, I'm trying to get this cycle: Right Quad, Right Abdomen, Left Abdomen, Left Quad (i.e. a circle).

Here's the reproduction case:

  1. Set up to use injections:

Then switch to the "Sites" tab:

download

The list seems somewhat mangled so I hit "Edit" and then "Reset" to get a clean list:

Then I tap "Edit" and remove everything but Right Quad and Left Quad (Side note - after deleting any item, the delete icons to the left of each item all disappear, so I have to hit Done and Edit again each time):

download (1)

Add "Right Abdomen" and "Left Abdomen" sites:

download (2)

Tap Edit and reorder the sites into the pattern I want. (Side note - for some reason, the "Next" flag changes from Left Quad to Left Abdomen):

download (3)

Ok, now that things are set up, here's the problem:

Switch to the Injections tab and observe that the cycle is "Right Quad" -> "Right Abdomen" -> "Right Quad" -> "Right Abdomen" (etc). Nothing on the left side is included. If I try and force the use of anything on the left side by editing the injection to say that it was on the Left Quad, the next site is Right Quad and the cycle from above resumes. Similarly, if I set it to Left Abdomen, the next site again is Right Quad and it ends up in the same cycle.

Site note: the graphic for Right Abdomen is that for the Left Quad and cannot be changed (I can change it, but it reverts back to the Left Quad graphic after I hit Save). Similarly, the graphic for Left Abdomen is also Left Quad and also cannot be changed.

"""

Fill in testing gaps in PatchDay

Create ViewModels for the Cells and test them
Finish testing Details view models for pills and sites
Test all list view models
Test AlertsDispatcher more

Expiration extensions

make it so you can programmatically have your schedule extend expiration dates to draw out a schedule

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.