-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Start with unified Shared entry to view all shares, ref #5559 #6686
Conversation
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
I really don't want to add more OCS API endpoints. Just do the calls separatly and merge the result in js |
@rullzer no idea how to do that, can you help? |
So how can we proceed here @rullzer @schiessle @nextcloud/javascript? (I'm not a JS developer) We should really have a basic "Shared" entry showing all shares regardless of type. |
@MorrisJobke @blizzz @schiessle yet another one where JS / sharing knowledg is needed. |
cc @nextcloud/javascript |
As this seems to be inactive for quite some time I'll close this. |
Sorry, this is not a nice way to handle this. I’m asking for pointers since ages … it’s still something I am tackling, and anyone who would start working on #5559 is likely to need similar help since they won’t be so familiar with Nextcloud. |
Codecov Report
@@ Coverage Diff @@
## master #6686 +/- ##
============================================
- Coverage 53.03% 6.92% -46.11%
Complexity 22583 22583
============================================
Files 1417 1417
Lines 87866 87889 +23
Branches 1341 1343 +2
============================================
- Hits 46600 6089 -40511
- Misses 41266 81800 +40534
|
cc @skjnldsv this is the work-in-progress for the unified shares page, which can be used as a base for the pending shares. |
@jancborchardt see #9909 |
@skjnldsv I’m not going to be able to implement endpoints ;D as said, I need someone with more JS or PHP knowledge to take over. |
Ooookay, let's go! I worked a lot on those lately for the restore share pr, which is a part of #2192 What do you think? |
It wouldn’t be so similar to the favorites, since there we actually put content in the left navigation – like the favorite folders. This is simply about changing it from:
To:
Ok? :) |
@skjnldsv I had the same problem which @jancborchardt mentioned here for the subfolders in the left navigation. I have "solved" this by creating a sublist, which all following items are appended to until an "end"-element is added which terminates this sublist. Since it seems that there is a demand for proper sublist-support, should we design a system which handles this better and more general than my current implementation? |
@newhinton I'm not sure to understand the issue you're encountering. You're talking about design or php code? |
@skjnldsv I mean the php code, the technical implementation of sublists in the appnavigation.php |
@newhinton let's continue on your pr :) |
Nothing for 14 it seems -> moved to 15 Some start has been made with allow to get back unshared group shares in 14 - see #9909 |
This will be in #9720, could we try to merge this quick so we can move forward? |
Closing in favor of #10230 |
My uneducated start at getting an Overview of all shared files – ref #5559. The goal is to have the »Shared« entry list all shares, and be collapsed by default. Only expanding it will show the detailed views we have now.
Need help / some proper developer to take over obviously, mainly on two fronts:
sharedWithUser
doesn’t give the flexibility to return all? »linksOnly« is false by default so that should work.getNavigationManager()->add()
doesn’t seem to have the flexibility to add subfolders instead of blindly into the list either.Then there’s of course stuff like handling cases where some share settings are disabled and entries don’t show up anyway, and fixing the tests – which seem incomplete in the first place as link shares are missing?
cc @nextcloud/sharing @nextcloud/javascript