-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: create guests through the contacts menu #54330
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
feat: create guests through the contacts menu #54330
Conversation
core/src/views/ContactsMenu.vue
Outdated
| if (OCA.Guests && OCA.Guests.openGuestDialog) { | ||
| this.$refs.contactsmenu.closeMenu() | ||
| OCA.Guests.openGuestDialog('core') | ||
| } |
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.
| if (OCA.Guests && OCA.Guests.openGuestDialog) { | |
| this.$refs.contactsmenu.closeMenu() | |
| OCA.Guests.openGuestDialog('core') | |
| } | |
| if (window?.OCA?.Guests?.openGuestDialog) { | |
| this.$refs.contactsmenu.closeMenu() | |
| OCA.Guests.openGuestDialog('core') | |
| } |
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.
I would also prefer a small (not public) API here the other way around to allow adding a button.
And put the registration into guests app.
Because having external apps references in server feels the wrong way.
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.
Same with what we're doing for files sharing here? https://github.com/nextcloud/guests/blob/main/src/main.js#L54
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.
Done here: #54474 and nextcloud/guests#1380
We can just close this PR if the above ones are approved and merged.
skjnldsv
left a comment
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.
Added comments
Signed-off-by: Kent Delante <[email protected]>
f64f0e0 to
f41652b
Compare
|
Closing this in favor of: |
Summary
Guests are currently created through file shares and this simplifies creation by allowing users to invite guests through the contacts menu on the top right.
Before:

After:

Checklist