Commit Graph

185 Commits (6980a0d9c97cb60721edf4e0accfb66a4c5f7f25)

Author SHA1 Message Date
Richard de Boer 6980a0d9c9
ClockFace: always loadWidgets, option to hide them using widget_utils 2023-01-07 16:50:30 +01:00
thyttan 5fd3424764
shorten the error variable 2022-12-27 20:16:58 +01:00
thyttan 914d2f15d9 Catch error when Bangle.getPressure() returns...
... undefined. This makes it so BW Clock doesn't hang when running in the emulator and is trying to display altitude.
2022-12-25 19:21:07 +01:00
Gordon Williams 93a4fc248c
Merge pull request #2415 from halemmerich/choozi
Choozi - Recombine app files and some improvements
2022-12-19 12:15:41 +00:00
Martin Boonk 36557e4f5e choozi - Rename drawArc to fillArc 2022-12-19 13:01:28 +01:00
Martin Boonk d8543f4d41 choozi - Fix library not working standalone 2022-12-19 12:52:33 +01:00
Gordon Williams 285b03dbb9 Ensure that widgets_utils swipeOn falls back on Bangle.js 1 - fix #2414 2022-12-19 09:18:45 +00:00
Martin Boonk f467227d8d choozi - Extract drawing of arcs into lib for others to use 2022-12-18 22:08:07 +01:00
Gabriele Monaco 1fb5c0433d clkinfo: repeating selection if menu is empty 2022-12-15 20:15:40 +01:00
Gordon Williams dcefe4b393 Update clock_info's heart rate handling to ensure the HRM value is up to date 2022-12-14 09:33:03 +00:00
Gordon Williams a0a3b5c66e
Merge pull request #2384 from rigrig/clockface-really-remove
ClockFace: fix fast loading
2022-12-12 08:58:12 +00:00
Erik Andresen 90b68051c5 astrocalc
- Compatibility with Bangle.js 2
- Get location from My Location
2022-12-11 22:09:16 +01:00
Richard de Boer 825a705339
ClockFace: fix fast loading 2022-12-11 15:15:44 +01:00
Gordon Williams 00a022c7c1 Use 'modules/suncalc.js' to avoid it being copied 8 times for different apps 2022-12-09 09:49:33 +00:00
Gordon Williams 341517881b update docs to put the best solution at the top 2022-12-06 09:41:54 +00:00
Gordon Williams 4249f6397e
Merge pull request #2349 from peerdavid/master
[AIClock] Added clkinfos
2022-12-05 10:01:54 +00:00
Martin Boonk 141eb9b90b widget_utils - Allow setting a time for auto hideout 2022-12-04 20:26:18 +01:00
David Peer fa70e5354c aiclock -- support clkinfo module and updated icons of some clkinfos... 2022-12-04 16:42:24 +01:00
Gordon Williams e665d35f56
Merge pull request #2331 from halemmerich/layout
layout - Allow providing a remove handler in options
2022-12-01 10:06:20 +00:00
Richard de Boer 1d4fb1301a
ClockFace: support Fast Loading, by adding a remove() function to clocks 2022-12-01 01:13:34 +01:00
Martin Boonk dec95eb281 layout - Allow providing a remove handler in options 2022-11-30 18:46:21 +01:00
Gabriele Monaco 18d91bf5f9 Added short field and general clkinfo improvements 2022-11-25 18:50:38 +01:00
Gabriele Monaco c8ee05a4b6 clkinfo: added sched and ranges in weather 2022-11-25 18:35:10 +01:00
Gordon Williams 7bdafa281a clock_info images now optional 2022-11-25 16:27:42 +00:00
Gordon Williams adcee06813 doc tweaks 2022-11-24 14:43:38 +00:00
Gordon Williams a901ad042f Layout performance improvements by keeping functions pre-parsed in RAM when needed. 2022-11-24 10:19:27 +00:00
Gordon Williams 6868ca321e widget utils swipeOn now updates appRect to match where the widgets are - see https://github.com/espruino/BangleApps/pull/2306 2022-11-23 10:46:52 +00:00
Gordon Williams c039069db7 slopeclockpp 0.04: Changed to use clock_info for displayed data (see #2226)
Made fonts smaller to avoid overlap when (eg) 22:00
      Allowed black/white background (as that can look nice too)
2022-11-23 10:36:03 +00:00
Gordon Williams f9433dc4be clock_info now remembers what was shown before 2022-11-23 10:00:54 +00:00
Gordon Williams 032d769f97 note 2022-11-23 09:35:13 +00:00
Gordon Williams 11f63df3b1 Big addInteractive changes - allow >1 clock_info on screen at once. Each can have focus, and fix redraw queue issue 2022-11-21 19:53:08 +00:00
Gordon Williams c4e1fd01be Added clkinfosunrise to allow clocks to display sunrise and sunset if they use clock_info 2022-11-21 16:37:04 +00:00
Gordon Williams 6554c1a9d0
Merge pull request #2301 from halemmerich/widgetutils
widget_utils - Prevent initial draw clearing on global g
2022-11-21 10:45:32 +00:00
Martin Boonk b2965fe4e2 widget_utils - Prevent initial draw clearing on global g 2022-11-21 00:33:49 +01:00
lauzonhomeschool ef47fc6858
Update README.md 2022-11-20 00:11:13 -05:00
Gordon Williams a03a036ba5 Add widget_utils swipeOn method to hide widgets and allow them to be swiped back onto the screen 2022-11-19 19:22:21 +00:00
Gordon Williams 91649606f2 oops - forgot to commit lint config 2022-11-10 13:57:38 +00:00
Gordon Williams a6ae5240bd click-info can now return a value 'range' if some kind of guage is to be drawn 2022-11-10 13:55:31 +00:00
Gordon Williams 38ec9aecaa Now lint modules too 2022-11-10 13:54:39 +00:00
Gordon Williams 69dbac6128 Add require("clock_info").addInteractive to allow info displays to be added to the screen easily (ref #2226) 2022-11-04 11:50:33 +00:00
Gordon Williams 1727fac713 Add widget visibility library 2022-10-26 11:51:30 +01:00
David Peer faabba9919 Improved stability of clockinfo in case a clock info app raises an exception 2022-10-02 15:51:58 +02:00
David Peer c362881de1 Added clockinfo to simple timer and improved the clkinfo module (run with optional feedback). 2022-09-23 16:08:16 +02:00
David Peer 59d63885fa Advanced merge function of menu objects and items. 2022-09-22 18:49:12 +02:00
David Peer 8036d976b3 Use this.interval insntead of interval. 2022-09-22 18:25:42 +02:00
Peer David 28bcc3f632
Merge branch 'espruino:master' into master 2022-09-19 17:26:04 +02:00
David Peer 24972e3128 Refactored into clkinfo.js files 2022-09-19 17:23:37 +02:00
Spence Churchill 4a2d8212c1
optimize for precision over accuracy
correctly classifying when the watch is on is more important than classifying classifying when the watch is off
2022-09-09 17:54:08 -07:00
Spence Churchill dc8319d97a
use 10-minute acceleration and charging
removes temperature due to weather situations
2022-09-09 10:38:37 -07:00
Gordon Williams 1f3695efff Allow clock 'info screens' to be defined - as per https://github.com/espruino/BangleApps/pull/2114#issuecomment-1240836007 2022-09-08 16:01:48 +01:00