frontend-app-api: implement core layout and initial sidebar
Co-authored-by: Camila Belo <camilaibs@gmail.com> Co-authored-by: Philipp Hugenroth <philipph@spotify.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ describe('createPageExtension', () => {
|
||||
).toEqual({
|
||||
$$type: 'extension',
|
||||
id: 'test',
|
||||
at: 'core.router/routes',
|
||||
at: 'core.routes/routes',
|
||||
configSchema: expect.anything(),
|
||||
disabled: false,
|
||||
inputs: {},
|
||||
@@ -88,7 +88,7 @@ describe('createPageExtension', () => {
|
||||
).toEqual({
|
||||
$$type: 'extension',
|
||||
id: 'test',
|
||||
at: 'core.router/routes',
|
||||
at: 'core.routes/routes',
|
||||
configSchema: expect.anything(),
|
||||
disabled: false,
|
||||
inputs: {},
|
||||
|
||||
@@ -63,7 +63,7 @@ export function createPageExtension<
|
||||
|
||||
return createExtension({
|
||||
id: options.id,
|
||||
at: options.at ?? 'core.router/routes',
|
||||
at: options.at ?? 'core.routes/routes',
|
||||
disabled: options.disabled,
|
||||
output: {
|
||||
component: coreExtensionData.reactComponent,
|
||||
|
||||
@@ -143,7 +143,7 @@ describe('createPlugin', () => {
|
||||
render(
|
||||
createTestAppRoot({
|
||||
plugins: [plugin],
|
||||
config: { app: { extensions: [{ 'core.router': false }] } },
|
||||
config: { app: { extensions: [{ 'core.routes': false }] } },
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -169,7 +169,7 @@ describe('createPlugin', () => {
|
||||
config: {
|
||||
app: {
|
||||
extensions: [
|
||||
{ 'core.router': false },
|
||||
{ 'core.routes': false },
|
||||
{
|
||||
'plugin.catalog.page': {
|
||||
config: { name: 'CatalogRenamed' },
|
||||
|
||||
Reference in New Issue
Block a user