Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Oct 26, 2017

This PR fixes the menu für NC13. I also reworked some of the ListController logic to make it more performant.

  • Check for NC 12 compatibility
  • Fix closing the popover menu

fixes #315

@codecov
Copy link

codecov bot commented Oct 26, 2017

Codecov Report

Merging #336 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   78.22%   78.22%           
=======================================
  Files          38       38           
  Lines        1194     1194           
=======================================
  Hits          934      934           
  Misses        260      260

@juliusknorr
Copy link
Member Author

@skjnldsv Any hints on how backward compatibility to stable12/11 should be handled with the new flex app sidebar?

@skjnldsv
Copy link
Member

skjnldsv commented Nov 7, 2017

@juliushaertl Depends on what types of items you got. :)
I'll go for a patch per apps to be removed when lowest version supported is >=13

var filter = {};
filter[$scope.status.filter] = true;
$scope.boardservice.sorted = $filter('cardFilter')($scope.boardservice.sorted, filter);
} else if ($scope.status.filter === 'shared') {
Copy link
Contributor

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

Copy link
Member Author

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. 😉

@skjnldsv
Copy link
Member

skjnldsv commented Nov 8, 2017

@juliushaertl Please don't hesitate to ask for help! :)

@juliusknorr
Copy link
Member Author

@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.

@skjnldsv
Copy link
Member

skjnldsv commented Nov 8, 2017

Yeah, it's juste a matter of transition! :)
It should not require big patches, simple ones like you did are what's cool about this.

Once 13 will be the lowest supported, it should be fine ;)

@juliusknorr
Copy link
Member Author

Please review @nextcloud/deck

css/style.scss Outdated
Copy link
Contributor

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
Copy link
Member

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 :)

Copy link
Member Author

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.

Copy link
Member

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>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
Copy link
Member Author

Merging so we can move on. 😉

@skjnldsv
Copy link
Member

Well done!! 👌😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App navigation is broken on NC 13

5 participants