GithubHelp home page GithubHelp logo

daycountwidget_garmin's Introduction

Day Count Garmin Widget

Day counting widget for Garmin API 4.1.0+, this was wrote for personal use, so only tested on Epix gen2. This is a widget attempt to do what Days Matter does on iOS.

FlowChart

Bug

  1. Handle invalid user input date (such as 2.31)

Functions so far

  1. Glance view of an user-selected Event date, with the set date, and days counting up or down.
  2. In the widget, there are three slots to store dates, count up or down is decided by the input date.
  3. User can set galnce, edit, or delete events.
  4. Completed the info page, show days, and yr,mm,dd.
  5. Update menu after edit to a new date.

To do

  1. Find a way to update the glance once a day?
  2. Details on UI such as string location.
  3. Reorganize the files and folders.
  4. Maybe somehow type in the date (or better than pick between 2018-2026)?
  5. Notification system. (doesn't seem to be possible so far)
    • When the count down reach 0.
    • anniversary

Documentation

Fixed bugs (maybe improve in the future)

  1. Edit -> set glance, will cause error
    • Fixed, now edit -> init menu (not fixed, will stuck between main and confirmed)
    • Another approach: pass down the menu as parent menu, then call menu and eventmenudelegate. parent menu arg
      • this works with Ui.switchToView, but somehow on the edit menu, needs to press back twice.
        • fixed by pop onece, everything is working good, also updates menu after edit.

Logs

  1. Using the built-in confirmation for both glance and delete confirmation.

Acknowledgement

The icon is from Emotion icons created by Baianat - Flaticon. Some sample codes from the API package was modified and used.

daycountwidget_garmin's People

Contributors

wyy-47 avatar

Watchers

 avatar

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.