GithubHelp home page GithubHelp logo

diegopvlk / dosage Goto Github PK

View Code? Open in Web Editor NEW
78.0 78.0 15.0 4.18 MB

Medication tracker for Linux

License: GNU General Public License v3.0

Meson 3.16% CSS 18.47% JavaScript 78.37%
gnome gtk4 libadwaita linux medication-history medication-reminder

dosage's People

Contributors

5mikachu avatar albanobattistella avatar alexmelman88 avatar bittin avatar comradekingu avatar diegopvlk avatar ingrownmink4 avatar k1llo avatar madcomputing avatar oersen avatar rene-coty avatar santossi avatar serega124 avatar silhanji avatar soumyadghosh avatar suborbitalpigeon avatar toxblh avatar twlvnn avatar vistaus avatar vovkiv avatar weblate avatar xenelio avatar yakushabb 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

Watchers

 avatar  avatar

dosage's Issues

can't edit treatment

upon clickon on a specific treatment I receive this error in the terminal:

(io.github.diegopvlk.Dosage:2): Gjs-CRITICAL **: 15:09:11.392: JS ERROR: TypeError: info.recurring is undefined
_openMedWindow@resource:///io/github/diegopvlk/Dosage/js/window.js:801:26
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

i could not replicate the issue, creating a new treatment works and I am able to edit that one

Main menu behavior

The main menu behaves differently from other GNOME apps. It doesn't close when I click outside the menu.

Also the "Edit Treatment" dialog doesn't support closing with Esc key.

Snap package discussion

Thank you for the snap package. Feel free to mention me, with any issue with the snap. BTW, you can have workflows for the snap to test if it builds or not.

cannot choose a white colour

A lot of pills are white in colour (could be localised for uk spelling as well) but I am not able to choose that colour as it has a cross on the icon which cancels the selection dialog. Installed 1.5.5 from flatpak. System details:
Kernel: 5.15.0-97-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia

idea: Health reminders

What do you think about adding health reminders to the dosage?

  • Take a screen break: every one hour, every two hours
  • Drink water: every one hour, every two hours
  • Walk a few minuse: every one hour, every two hours

Sync program data through Nextcloud

Firstly, thank you for this great app!

I have 2 machines, a laptop and a desktop. Sometimes I am not at home but it would be good to monitor my "dosages". 🙂

I use the AUR version of this program, and it seems, the settings and program data placed in the root of ~/.local/share dir. Is there any way to put the settings and program data in a specific dir? Like ~/.local/share/dosage?

I would sync the program data through my Nextcloud, (w/ soft links or mount bind I do not know exactly.) but not file-by-file. Because if another version of this program changes the file names, then later, I have to follow the changes. 😅

Dark Mode has purple hue to it.

The application has a purple accent to the buttons and the background. Is this an intended thing? It makes some lettering a bit difficult for me to read. Example:
image

Cannot update the app

In the snap, there may come notification that Dosage has updates available. Snaps cannot be updated while they are running. So, to update it, simply close the app once before by pressing Ctrl+Q. Then open the app and enjoy.

Notifications on GNOME 46

Notifications in GNOME 46 are not as prominent as in earlier releases.

Is there any way to make the notifications more noticeable?

Especially, the time is more visible than the actual treatment.

Ekran Görüntüsü - 2024-04-05 02-35-35

No localization at all

This might be useful, once it starts working properly. But right now, there are several disturbing issues:

  • weeks start on Monday, not Sunday
  • dates are written in an unreadable format with the day in the middle
  • it's 11:32 right now, but the app still seems to "think" it's yesterday - the Today tab doesn't tell, so I am not quite sure, but treatments don't show up, not even the one that was due at 06:45

Moreover, German texts would be helpful if the app is started in a German locale.

Add a password for access o crittography

Hi Diego,

It would be recommended to enter a password when starting the program.
This is to prevent an unauthorized person from accessing the database without having the right.
Possible encryption would be even more recommended.
Thanks for your work.
Regards,
A.

Feature request: Recurring Notifications

Great sweet little app.. feels really polished (ofcouse gnome)

I thought this app has notification built in, but seems only notification is when meds about to over.. (like only 3 Happy Pills are left...)
Is there any notification when we set time for taking meds? else consider this as a feature request...

also it would be great to have recurring notifications until i click on box as competed...

Thanks...

Android/ios app?

Hello,
thanks for developing the important app.
is there any plan to make android and ios app and let the app be synced ?

Modify Scheduled Dosages in-place [FEATURE]

This is sort-of possible with the one-time dosages button, but it's a lot more cumbersome;
For example, say you decrease a 12:00pm treatment from a dosage of 3, to 1.

  • Create a new one-time dosage
  • Select the dosage normally taken at 12:00
  • set the dosage to 1, and click create
  • Skip old dosage that was previously at 12:00pm

