stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
331 stars 32 forks source link

Notify user when updates are available #148

Closed stackotter closed 2 years ago

stackotter commented 2 years ago

This issue is a continuation of #16 which @ninjadev64 recently completed. Their PR provides all of the groundwork required for this to be implemented so it should be relatively easy. It's going to be mostly a UI task.

Overview

Users should be notified when an update is available and the commit they're on is on the main branch (users on commits on non-main branches shouldn't don't need to get notified because otherwise that all starts getting quite a bit more complicated.

The two main options I'm thinking of are either a pop-up on startup (which should be able to be permanently dismissed until the next update), or a button in the sidebar of the main screen that just shows up if an update is available. I'm open to other ideas though.

ninjadev64 commented 2 years ago

I’ll do this one too

ninjadev64 commented 2 years ago

I think the "button in the sidebar" approach might be better for now, as it's less intrusive, and users might not want to update so frequently while the client is still under development (plus, saving whether they have dismissed the popup might get messy, especially with seperate installations).

I'll do that first, and then most of the code should be able to be reused if we ever move to the other approach.

stackotter commented 2 years ago

I think the "button in the sidebar" approach might be better for now

I agree