-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Show note #3121
Show note #3121
Conversation
6f699a2
to
2630ab7
Compare
9426b76
to
44896ba
Compare
3a4ed62
to
6f29ad1
Compare
584978c
to
bfada77
Compare
@tobiasKaminsky corresponding lib change has been merged to master branch and jitpack build has been triggered and turned green, so jitpack lib master will ship the lib change now 👍 |
pinging @schiessle for feedback/input ❤️ |
I don't think so to be honest. It could maybe have the text file icon or something. Maybe @nextcloud/designers have a nice idea? |
e5b66be
to
dcf3376
Compare
Codecov Report
@@ Coverage Diff @@
## showSharedUser #3121 +/- ##
================================================
Coverage ? 6.18%
Complexity ? 1
================================================
Files ? 317
Lines ? 30602
Branches ? 4397
================================================
Hits ? 1894
Misses ? 28422
Partials ? 286
|
Codecov Report
@@ Coverage Diff @@
## master #3121 +/- ##
===========================================
+ Coverage 6.26% 6.31% +0.05%
Complexity 1 1
===========================================
Files 318 318
Lines 31189 31214 +25
Branches 4467 4469 +2
===========================================
+ Hits 1954 1972 +18
- Misses 28942 28948 +6
- Partials 293 294 +1
|
I’d say it’s good for the first pass – normally the note has some more explanatory content than just a word, and it’s inherently understandable as a note. If we see it’s a problem in actual use, we can always add |
dcf3376
to
219a332
Compare
@tobiasKaminsky needs a rebase and one question: is this ready to merge or does it need the server PR to be merged? |
This originally depended on #3320, but I rebased it onto master, which now results in duplicated classes/additions, so I would like to merge #3320 before this. This still requires nextcloud/server#12978 to be merged. (sorry for the confusion) |
219a332
to
63c4572
Compare
@@ -872,6 +873,16 @@ Drawable doAvatarInBackground() { | |||
|
|||
int px = getAvatarDimension(); | |||
|
|||
boolean notOnSameServer = false; | |||
|
|||
if (notOnSameServer) { |
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.
@tobiasKaminsky this is always false...
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.
Good question, why I did this.
Maybe to test…
I'll fix it.
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.
We ignore this for now. If there is a federated share, only the text generated avatar will be shown.
Ref: nextcloud/server#14564
@@ -1,5 +1,4 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<!-- | |||
<?xml version="1.0" encoding="utf-8"?><!-- |
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.
linebreak before the comment :)
@tobiasKaminsky just two minor comments plus needs-rebase :) |
@tobiasKaminsky see review comments :) |
63c4572
to
2a75b21
Compare
@tobiasKaminsky rebase 'n' merge? ❤️ |
Not quite…the part with federated icons is still open. |
Signed-off-by: tobiasKaminsky <[email protected]>
2a75b21
to
92bbcfb
Compare
Finally done :-) |
Lint
FindBugs (new)
FindBugs (master)
|
This shows a note, if available, in file detail sharing fragment.
As it is only shown if a note is available, it is out of the box backward compatible.
Requires PR for server: nextcloud/server#12978