Instead, It would be helpful to be able to select a dosage and use a increment / decrement button to modify it in-place, as seen below;
image

Repeated notifications/reminders

Even after confirming that the medication has been consumed, I continue to receive repeated reminders throughout the day.

App version: 1.5.3
System: Fedora 39/Gnome 45.3
Packaging: Flatpak (Source: Flathub)

Feature: Clear history older then x days

I rely on the Dosage app to remind me of my important remedy usage.

It seems that the history section becomes very long after a few days because I use too many remedies.

Could you possibly add an auto-clear function for the history without affecting the counter, as some remedies may still need to be counted?

Flat numbers in UI

Hello, values on the interface are presented with decimals, but there is no way to use them as decimal numbers when using the spinner.

In this case, showing decimals on the interface seems confusing.

Could you make sure they are displayed as plain, non-decimal integers?

Additionally, some medications need to be used in doses of a quarter, sometimes half, or even 1.5.

In fact, presenting them in decimal form could sometimes be useful. However, I couldn't find such a setting in the interface.

numbers

Appdata error

Multiple image in the same screenshot.

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-screenshots

LC_ALL=C appstreamcli validate --explain io.github.diegopvlk.Dosage.appdata.xml.in 
I: io.github.diegopvlk.Dosage.desktop:7: description-first-para-too-short Features:
   The first `description/p` paragraph of this component might be too short (< 80 characters).
   Please consider starting with a longer paragraph to improve how the description looks like in
   software centers and to provide more detailed information on this component immediately in the
   first paragraph.

E: io.github.diegopvlk.Dosage.desktop:22: screenshot-image-source-duplicated
   There can only be one `source` image per screenshot and language.

E: io.github.diegopvlk.Dosage.desktop:23: screenshot-image-source-duplicated
   There can only be one `source` image per screenshot and language.

W: io.github.diegopvlk.Dosage.desktop:19: screenshot-default-missing
   No screenshot is marked as default.

W: io.github.diegopvlk.Dosage.desktop:75: url-not-reachable
     https://hosted.weblate.org/translate/dosage - URL was not found on the server.
   Unable to reach remote location that this URL references - does it exist?

I: io.github.diegopvlk.Dosage.desktop:~: desktop-app-launchable-omitted
   This `desktop-application` component has no `desktop-id` launchable tag, however it contains all
   the necessary information to display the application. The omission of the launchable entry means
   that this application can not be launched directly from installers or software centers. If this
   is intended, this information can be ignored, otherwise it is strongly recommended to add a
   launchable tag as well.

? Validation failed: errors: 2, warnings: 2, infos: 2, pedantic: 2

No monthly prescriptions support

Hey ! So, first of all, very cool project !

But, as the title suggests, I take some meds which need to be taken once per month, and the feature is missing. I can use the cycle feature, but it is a bit awkward for that.

Adjusting notification frequency

Hello, could you please add support for adjusting notification frequency?

I have a pill that I need to take after breakfast. I've set the pill to remind me at 10 am, but notifications are occurring every 5 minutes.

Currently, there is no option to delay the reminder for another 30 minutes or choose a different time.

Allowing users to customize the notification frequency between 5 to 60 minutes would be greatly appreciated.

Add missed treatments to the today list

Hi, I have a pill that I need to take at 10PM (22:00)

There is no option to mark missed treatments.

I believe we can list them on the 'Today' section as missed.

Option to group notifications for meds taken at the same time

It would be nice to have an option to have one notification when there are several medications being taken at the same time.

For me I take several at 8AM and several at 12:30PM and it's not pleasant having to go and clear each notification for each medication each time. If they could be grouped I could click on the notification, it takes me to Dosage and I can mark them as taken.

Additionally, now that I think about it. An option to mark all as taken as well if they are at the same time would be great. The iOS Health app implements this for example.

Love this project btw, very helpful.

Export functionality

Great app! It's really nice to have a medication app that integrates with libadwaita. Have you thought to implement a export to JSON (or other format) functionality which could serve as a way to periodically backup your data ?

📱 Mobile App Version (computer / mobile sync)

I'm not sure if this makes sense but it would be awesome if I can register my medications in the Dosage and export them to a calendar event so even if I'm not in my computer I can receive the alert.

The app can easily create a calendar link event like this site does https://www.labnol.org/calendar/ but will create the issue of duplicated notifications, other option may be to be able to "sync" with those services to cancel or edit the event (or task https://support.google.com/tasks/answer/7675772?hl=en).

Please let me know your thoughts.

Thank you

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.