Commit Graph

186 Commits (78c1b8372992105fff79079b4195b2fbc3d9e5e9)

Author SHA1 Message Date
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
Leon Matthes b00c6e48c4 Fix "Vibrate: off" being ignored by messages app 2022-07-05 23:18:11 +02:00
Marco Heiming 0f4fc046f6 Merge branch 'master' into message_buzz_pattern_for_calls 2022-06-29 14:28:52 +02:00
Lubomir f3d3091706
Remove pointless functions 2022-06-28 22:27:22 +10:00
Lubomir 23086cc0df
Merge branch 'master' into icon-notifs 2022-06-28 22:27:06 +10:00
Marco Heiming 4cf04308ee Separate buzz pattern for incoming calls 2022-06-28 12:43:25 +02:00
Alessandro Cocco 42c2b5c8a2 Use default Bangle formatter for booleans 2022-06-18 22:08:51 +02:00
Lubomir (Mac) 16255198a2
Merge branch 'master' into icon-notifs 2022-06-18 23:42:36 +10:00