Repository navigation
New arch/capabilities - #2508
Conversation
f82ba8c to
852c46c
Compare
dc9921a to
01977a3
Compare
01977a3 to
fb56ffd
Compare
98722e0 to
f82ba8c
Compare
…ent provider and modify capability insert method to use lists
…es and use them in UI tests
|
@davigonz Some changes requested |
|
@abelgardep changes applied |
|
Code approved, ready to test @jesmrec , great job @abelgardep with the code review |
(1) [FIXED]Capabilities are not being refresh after opening share view. For example, if in UI you enable "Allow users to share via link", after opening share view, the "Public Share" section is visible. Same happens with the password enforcing options. |
(2) [FIXED]Check these steps:
Current: feature was enabled but public link section keeps hidden. By going back again to file list, and re-opening share, everything is correct. Seems that the first opening refresh capabilities, but do not apply changes in UI. Nexus 6P v7 NOTE: the mentioned capability is the only affected. Any other capability related to public sharing is working as expected. |
|
@jesmrec #2508 (comment) is ready to test but you will notice the public link section disappearing every time you open the shares view when Allow users to share via link option is disabled. I do not like how it looks honestly, but since we are getting capabilities from network when opening the sharing view, there's nothing else we can do in terms of UI. Maybe we can improve this behaviour during the implementation of capabilities when refreshing folders and just get capabilities from the database instead of server on the sharing view. |
Could you post a GIF? |
|
Ah, got it. Reverse it? Disabling items (empty for a few milliseconds), and enable only those that are valid? |
I kept it that way because I thought users will likely have the public shares enabled instead of disabled and the effect would not appear most of the times. |
|
yes, it is not usual that the capabilities are changing standly, they use to be static. Fix is correct. Approved. |

Implements #2495
Needs owncloud/android-library#246
Bugs & improvements