-
Notifications
You must be signed in to change notification settings - Fork 310
App menu compatibiliy #336
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #336 +/- ##
=======================================
Coverage 78.22% 78.22%
=======================================
Files 38 38
Lines 1194 1194
=======================================
Hits 934 934
Misses 260 260 |
|
@skjnldsv Any hints on how backward compatibility to stable12/11 should be handled with the new flex app sidebar? |
|
@juliushaertl Depends on what types of items you got. :) |
| var filter = {}; | ||
| filter[$scope.status.filter] = true; | ||
| $scope.boardservice.sorted = $filter('cardFilter')($scope.boardservice.sorted, filter); | ||
| } else if ($scope.status.filter === 'shared') { |
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.
Isn't better to use enums instead of string to indicate the filter state? :)
Maybe it can go to a separated issue
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.
Hmm, the filter state is set as a state param where we have it as a string anyway. So until we don't use it more often in the code, i guess that is fine for now. But if you want to improve here, feel free to do so. 😉
49408b1 to
2a19c44
Compare
|
@juliushaertl Please don't hesitate to ask for help! :) |
|
@skjnldsv Thanks. Actually it already works quite nice with those few changes: fa7d9e9#diff-be704e29a41bc5b36d0f4761c521b82d Right now only works with NC12, since I plan to drop NC11 support once 13 is out. |
|
Yeah, it's juste a matter of transition! :) Once 13 will be the lowest supported, it should be fine ;) |
|
Please review @nextcloud/deck |
ae73dce to
0cfbd69
Compare
css/style.scss
Outdated
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.
shouldn't import go to the top?
css/legacy.scss
Outdated
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.
Why do you add the variables.scss content here?
The scss compilator automatically add this to any file you load with add_style :)
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.
Not for stable11, but we can drop this since we will only support version 12 or later in the next release.
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.
Yes, I asked because the info.xml says min version to 12. :)
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>
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>
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>
1fdbf24 to
4037a03
Compare
|
Merging so we can move on. 😉 |
|
Well done!! 👌😉 |
This PR fixes the menu für NC13. I also reworked some of the ListController logic to make it more performant.
fixes #315