Easy way to clear messages in bulk?

Posted on
  • Hi there

    I'm using an a Banglejs2, with my iPhone, and it's handy to see notifications but it's not obvious to me how to clear them from my watch without going individually into each message and swiping left on the messae to delete it.

    Is there another way to do this in bulk that's easily accessible?

    I can see in the messages app there is something like this:

    menu = Object.assign(menu, {
        /*LANG*/"Mark Unread" : () => {
          msg.new = true;
          checkMessages({clockIfNoMsg:0,clockIfAllRead:0,showMsgIfUnread:0,openMusic:0});
        },
        /*LANG*/"Mark all read" : () => {
          MESSAGES.forEach(msg => msg.new = false);
          checkMessages({clockIfNoMsg:0,clockIfAllRead:0,showMsgIfUnread:0,openMusic:0});
        },
        /*LANG*/"Delete all messages" : () => {
          E.showPrompt(/*LANG*/"Are you sure?", {title:/*LANG*/"Delete All Messages"}).then(isYes => {
            if (isYes) {
              MESSAGES = [];
            }
            checkMessages({clockIfNoMsg:0,clockIfAllRead:0,showMsgIfUnread:0,openMusic:0});
          });
        },
      });
      E.showMenu(menu);
    

    It's linked in github
    I can see this code linked

    https://github.com/espruino/BangleApps/blob/master/apps/messagegui/app.js#L263-L304

    but I can't see how I would call up this menu in the Watch UI.

    Suggestions very welcome.

  • Hi!

    Is there another way to do this in bulk that's easily accessible?

    Yes - when you're viewing a message and see the red and green arrows there will also be a letter icon at the top right corner of the app. If you press that you're presented with a menu. At the bottom of that menu there's the entry "Delete all messages".

    Hope that's clear enough! :)

  • wow @Ganblejs, thanks for the quick response!

    I was able to find the "Delete All Messages" option, but I wasn't able to get to it by pressing on a visible letter icon - I ended up pressing and hoping 😅

    Here's what I saw:

    1. Pic 1 (IMG_9672.jpeg) shows what I see when I see view a message (the message doesn't really matter, but you see the last letters of a mac address, plus battery status, but no letter icon )

    2. Pic 2 (IMG_9673.jpeg) this is what I saw from pressing where I guessed a there might be a letter button appearing

    3. Pic 3 (IMG_9674) this is where I saw the 'delete all messages' option

    I couldn't seen an obvious place in the settings, to either control what shows up in the top right to make space in the menu for that letter icon.

    Is there a simple way to control the display of this part of the UI?


    3 Attachments

    • IMG_9674.jpeg
    • IMG_9673.jpeg
    • IMG_9672.jpeg
  • Nice to see you found it!

    My mistake, the icon/button seems to be adaptive and accomodate the icon of the app that sent the message. When I sent a test message from gadgetbridge it came with the letter icon. :)

    In your case you got the logo of the N26 banking app I think!

  • Ah, I see it working now with some other letters - showing the letter icon.

    thanks again for your help!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Easy way to clear messages in bulk?

Posted by Avatar for mrchrisadams @mrchrisadams

Actions