Skip to content

Move sharing options into popover menu - #607

Merged
LukasReschke merged 6 commits into
masterfrom
sharing-popover-menu
Oct 3, 2016
Merged

LukasReschke merged 6 commits into
masterfrom
sharing-popover-menu

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Jul 27, 2016 •

Copy link
Copy Markdown
Member

bildschirmfoto von 2016-07-27 15-31-44

@jancborchardt your turn, fix the styling :-P

TODO:

  • 'Unshare' button does not work. The event is not propagated to the registered event handler, no clue why cc @nextcloud/javascript
  • with files, the 'can edit' checkbox can only be unchecked. If it's set again then some logic unsets it magically 😩

cc @nextcloud/designers

@mention-bot

Copy link
Copy Markdown

@ChristophWurst, thanks for your PR! By analyzing the annotation information on this pull request, we identified @PVince81, @blizzz and @schiessle to be potential reviewers

@schiessle

Copy link
Copy Markdown
Member

having this new drop-down menu for the additional share permissions looks great. But I would keep the "unshare" button out. This makes it way more easier to unshare multiple files in a row.

@rullzer

rullzer commented Jul 27, 2016

Copy link
Copy Markdown
Member

Awesome!
But I agree with @schiessle for the unshare button.

@rullzer

rullzer commented Jul 27, 2016

Copy link
Copy Markdown
Member

Btw why is can edit not in the dropdown?

@ChristophWurst

Copy link
Copy Markdown
Member Author

Btw why is can edit not in the dropdown?

Because it's used more frequently according to @jancborchardt

@MorrisJobke

Copy link
Copy Markdown
Member

Because it's used more frequently according to @jancborchardt

And it is a meta permission. Can edit includes all the other ones, right?

@rullzer

rullzer commented Jul 27, 2016

Copy link
Copy Markdown
Member

can edit does not cover can share...

@jancborchardt

Copy link
Copy Markdown
Member

»can edit« is outside of the dropdown because deciding if you share something with a person read-only or with full access is arguably an important decision. It should not be hidden away in a dropdown.

Agree that we can keep the »Unshare« button out of the dropdown for now. So it should look like this:

😎 Hans           [ ] can edit  •••  🗑

😃 Maria          [x] can edit  •••  🗑

@jancborchardt

jancborchardt commented Jul 27, 2016 •

Copy link
Copy Markdown
Member

What we should also do:

  • Sort people with most permissions up top (those with edit rights)
  • rename »can share« to »can reshare« so it’s more clear

@rullzer

rullzer commented Jul 28, 2016

Copy link
Copy Markdown
Member

I think the can reshare should also be out of the dropdown. It is an essential permission.

@rullzer

rullzer commented Aug 10, 2016

Copy link
Copy Markdown
Member

Ah it is because of some of the js magic. Let me fix it :)

@rullzer
rullzer force-pushed the sharing-popover-menu branch 3 times, most recently from 483ede9 to cbf0a65 Compare August 10, 2016 09:01
@rullzer

rullzer commented Aug 10, 2016 •

Copy link
Copy Markdown
Member

Should work now ;)

Some things:

  • Can we move the ... and trash icon all the way to the right?
  • Can we make the menu appear on the dots?

@rullzer
rullzer force-pushed the sharing-popover-menu branch from cbf0a65 to 098460f Compare August 19, 2016 11:09
@rullzer

rullzer commented Aug 19, 2016

Copy link
Copy Markdown
Member

sharemenu

It now looks like this. Which I think is very nice!
Only thing I really dislike here is the trashbin next to the dot menu... way to easy to click on it....

@jancborchardt suggestions?

@MorrisJobke

Copy link
Copy Markdown
Member

Only thing I really dislike here is the trashbin next to the dot menu... way to easy to click on it....

And the alignment is a bit off.

@rullzer

rullzer commented Aug 24, 2016 •

Copy link
Copy Markdown
Member

From #146

  • Rename edit to upload and edit

Never mind was for link sharing

@rullzer

rullzer commented Aug 24, 2016

Copy link
Copy Markdown
Member

@MorrisJobke yeah I leave all that to somebody with a bit more CSS fu ;)

@jancborchardt

Copy link
Copy Markdown
Member

Only thing I really dislike here is the trashbin next to the dot menu... way to easy to click on it....

@rullzer ;D exactly the reason why I would have moved it into the menu. ;) But a bit of spacing might take care of it as well.

@MorrisJobke

Copy link
Copy Markdown
Member

@ChristophWurst @rullzer What is the status of this? Could I somehow help here?

@rullzer

rullzer commented Aug 30, 2016

Copy link
Copy Markdown
Member

@MorrisJobke ah yes. The aligning is still a bit off and we probabaly need more spacing between the delete button.

Awesome if you could take care :)

@MorrisJobke MorrisJobke self-assigned this Aug 30, 2016
@rullzer rullzer mentioned this pull request Sep 6, 2016
@blizzz blizzz mentioned this pull request Sep 20, 2016
9 tasks
@ChristophWurst

Copy link
Copy Markdown
Member Author

@MorrisJobke @rullzer what's the status of this now? Anything left that needs to be done?

@MorrisJobke

Copy link
Copy Markdown
Member

@MorrisJobke @rullzer what's the status of this now? Anything left that needs to be done?

Rullzer asked if I could help with the layout. I haven't looked at it yet.

@ChristophWurst

Copy link
Copy Markdown
Member Author

Fixed the alignment and added some padding to the unshare icon:
bildschirmfoto am 2016-10-03 um 09 34 43

@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 3, 2016
@rullzer

rullzer commented Oct 3, 2016

Copy link
Copy Markdown
Member

@ChristophWurst thnx!

I'd say lets get this in! We can sort out details later. Longer we wait the more conflicts and stuff will pop up.

SO LGTM!

@codecov-io

Copy link
Copy Markdown

Current coverage is 30.59% (diff: 100%)

Merging #607 into master will not change coverage

@@             master       #607   diff @@
==========================================
  Files          1081       1081          
  Lines         60020      60020          
  Methods        6808       6808          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          18362      18362          
  Misses        41658      41658          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 07a1be2...96af627

@LukasReschke

Copy link
Copy Markdown
Member

LGTM

@LukasReschke
LukasReschke merged commit 08b0e5c into master Oct 3, 2016
@LukasReschke
LukasReschke deleted the sharing-popover-menu branch October 3, 2016 12:18
@LukasReschke

Copy link
Copy Markdown
Member

@MorrisJobke MorrisJobke removed their assignment Oct 6, 2016
R0Wi pushed a commit to R0Wi/server that referenced this pull request Nov 22, 2025
feat: daemon selection support during ExApp installation from UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc. enhancement feature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants