MM-54505: re-enable remote marketplace functionality (#24561)

Этот коммит содержится в:
Caleb Roseland
2023-09-15 12:17:53 -05:00
коммит произвёл GitHub
родитель 64fabbeed3
Коммит 9a3b503169
6 изменённых файлов: 17 добавлений и 140 удалений

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

@@ -76,16 +76,8 @@ exports[`components/marketplace/ doesn't show web marketplace banner in FeatureF
<div
className="GenericModal__body"
>
<MarketplaceList
filter=""
listRef={
Object {
"current": null,
}
}
listing={Array []}
noResultsMessage="No plugins found"
page={0}
<LoadingScreen
className="loading"
/>
</div>
</ModalBody>
@@ -169,49 +161,8 @@ exports[`components/marketplace/ hides search, shows web marketplace banner in F
<div
className="GenericModal__body"
>
<MarketplaceList
filter=""
listRef={
Object {
"current": null,
}
}
listing={
Array [
Object {
"author_type": "mattermost",
"download_url": "https://github.com/mattermost/mattermost-plugin-nps/releases/download/v1.0.3/com.mattermost.nps-1.0.3.tar.gz",
"enterprise": false,
"homepage_url": "https://github.com/mattermost/mattermost-plugin-nps",
"installed_version": "",
"manifest": Object {
"description": "This plugin sends quarterly user satisfaction surveys to gather feedback and help improve Mattermost",
"id": "com.mattermost.nps",
"min_server_version": "5.14.0",
"name": "User Satisfaction Surveys",
"version": "1.0.3",
},
"release_stage": "production",
},
Object {
"author_type": "mattermost",
"download_url": "https://github.com/mattermost/mattermost-test/releases/download/v1.0.3/com.mattermost.nps-1.0.3.tar.gz",
"enterprise": false,
"homepage_url": "https://github.com/mattermost/mattermost-test",
"installed_version": "1.0.3",
"manifest": Object {
"description": "This plugin is to test",
"id": "com.mattermost.test",
"min_server_version": "5.14.0",
"name": "Test",
"version": "1.0.3",
},
"release_stage": "production",
},
]
}
noResultsMessage="No plugins found"
page={0}
<LoadingScreen
className="loading"
/>
</div>
</ModalBody>

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

@@ -251,13 +251,17 @@ const MarketplaceModal = ({
>
{isStreamlinedMarketplaceEnabled ? (
<>
<MarketplaceList
listRef={listRef}
listing={listing}
page={page}
filter={filter}
noResultsMessage={formatMessage({id: 'marketplace_modal.no_plugins', defaultMessage: 'No plugins found'})}
/>
{loading ? (
<LoadingScreen className='loading'/>
) : (
<MarketplaceList
listRef={listRef}
listing={listing}
page={page}
filter={filter}
noResultsMessage={formatMessage({id: 'marketplace_modal.no_plugins', defaultMessage: 'No plugins found'})}
/>
)}
</>
) : (
<Tabs