Commit Graph

353 Commits (e0adbd3c626ba090bc573b2fa007c188cd1a2524)

Author SHA1 Message Date
Gordon Williams 595e4a71ea Fix Layout regression after 9c4cc9d585
fixes https://github.com/espruino/BangleApps/issues/3623
2024-10-28 16:50:44 +00:00
Gordon Williams 527a3c10b8 tidying up time_utils to make it faster and pretokenise better 2024-10-25 09:36:23 +01:00
Gordon Williams 9c4cc9d585 Minor layout speed improvements (~5%) 2024-10-21 14:54:57 +01:00
Rob Pilling f581e15320 exstats: permit "notify" handlers to change `.next` 2024-10-15 08:23:26 +01:00
paul-arg 510a92a20a more_pickers: draw sections independently for faster execution 2024-08-31 20:31:07 +02:00
Gordon Williams 9984914a91 Fix widget_utils breakage which caused the widget bar used with swipeOn to literally never be hidden. Was
introduced as part of https://github.com/espruino/BangleApps/issues/3417#issuecomment-2120204969
2024-08-05 10:46:43 +01:00
Rob Pilling 5b5e3a0ef5 power_usage: work with new types 2024-07-11 22:41:42 +01:00
Rob Pilling ce33c3a662 Nerf power-type check for firmware issue (espruino/Espruino#2529) 2024-07-11 21:21:34 +01:00
Rob Pilling ef0c6a7708 power_usage lint 2024-07-11 21:21:34 +01:00
Rob Pilling bf3b572b9e power_usage: add module 2024-07-09 08:53:09 +01:00
parg-mtwn 78d9eeac27 add new module: more_pickers 2024-06-17 12:18:42 +02:00
Gordon Williams afea9dff9c
Merge pull request #3428 from halemmerich/newLCDOverlay
Adapt widget_utils and messagesoverlay to new LCD overlay code for remove callbacks
2024-06-03 10:11:06 +01:00
Rob Pilling 456cf7f121
Merge pull request #3438 from bobrippling/fix/ble-advert-array
Add `ble_advert` module
2024-05-30 08:22:22 +01:00
Rob Pilling d616fe9cf2 ble_advert: generate js 2024-05-28 22:44:36 +01:00
Rob Pilling 912291da60 ble_advert: disable `remove()` - unused 2024-05-28 22:44:36 +01:00
Rob Pilling cc0f1a315e ble_advert: handle Advert[] and number[] entries 2024-05-28 22:44:36 +01:00
Rob Pilling 6a8d21980f ble_advert: debugging logs 2024-05-28 22:29:35 +01:00
Rob Pilling fc57f85eb4 ble_advert: handle arrays / `setAdvertising`'s mutation of elements 2024-05-24 17:21:23 +01:00
Martin Boonk 1c3babc3c4 widget_utils - Fix offset reference 2024-05-20 17:14:58 +02:00
Martin Boonk 2a6b428344 widget_utils - Remove exports.overlayRemoved 2024-05-20 15:04:25 +02:00
Martin Boonk 76fd49dad7 widget_utils - Adapt to new setLCDOverlay 2024-05-20 12:49:04 +02:00
Gordon Williams 1869baeaae readme 2024-05-20 11:36:15 +01:00
Rob Pilling 4548ee8057 ble_advert: restore 2024-05-18 17:24:33 +01:00
Rob Pilling e53c0cdb31 Revert "Move BLE advertising coordination to a module"
This reverts commit 2a4057666b.

Conflicts:
	.eslintignore
	modules/ble_advert.ts
2024-05-18 17:18:40 +01:00
Rob Pilling ce36a7b4e4 ble_advert: fix lint errors 2024-05-18 10:45:46 +01:00
Rob Pilling 2a4057666b Move BLE advertising coordination to a module 2024-05-17 21:52:08 +01:00
Rob Pilling fb9eed74c5
Merge pull request #3394 from halemmerich/widget_utils
widget_utils - Remove the overlay on cleanup
2024-05-14 08:42:45 +01:00
Gordon Williams ea03c34099
Revert "Revert "exstats: fix steps being negative"" 2024-05-13 09:49:52 +01:00
Gordon Williams 208f04988e
Revert "exstats: fix steps being negative" 2024-05-10 09:08:24 +01:00
Rob Pilling b387365797 exstats: fix steps being negative/handle step count increment between stats 2024-05-09 12:10:33 +01:00
Gordon Williams 89ea6d0045 Try and fix issues that causes `exstats` not to be usable without `notify:{...}` defined. 2024-05-09 12:09:56 +01:00
Martin Boonk 24488edd9d widget_utils - Correctly remove origSetLCDOverlay and cleanUpOverlay properties 2024-05-02 07:45:43 +02:00
Martin Boonk aba7659729 widget_utils - Remove the overlay on cleanup 2024-05-01 10:41:18 +02:00
Rob Pilling 611fd7aaf1 Slider: update docs 2024-04-22 08:18:49 +01:00
Rob Pilling b0aaf8f69f Slider: always emit final event 2024-04-21 19:35:40 +01:00
Rob Pilling 0dc61519a7 Slider: pass event through 2024-04-21 19:35:16 +01:00
Rob Pilling 621f58feb6 Slider: reset dragActive 2024-04-21 19:35:16 +01:00
Rob Pilling a28b2008c3 Slider.js: don't hold onto cbObj 2024-04-21 19:35:16 +01:00
Anton 4a7738cebc Allow suncalc to be exported via `globalThis` 2024-03-16 11:30:01 +01:00
Anton a00f1b6568 Merge branch 'master' into modules-lint 2024-03-15 10:00:59 +01:00
Anton 9f26a5abfe Revert Sliders.js fix
This is instead fixed in #3261
2024-03-15 06:39:44 +01:00
thyttan bfdcf9543b Slider:fix lint warn var declared in global scope
exFirst -> o.v.exFirst
eyFirst -> o.v.eyFirst
2024-03-14 21:37:50 +01:00
Anton c91e632033 Fix lint errors 2024-03-14 11:18:18 +01:00
Anton c077a24512 Improve eslint config for modules 2024-03-14 11:17:53 +01:00
Gordon Williams d8ada3f734 Refactor to remove the (apparently spurious) `Error: Unreachable point. logically broken.` warning during minification 2024-01-30 16:36:44 +00:00
Flaparoo cde7efad99 widget_utils: use correct variable to clear interval 2024-01-09 12:04:20 +08:00
thyttan 71a445c96e Slider: formatting Slider.md 2023-10-18 23:20:46 +02:00
thyttan 8bd1cbb2a8 Slider: add to documentation re timeout 2023-10-18 23:14:03 +02:00
thyttan 05e2ff899c Slider: add to documentation Slider.md 2023-10-18 21:55:59 +02:00
thyttan 03a1f10d45 Slider: auto indentation 2023-10-18 01:18:57 +02:00