-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extensions): rename plugins to extensions, enable marketplace pl…
…ugin by default and show it as catalog on the new renamed page (#2358) * feat(marketplace): allow plugins to extend the plugins page Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * feat(marketplace): update marketplace plugin Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * fix(marketplace): fix mount points in app-config.dynamic-plugins.yaml Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * fix(marketplace): fix e2e tests Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * fix(marketplace): enable marketplace plugin by default Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * fix(marketplace): update marketplace plugin Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> * fix(marketplace): rename to extensions/catalog Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> --------- Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
- Loading branch information
1 parent
93b19c9
commit a9001b8
Showing
19 changed files
with
237 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 18 additions & 15 deletions
33
...at-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { test as base } from "@playwright/test"; | ||
import { Common } from "../utils/common"; | ||
import { UIhelper } from "../utils/ui-helper"; | ||
|
||
const test = base.extend<{ uiHelper: UIhelper }>({ | ||
uiHelper: async ({ page }, use) => { | ||
use(new UIhelper(page)); | ||
}, | ||
}); | ||
|
||
test.describe("Admin > Extensions > Catalog", () => { | ||
test.beforeEach(async ({ page, uiHelper }) => { | ||
await new Common(page).loginAsKeycloakUser(); | ||
await uiHelper.openSidebarButton("Administration"); | ||
await uiHelper.openSidebar("Extensions"); | ||
await uiHelper.verifyHeading("Extensions"); | ||
}); | ||
|
||
test("Tabs includes a tab for extensions", async ({ uiHelper }) => { | ||
await uiHelper.clickTab("Catalog"); | ||
// TODO: check plugins grid when we initialized some test data | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# please keep this in sync with packages/app/src/App.tsx | ||
dynamicPlugins: | ||
frontend: | ||
internal.plugin-dynamic-plugins-info: | ||
appIcons: | ||
- name: pluginsInfoIcon | ||
importName: PluginsInfoIcon | ||
- name: adminIcon | ||
importName: AdminIcon | ||
dynamicRoutes: | ||
- path: /extensions | ||
importName: DynamicPluginsInfoPage | ||
menuItem: | ||
text: Extensions | ||
icon: pluginsInfoIcon | ||
mountPoints: | ||
- mountPoint: internal.plugins/tab | ||
importName: DynamicPluginsInfoContent | ||
config: | ||
path: installed | ||
title: Installed | ||
menuItems: | ||
admin: | ||
title: Administration | ||
icon: adminIcon | ||
extensions: | ||
parent: admin | ||
title: Extensions | ||
icon: pluginsInfoIcon |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...namic-plugins-info/src/components/DynamicPluginsInfoContent/DynamicPluginsInfoContent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { DynamicPluginsInfoPage } from '../DynamicPluginsInfoPage'; | ||
import { DynamicPluginsTable } from '../DynamicPluginsTable/DynamicPluginsTable'; | ||
|
||
export const DynamicPluginsInfoContent = () => <DynamicPluginsInfoPage />; | ||
export const DynamicPluginsInfoContent = () => <DynamicPluginsTable />; |
Oops, something went wrong.