-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Workspaces may be entered via Branded Domain #67
Conversation
ccd60bf
to
948ceb1
Compare
convene-web/db/seeds.rb
Outdated
|
||
ada = zincs_workspace.rooms.create(name: 'Ada', access_level: :unlocked, publicity_level: :listed) | ||
ttz = zincs_workspace.rooms.create(name: 'Talk to Zee', access_level: :unlocked, publicity_level: :unlisted) | ||
ada = zincs_workspace.rooms.find_or_create_by!(name: 'Ada' |
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.
ada = zincs_workspace.rooms.find_or_create_by!(name: 'Ada' | |
ada = zincs_workspace.rooms.find_or_create_by!(name: 'Ada') |
@@ -4,6 +4,9 @@ class Workspace < ApplicationRecord | |||
# Which client owns the workspace | |||
belongs_to :client | |||
|
|||
# The fully-qualified domain to enter the workspace | |||
attribute :branded_domain, :string |
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.
Do we need to add some unique constraint/ validation on branded_domain
?
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.
Good point! I've added a uniquness validation.
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 like it.
See: #61 Branded Domains allow Visitors to bypass hitting the `/workspaces/:slug` path and drop them right in the Workspaces Lobby. For example, `convene-demo.zinc.coop` is a branded domain for the `Convene Demo` workspace. `meet.zinc.coop` is a branded domain for the Zinc workspace.
Probably should think a bit more about this...
4835ff1
to
65414b4
Compare
See: #61, #61
Branded Domains allow Visitors to bypass hitting the
/workspaces/:slug
path and drop them right in the Workspaces Lobby.
For example,
convene-demo.zinc.coop
is a branded domain for theConvene Demo
workspace.meet.zinc.coop
is a branded domain for theZinc workspace.