-
Notifications
You must be signed in to change notification settings - Fork 25
feat: rooms out of beta #118
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for hoppdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
type Room struct { | ||
ID string `json:"id" gorm:"unique;not null"` // Standard field for the primary key | ||
Name string `gorm:"not null" json:"name" validate:"required"` | ||
UserID string `gorm:"not null" json:"user_id" validate:"required"` |
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.
It seems that we don't use this anywhere. We are only using the TeamID for creating/deleting/gettings/modifying.
return c.NoContent(http.StatusNoContent) | ||
} | ||
|
||
func (h *AuthHandler) GetRoom(c echo.Context) error { |
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.
Nit: Should this be named EnterRoom
?
OVERLAY_WINDOW_INITIAL_SIZE, | ||
)) | ||
.with_content_protected(true) | ||
.with_content_protected(false) |
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.
Remove me.
reset: () => void; | ||
setCalling: (calling: string | null) => void; | ||
setCallTokens: (tokens: CallState | null) => void; | ||
// setRoom: (room: components["schemas"]["Room"] | null) => void; |
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.
Is this needed?
teammates: null, | ||
calling: null, | ||
callTokens: null, | ||
// room: null, |
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.
ditto
// setRoom: (room) => | ||
// set((state) => { | ||
// state.room = room; | ||
// }), |
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.
ditto
Closes #21
Co-developed with @mumair5393