-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 Updates section to app management #6739
Conversation
39603fe
to
9256c75
Compare
Codecov Report
@@ Coverage Diff @@
## master #6739 +/- ##
===========================================
- Coverage 53.05% 53% -0.06%
+ Complexity 22650 22614 -36
===========================================
Files 1430 1422 -8
Lines 88062 88023 -39
Branches 1343 1346 +3
===========================================
- Hits 46725 46658 -67
- Misses 41337 41365 +28
|
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.
@skjnldsv Thanks. Fixed with the latest commit. |
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.
@skjnldsv I'd prefer to keep the section even if it is empty. That way users might remember where to check for updates if they come back. This is how it looks now, when there are no updates available: |
Can you add a manual trigger button instead of the zero count then? I don't see why a user would click this section if the zero is clearly visible! :) |
Hm maybe we should hide it then. There is a background job for fetching updates and I don't think we need an option to manually check. Any other thoughts on that @nextcloud/designers |
settings/js/apps.js
Outdated
$('#apps-categories').html(html); | ||
$('#app-category-' + OC.Settings.Apps.State.currentCategory).addClass('active'); | ||
if (updateCategory.length === 1) { | ||
console.log(updateCategory); |
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.
🙈
I agree, hide the section when empty (just like play store and others do it as well) |
c96e954
to
afdc212
Compare
@nickvergessen @skjnldsv Fixed. The updates category is now hidden. It will be shown if an update get available while the user is browsing the page. |
@juliushaertl Actually, and sorry I only realize this now – with »Show apps with available updates first« #6740 by you this seems to be not necessary anymore. :) I would prefer if it’s nicely integrated simply by sorting up, and not with the additional view. It’s duplicated otherwie. Sorry for the late realization, but thanks for the two great pull requests! :) What do you think? |
@jancborchardt I don't mind the extra section. I find it easier to search what you need. Users can't directly know that the updates are on top of the list, while with the section, there is no confusion possible. |
Hm, then maybe we should add a heading, like for the bundles? I really think that we should keep the navigation lean and not list everything possible. |
Cause that will make the list clearer in general – also for »Enabled apps« and »Disabled apps«. Because currently they are sorted properly, but don’t have any section separation which would be nice. Then we could also simply cut those sidebar entries out and just have »Your apps«. |
Still disagree with that (sorry! 🙈). I dislike having to scroll to search. Restricting views are a big plus on this. I rather click to se that scroll x time to get to the section I need. I have a lot apps installed. :) |
That really depends on how much apps you have installed/enabled. You never realize if you have a long list that you need to scroll down to find disabled apps there. A quick filter in the sidebar gives the user a hint that there is other stuff to look for. |
Ok, but for apps with an update I think it's still valid. There will likely never be so many apps at the same time with an update that you need to scroll. But my feelings on this aren't soo strong that I feel arguing against you more, so ok. ;) |
afdc212
to
3706ed0
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3706ed0
to
bee9ef8
Compare
This pull-request doesn't seem to introduce an |
Not that I'm aware of, but that is a neat idea. |
@georgehrke @juliushaertl mind opening a new isue for it? Or is anyone already working on a pull request? :) |
Add updates section to the apps management (fixes #838)
Partly fixes #301 since it removes the notification in the header and adds a badge with the update count to the sidebar.