Conversation
megoth
left a comment
There was a problem hiding this comment.
This seems to remove the green plus icon altogether? That is at least the behavior I'm seeing when testing this out on my local setup.
|
Ehm, I guess you're right - let me take another look. |
I really have no idea when `doingDefaults` is supposed to be true, but given that these lines were introduced in a commit that said it was "basically" working (2e63674), I hope Tim can clarify that during review. I _think_ it means when we're not rendering folder-specific sharing settings, in which case we do not want to add yet another "Add" button - it was already added when loading defaults. If this commit is in `master`, it has been approved ;)
bc88b1c to
44e4dcc
Compare
|
@megoth Alright, perhaps this does what it's supposed to - can't really be sure though :/ Note that I updated the commit, so if you want to check it out locally, delete the old branch first: |
megoth
left a comment
There was a problem hiding this comment.
This is limiting the number of plus-icons to one, which is good. It will only add to first list of groups, but that's ok, as you can drag-and-drop to the other one.
In my book this is a good enough solution (especially since I suspect that we will rework the sharingPane at some point anyway).
timbl
left a comment
There was a problem hiding this comment.
This looks as though it suppresses a green plus when the acl control is controlling the default settings ... not clear to me why you would not want it ... just looking on phone
|
I was expected the solution to the replicating pluses problem to be to move the plus from an outer dom level to an inner one where it vanish with as control is refreshed. ... |
|
The title seems reversed. You only want a green plus when you are modifying the ACL. Not when it is read-only. |
|
Closed in favor of https://github.com/solid/solid-ui/pull/182 |
I really have no idea why these lines of code are there, but given
that they were introduced in a commit that said it was "basically"
working (2e63674), I hope @timbl can
clarify that.
Since we haven't set up test tooling in solid-ui yet, this PR does not include tests.
Fixes #121.