-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add package update detection on Content tab #13807
Add package update detection on Content tab #13807
Conversation
8241799
to
ff3c5dd
Compare
ff3c5dd
to
f0a78ac
Compare
9dc416f
to
9ac023d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A high-level review:
-
I'm not sure what I think about the "update available" icons. When I see one of these icons in the package list, I think that you can update the package when you select it, or that clicking on the icon will update the package. But actually you have to click on "Browse online content" before you can download any updates.
-
There is too much text on the "Browse online content" button. With the default scaling settings, it looks like this on my Android device:
The text overflows, but it's still understandable. But if you translate it into German, the text overflows to an extent that it becomes unintelligible:
I suggest reducing the label to
Browse online content ($1)
. -
To make it more clear that
$1
inContent ($1)
,Browse online content ($1)
andUpdate All [$1]
refers to the same number, I suggest using the same kind of brackets in all three places. -
This is a very useful feature btw.
I wondered the same Options:
|
9ac023d
to
b002959
Compare
Since #13850 implements the additional argument to |
A comment from another PR that is probably more relevant here: "do you have any plans in the future to give notifications if there are games that need updating? Perhaps when you're on the page to play that game "This game has an update available for it", and maybe a notification if you try to play without updating it or mods selected for that world would be good UX so you get that information as you need it. "The world you have chosen has the following updates: ..." and "Update" or "Play anyway" as options." |
That's something for the future, after this PR is merged |
Understandable. Thanks for considering it. |
@rubenwardy rebase needed |
4066c04
to
fb1c8a7
Compare
fb1c8a7
to
c2e38bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the description could be made shorter, and the button placed there above the existing buttons
That's a good idea, but I'd prefer this layout: grorp@9cb47b8
It gives more space to the "Use Texture Pack" button. On the master
branch, the text on that button overflows on my Android device.
EDIT: BTW, it looks like you didn't take the modpack "Rename" button into account for the current button arrangement. I'd be open to removing that button altogether, but of course that's not for this PR.
c2e38bd
to
8a850b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not work for minetest_game
(Minetest Game) or any game that ends with _game
because the IDs do not match.
Fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can start multiple, simultaneous downloads for the same package by
- clicking "Update" (which opens the ContentDB dialog)
- leaving the ContentDB dialog
- and clicking "Update" again
A related issue is #11799, but I can't reproduce that one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
Fixes #7327 and fixes #11799
Minetest now shows available updates for content without opening the ContentDB dialog. This uses the new updates API, which is quite fast to load (35ms + network latency, without cache)
To do
This PR is Ready for Review
How to test