Conversation
Codecov Report
@@ Coverage Diff @@
## master #1087 +/- ##
============================================
+ Coverage 29.14% 32.04% +2.90%
- Complexity 369 435 +66
============================================
Files 36 40 +4
Lines 1431 1676 +245
============================================
+ Hits 417 537 +120
- Misses 1014 1139 +125 |
This comment was marked as outdated.
This comment was marked as outdated.
35c6c69 to
4634cb2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
fdb5553 to
736c089
Compare
9957233 to
4e9673b
Compare
5af5e6c to
a21a51a
Compare
|
Review help
Regarding the links:
Regarding direct access in the app:
Internal Data:
|
|
A try for review coordination: Feel free to edit this, add comments, etc.!
|
come-nc
left a comment
There was a problem hiding this comment.
PHP code looks good!
A few minor comments, and I think improvement needed on the Migration, it should use a $qb var for the query builder and assign the other 3 from there, it looks quite messy right now compared to other Migrations from other apps.
Properties are not strong typed, but I thought this may be on purpose if you plan to support older Nextcloud/PHP versions. (24 requires PHP>=7.4 so we can start using strong typed properties there. But you can also require PHP>=7.4 even if you support older Nextcloud versions I think, given 7.3 is EOL. Not 100% sure of the rules there.)
A strong step in the right direction for form sharing, congrats.
|
Thank you in any case already for your work, @come-nc ! 💪 🚀 |
|
|
||
| class ShareMapper extends QBMapper { |
There was a problem hiding this comment.
| class ShareMapper extends QBMapper { | |
| /** | |
| * @template-extends QBMapper<Share> | |
| */ | |
| class ShareMapper extends QBMapper { |
There was a problem hiding this comment.
Any specific functionality on that? (Or what do i have to search for to understand it? 😉) Tbh. we don't have that on any of our mappers... 🤔
There was a problem hiding this comment.
It gives more information to psalm to improve its error detection, basically.
You can see the template in the docblocks of https://github.com/nextcloud/server/blob/master/lib/public/AppFramework/Db/QBMapper.php#L43
Yes, we officially still support NC22 and just recently removed php 7.2. ^^ Thus i'd leave it for now. We'll have a separate PR to change all of our classes, when the time has come. 😉 |
|
Ok - So thank you, @artonge @CarlSchwan @come-nc for your reviews here! 🚀 Quite a few new things and ideas. I had a look onto all of it, partially just set a comment, but also implemented quite a few things. So - i think if there's no more issues from your side, this should be good to go, then! |
come-nc
left a comment
There was a problem hiding this comment.
Good apart from nitpicking.
I did not test.
|
@artonge Do you wanna check your requested changes? Or should i just dismiss the review as i looked into your comments? |
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Also fixes #806 Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
|
🚀 🥳 |
So - here it is! 🎉 Ready for Review.
I'm really sorry, it became that much code now in a single PR. Thus i moved fixing the API-versioning to #1126.
Looking forward for the first tests!☺️
AppNavigation is now:
Fixes #425 😉