* Revert "POC: Cross-team recent search (#20027)"

This reverts commit aa59c28b04, preserving
a few code tidyings unrelated to the original PR.

* Revert "Add feature flag for command palette (#20011)"

This reverts commit c78c5ce3f3.
Этот коммит содержится в:
Jesse Hallam
2023-07-24 10:31:06 -03:00
коммит произвёл GitHub
родитель c35777194d
Коммит 89e65257a6
26 изменённых файлов: 49 добавлений и 432 удалений

Просмотреть файл

@@ -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"`
}