Create twenty app improvements (#20688)
create-twenty-app updates: - remove --example option - sync --once when scaffolding an applicaiton - rename --api-url option to --workspace-url - create a standalone page when scaffolding an app <img width="1494" height="765" alt="image" src="https://github.com/user-attachments/assets/0e35ed0c-b0aa-466c-9f56-7939294fd2cf" /> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
+1
@@ -23,6 +23,7 @@ const mockPageLayout: PageLayout = {
|
||||
name: 'Test Layout',
|
||||
type: PageLayoutType.DASHBOARD,
|
||||
objectMetadataId: null,
|
||||
universalIdentifier: '20202020-0000-0000-0000-000000000001',
|
||||
tabs: [],
|
||||
createdAt: '2024-01-01T00:00:00.000Z',
|
||||
updatedAt: '2024-01-01T00:00:00.000Z',
|
||||
|
||||
+2
@@ -140,6 +140,7 @@ const createPageLayoutWithWidget = (
|
||||
name: 'Mock Page Layout',
|
||||
type: pageLayoutType,
|
||||
objectMetadataId: companyObjectMetadataItem.id,
|
||||
universalIdentifier: '20202020-0000-0000-0000-000000000001',
|
||||
tabs: [
|
||||
{
|
||||
__typename: 'PageLayoutTab',
|
||||
@@ -1747,6 +1748,7 @@ export const Catalog: CatalogStory<Story, typeof WidgetRenderer> = {
|
||||
name: 'Mock Page Layout',
|
||||
type: pageLayoutType,
|
||||
objectMetadataId: companyObjectMetadataItem.id,
|
||||
universalIdentifier: '20202020-0000-0000-0000-000000000001',
|
||||
tabs:
|
||||
variant === 'side-column'
|
||||
? [
|
||||
|
||||
+1
@@ -288,6 +288,7 @@ const createPageLayoutWithWidget = (
|
||||
name: 'Mock Page Layout',
|
||||
type: PageLayoutType.RECORD_PAGE,
|
||||
objectMetadataId,
|
||||
universalIdentifier: '20202020-0000-0000-0000-000000000001',
|
||||
tabs: [
|
||||
{
|
||||
__typename: 'PageLayoutTab' as const,
|
||||
|
||||
+1
@@ -138,6 +138,7 @@ const createPageLayoutWithWidget = (
|
||||
name: 'Mock Page Layout',
|
||||
type: PageLayoutType.RECORD_PAGE,
|
||||
objectMetadataId,
|
||||
universalIdentifier: '20202020-0000-0000-0000-000000000001',
|
||||
tabs: [
|
||||
{
|
||||
__typename: 'PageLayoutTab' as const,
|
||||
|
||||
Reference in New Issue
Block a user