Remove command palette POC (#24044)
* Revert "POC: Cross-team recent search (#20027)" This reverts commitaa59c28b04, preserving a few code tidyings unrelated to the original PR. * Revert "Add feature flag for command palette (#20011)" This reverts commitc78c5ce3f3.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c35777194d
Коммит
89e65257a6
@@ -43,8 +43,6 @@ type FeatureFlags struct {
|
||||
|
||||
InsightsEnabled bool
|
||||
|
||||
CommandPalette bool
|
||||
|
||||
PostPriority bool
|
||||
|
||||
// Enable WYSIWYG text editor
|
||||
@@ -74,7 +72,6 @@ func (f *FeatureFlags) SetDefaults() {
|
||||
f.NormalizeLdapDNs = false
|
||||
f.GraphQL = false
|
||||
f.InsightsEnabled = false
|
||||
f.CommandPalette = false
|
||||
f.CallsEnabled = true
|
||||
f.PeopleProduct = false
|
||||
f.DeprecateCloudFree = false
|
||||
|
||||
@@ -77,11 +77,6 @@ const (
|
||||
PostPropsPersistentNotifications = "persistent_notifications"
|
||||
)
|
||||
|
||||
const (
|
||||
ModifierMessages string = "messages"
|
||||
ModifierFiles string = "files"
|
||||
)
|
||||
|
||||
type Post struct {
|
||||
Id string `json:"id"`
|
||||
CreateAt int64 `json:"create_at"`
|
||||
@@ -197,7 +192,6 @@ type SearchParameter struct {
|
||||
Page *int `json:"page"`
|
||||
PerPage *int `json:"per_page"`
|
||||
IncludeDeletedChannels *bool `json:"include_deleted_channels"`
|
||||
Modifier *string `json:"modifier"` // whether it's messages or file
|
||||
}
|
||||
|
||||
type AnalyticsPostCountsOptions struct {
|
||||
|
||||
@@ -33,7 +33,7 @@ type SearchParams struct {
|
||||
IncludeDeletedChannels bool `json:"include_deleted_channels,omitempty"`
|
||||
TimeZoneOffset int `json:"timezone_offset,omitempty"`
|
||||
// True if this search doesn't originate from a "current user".
|
||||
SearchWithoutUserId bool `json:"search_without_userid,omitempty"`
|
||||
SearchWithoutUserId bool `json:"search_without_user_id,omitempty"`
|
||||
Modifier string `json:"modifier"`
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user