Unfurl Focalboard Server PR (#18271)
* Allow Embeds editing without editing * Add focalboard to embed after it being in props * Fix tests * change to boards * remove extra gunk * Fix tests * Add Feature Flag * update boardsunfurl Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
@@ -49,6 +49,9 @@ type FeatureFlags struct {
|
||||
|
||||
// Enable different treatments for first time users, possible values = ("none", "tips_and_next_steps")
|
||||
DownloadAppsCTA string
|
||||
|
||||
// Enable Boards Unfurl Preview
|
||||
BoardsUnfurl bool
|
||||
}
|
||||
|
||||
func (f *FeatureFlags) SetDefaults() {
|
||||
@@ -66,6 +69,7 @@ func (f *FeatureFlags) SetDefaults() {
|
||||
f.AddChannelButton = "by_team_name"
|
||||
f.PrewrittenMessages = "none"
|
||||
f.DownloadAppsCTA = "none"
|
||||
f.BoardsUnfurl = true
|
||||
}
|
||||
|
||||
func (f *FeatureFlags) Plugins() map[string]string {
|
||||
|
||||
@@ -9,6 +9,7 @@ const (
|
||||
PostEmbedOpengraph PostEmbedType = "opengraph"
|
||||
PostEmbedLink PostEmbedType = "link"
|
||||
PostEmbedPermalink PostEmbedType = "permalink"
|
||||
PostEmbedBoards PostEmbedType = "boards"
|
||||
)
|
||||
|
||||
type PostEmbedType string
|
||||
|
||||
Ссылка в новой задаче
Block a user