Commit Graph

193 Commits (4b1e4d01ce1cb5924d09e3de31b30b674c0414b8)

Author SHA1 Message Date
Gordon Williams cc1d369f28 Add option for driving on left (affects roundabout icons in navigation)
plus docs on message options
2023-09-14 10:40:48 +01:00
Alex Meyer a7adfe74a6 default to existing repeat value 2023-09-05 23:08:42 -04:00
Alex Meyer f6f40b7017 add repeatCalls option 2023-09-05 22:51:12 -04:00
Gordon Williams cb2760a3f1 docs - fix #2860 2023-07-03 15:54:27 +01:00
Gordon Williams 2b6f7765cc Fix buzz.js - whenever called this used to keep firing an interval every 100ms, and they would build up! 2023-06-08 19:26:12 +01:00
Gordon Williams e8036a3780
changed other timeout bits to interval 2023-05-11 13:32:58 +01:00
Targor 9f96ae0955 fixes buzzing behavior in de messages app. 2023-05-10 16:56:58 +02:00
Gordon Williams 260bb1bcda notes on stuff to test 2022-12-16 15:16:33 +00:00
Gordon Williams 1c7eb92ad5 messages Remove '.show' field, tidyup and fix .open if fast load not enabled 2022-12-15 10:34:40 +00:00
Richard de Boer ec410fdac7
Message widgets: we don't need a library 2022-12-08 22:33:04 +01:00
Richard de Boer bdaa9661cd
messages: erase messages file instead of writing empty []
for #2370
2022-12-07 21:18:35 +01:00
Gordon Williams 3e5c0538a9 Support for provides_widgets entry in metadata, and try and tag existing widgets
Support for 'default' tag and add it to apps that we expect would be used by default with the Bangle
split widalarm out of alarm

fixes https://github.com/espruino/BangleApps/issues/2353
2022-12-06 10:25:32 +00:00
Richard de Boer e9c673e119
messages,messagegui: fix handling of music
The library combines musicinfo+musicstate messages, and waited for a
"complete" message before emitting the event.
But once you are playing music you don't get new music state events.
The problem was that when the first "complete" message arrives, the UI
is load()ed, so the library forgets its state, and doesn't emit anymore
music events until the play state changes.

This
- changes the library to keep combining music messages, but always
  emit an event
- makes the UI only launch itself if it sees a "complete" music event
- makes the UI also combine musicinfo+musicstate messages
2022-11-30 23:58:36 +01:00
Richard de Boer 6b9e6eb428
messages: Fix/improve README
It wasn't up-to-date anymore with how the library/gui now work, and
still mentioned `messagelib`.
2022-11-28 22:59:52 +01:00
Gordon Williams a7364f716b Keep messages version rising so it'll actually update to the new version automatically 2022-11-28 15:03:00 +00:00
Gordon Williams d0d35ecec7 renaming 2022-11-28 14:48:46 +00:00
Richard de Boer 2a506e7421
messages: split library/gui/widget into separate apps 2022-11-26 16:52:17 +01:00
Gordon Williams 0fb45cb6fc Add module app type and provides_modules, 2022-11-16 15:17:28 +00:00
Gordon Williams 28d8f7c57e 0.53: Messages now uses Bangle.load() to load messages app faster (if possible) 2022-11-15 10:48:09 +00:00
Gordon Williams 721c2a6af5 messages 0.52: Fix require("messages").buzz() regression
+      Fix background color in messages list after one unread message is shown
2022-10-21 11:35:03 +01:00
Richard de Boer 6f27a65143
messages: also emit "clearAll" message events 2022-09-24 17:26:16 +02:00
Richard de Boer 29fc8f4d1a
messages: move buzz from widget to library 2022-09-24 17:26:16 +02:00
Richard de Boer dc6839a67b
messages: allow event handlers to prevent default app from loading 2022-09-24 17:13:24 +02:00
Richard de Boer 3994869df1
messages: setting to hide widget
In case users want to use a custom widget
2022-09-24 17:13:24 +02:00
Richard de Boer fb10f8125e
messages: emit "message" events 2022-09-24 17:13:24 +02:00
Richard de Boer d3a5f4cdb2
messages: minor library refactor 2022-09-24 14:24:49 +02:00
Gordon Williams 67e8beea7c
oops - merge error 2022-09-07 10:16:20 +01:00
Gordon Williams 82444f9942
Merge branch 'master' into new_branch 2022-09-07 10:15:39 +01:00
Gordon Williams f952e17258 messages: Option to make message icons monochrome (not colored) (fix #2043) 2022-09-07 09:53:22 +01:00
Gordon Williams 5e49dcedf2
Merge branch 'master' into messages-load-function 2022-09-07 09:16:46 +01:00
Gordon Williams fa8b20f3f1 messages 0.50: Option to disable auto-open of messages 2022-08-15 12:58:58 +01:00
Richard de Boer 143bbf858d
messages: Add `getMessages` and `status` functions to library
Apps/widgets should use the library instead of opening "messages.json"
For #2081
2022-08-09 16:11:36 +02:00
Richard de Boer b854e58a96
messages: improve memory usage
Clear `layout` when going back from message to list
2022-07-27 20:08:47 +02:00
Gordon Williams 2d99d5f92c messages 0.49: Change messages icon (to fit within 24px) and ensure widget renders icons centrally if they're not 24px 2022-07-25 15:53:59 +01:00
Richard de Boer 3be786841e
messages: reduce widget memory usage
Don't keep entire messages in memory: we only need `src` for icon+color
2022-07-23 21:33:42 +02:00
Gordon Williams f70ccd5aea messages 0.48: When getting new message from the clock, only buzz once the messages app is loaded 2022-07-22 11:23:21 +01:00
Gordon Williams 9a6866f407 Merge branch 'master' of github.com:espruino/BangleApps 2022-07-19 10:08:50 +01:00
Gabriele Monaco dad7246bfb Added some notification icons 2022-07-19 08:36:12 +02:00
Gordon Williams 2ec97ce88e add google icon 2022-07-18 14:57:18 +01:00
Gordon Williams 6ca63def2f messages 0.46: Add 'Vibrate Timer' option to set how long to vibrate for, and fix Repeat:off
+      Fix message removal from widget bar (previously caused exception as .hide has been removed)
2022-07-15 12:10:52 +01:00
Felix Wiedenbach f10ac1f54e Adds new app colors and icons 2022-07-10 18:19:37 +02:00
Felix Wiedenbach 2888c6d85f fixes typo 2022-07-10 17:32:25 +02:00
Felix Wiedenbach 474c7b16b7 adds more app colors 2022-07-10 17:32:07 +02:00
Marco H f06168af97 Merge branch 'master' into message_buzz_pattern_for_calls 2022-07-07 07:30:47 +02:00
xxpasixx 095f1c6dd5
Update metadata.json 2022-07-06 12:19:47 +02:00
xxpasixx 5c04d60da2
Update ChangeLog 2022-07-06 12:19:25 +02:00
xxpasixx ab33e7adae
add warnapp Logo 2022-07-06 12:12:25 +02:00
Marco Heiming 39e6ccb823 Merge branch 'master' into message_buzz_pattern_for_calls 2022-07-06 11:32:41 +02:00
xxpasixx 6f1697f868
add airbnb icon 2022-07-06 11:24:00 +02:00
Marco Heiming d82454f942 Fix messages ignoring "Vibrate: Off" setting (from PR #2023) 2022-07-06 07:49:16 +02:00