-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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 update all button to the app list #17186
Conversation
e71e0fa
to
84f3b41
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.
See comments
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 is going to make managing an install much easier. Thank you.
return this.apps.find(app => app.update) | ||
}, | ||
showUpdateAll(){ | ||
return this.hasPendingUpdate && ['installed', 'updates'].indexOf(this.category) !== -1 |
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.
return this.hasPendingUpdate && ['installed', 'updates'].indexOf(this.category) !== -1 | |
return this.hasPendingUpdate && ['installed', 'updates'].includes(this.category) |
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.
Great work :)
See others comments ;)
|
|
You propose to be also in other pages? Currently is at "your apps" and "Update" page. |
I did but changed my mind now 🤣 I guess if we add the update all button to the disabled apps page people would expect that only disabled apps are updated and the same for active apps. But this is to complex so your apps and updates is fine. |
@skjnldsv But you are inside an forEach loop. So even if the callback inside the foreach loop is returning a promise, it will happily ignore that and just call the next callback. Leaving us with two options:
I would personally prefer 1. |
@GretaD could you rebase? ;) |
darn, i thought i already did |
983f7e5
to
9de7f10
Compare
Because lots of changes went into server again :) /settings is now in /apps/settings |
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: Greta Doci <gretadoci@gmail.com>
9de7f10
to
a27b0fb
Compare
Fix #6989