BreeceW / Oxidized

Windows 11 and 10 chat app
38 stars 1 forks source link

Feature request: Live tiles for Windows 10 Desktop and Mobile #133

Open burd1 opened 2 years ago

burd1 commented 2 years ago

I feel if its not too much to ask and too much trouble then adding live tiles to make the app feel more lively would be a great addition for all devices, i prefer Oxidized over unicord aswell so it would great to have it on my favourite app.

BreeceW commented 2 years ago

First of all, I’m glad you like the app. That means a lot to me.

Live tiles is an interesting question because as you are no doubt aware, Windows 11 removes them. That said, I’m still very much interested in supporting Windows 10 Mobile, so any enhancements made there would apply to all other Windows 10 devices.

The next question is, what should the live tiles show? I believe Unicord shows your five most recent mentions and direct messages. I wouldn’t just want to show any unread message, so I think sticking with mentions and DMs makes sense. I’d like input on whether you’d want profile pictures from message senders to show up on the tile. Take a look at this page to see some of the options for styles.

Finally, the technical side of things is where it gets difficult. We can’t do push notifications unfortunately. This means we have three options for updating live tiles (and I also want to do toast notifications). As far as I know, there are three options for getting the notifications:

  1. Update the tile only when you’re in the app. This is kind of useless because you’re not looking at the tiles if you already have the app open, and as soon as you close it, your tile could be out of date.
  2. Create a full-trust process that runs on your computer all the time to get notifications. This is what Unicord does. It is a totally separate program that runs with more permissions than it should have, and it only works on desktop. I do not want to do this option.
  3. The last option is run a periodic background task (say every 15 minutes) that fully logs you in in the background and updates the tile. I believe this is what Clamour does. If there is some way to check your mentions without fully logging you in, then this is totally ideal.

All this work would happen in tandem with #51.

burd1 commented 2 years ago

First of all, I’m glad you like the app. That means a lot to me.

Live tiles is an interesting question because as you are no doubt aware, Windows 11 removes them. That said, I’m still very much interested in supporting Windows 10 Mobile, so any enhancements made there would apply to all other Windows 10 devices.

The next question is, what should the live tiles show? I believe Unicord shows your five most recent mentions and direct messages. I wouldn’t just want to show any unread message, so I think sticking with mentions and DMs makes sense. I’d like input on whether you’d want profile pictures from message senders to show up on the tile. Take a look at this page to see some of the options for styles.

Finally, the technical side of things is where it gets difficult. We can’t do push notifications unfortunately. This means we have three options for updating live tiles (and I also want to do toast notifications). As far as I know, there are three options for getting the notifications:

  1. Update the tile only when you’re in the app. This is kind of useless because you’re not looking at the tiles if you already have the app open, and as soon as you close it, your tile could be out of date.
  2. Create a full-trust process that runs on your computer all the time to get notifications. This is what Unicord does. It is a totally separate program that runs with more permissions than it should have, and it only works on desktop. I do not want to do this option.
  3. The last option is run a periodic background task (say every 15 minutes) that fully logs you in in the background and updates the tile. I believe this is what Clamour does. If there is some way to check your mentions without fully logging you in, then this is totally ideal.

All this work would happen in tandem with #51.

I believe mentions and DMs would be great, actually Unicord never showed live tiles properly and on w10m only notification badges which werent really useful since i have many groups and the counter was always 99+ so i really didnt like it and the voice kept dropping which is why i stuck with oxidized as its really good even though its a pre-release.I think any type of profile picture would do just fine based on what you feel good enough with. When my laptop broke down i used oxidized with continuum and it saved me for months. Coming back on-topic i think the 3rd option at last would be the most ideal to keep the tile as lively as possible? unless you have some better ideas. I've been meaning to ask for this request since a long time but felt lazy to login to git(lol).

burd1 commented 2 years ago

Also im not sure which category annoucement messages would fall in, but keeping upto date with that would be nice too. Thanks again for considering it.

WamWooWam commented 1 week ago

boy howdy i'm late on this

  1. The last option is run a periodic background task (say every 15 minutes) that fully logs you in in the background and updates the tile. I believe this is what Clamour does. If there is some way to check your mentions without fully logging you in, then this is totally ideal.

I believe you're looking for users/@me/mentions?limit=25&roles=true&everyone=true :)