v1.1.16 — Restore Partner slug in side panel and Notes tab (#22165)
## Summary **Package version:** `1.1.16` - Adds **slug** to the Partner record-page `FIELDS_WIDGET` view so it appears in the side panel for admins and partners (partners remain update-locked on slug via `partner.role.ts`). - Restores the **Notes** tab on the custom Partner `RECORD_PAGE` layout — the marketplace v2 layout replaced the platform default but only included Home + Timeline. ## Test plan - [ ] `yarn lint` in `packages/twenty-apps/internal/twenty-partners` — 0 errors - [ ] `yarn twenty dev --once` on a local partners workspace — sync succeeds - [ ] Admin: open a Partner record full page → slug visible under Name in side panel; **Notes** tab present and can create a linked note - [ ] Partner role (My Profile): slug visible, not editable; Notes tab works - [ ] After merge: `deploy` + `install` on prod partners workspace <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/22165?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twenty-partners",
|
||||
"version": "1.1.15",
|
||||
"version": "1.1.16",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "^24.5.0",
|
||||
|
||||
+3
@@ -2,6 +2,9 @@
|
||||
export const PARTNER_NAME_FIELD_UNIVERSAL_IDENTIFIER =
|
||||
'a0000001-0000-4000-8000-000000000001';
|
||||
|
||||
export const PARTNER_SLUG_FIELD_UNIVERSAL_IDENTIFIER =
|
||||
'a0000002-0000-4000-8000-000000000002';
|
||||
|
||||
export const PARTNER_VALIDATION_STAGE_FIELD_UNIVERSAL_IDENTIFIER =
|
||||
'2ca9856f-f54a-4326-9ff3-668fd7da0b50';
|
||||
|
||||
|
||||
@@ -45,5 +45,20 @@ export default definePageLayout({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
universalIdentifier: '451827fd-bde3-49fd-9ac5-f44ebb2de41b',
|
||||
title: 'Notes',
|
||||
position: 30,
|
||||
icon: 'IconNotes',
|
||||
layoutMode: PageLayoutTabLayoutMode.CANVAS,
|
||||
widgets: [
|
||||
{
|
||||
universalIdentifier: '53e31a77-642e-49d4-824d-a5cad81b83a5',
|
||||
title: 'Notes',
|
||||
type: 'NOTES',
|
||||
configuration: { configurationType: 'NOTES' },
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
+28
-21
@@ -11,6 +11,7 @@ import {
|
||||
PARTNER_LANGUAGES_SPOKEN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_LINKEDIN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_NAME_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_SLUG_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_PROFILE_PICTURE_FILE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_PROFILE_PICTURE_LEGACY_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
PARTNER_PROJECT_BUDGET_MIN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
@@ -46,130 +47,136 @@ export default defineView({
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '80a10871-2f16-4aa7-90d5-715052201309',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_SLUG_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'c473b085-a043-48e3-8f30-2936667ae93b',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_PROFILE_PICTURE_FILE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 1,
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '94bc6866-9a59-442d-9766-e0433420d61a',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_PROFILE_PICTURE_LEGACY_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 2,
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'e82ab8fa-8d78-4ef4-97f6-5456c9df30b4',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_INTRODUCTION_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 3,
|
||||
position: 4,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'd61ac88b-139a-417d-8767-1db77a44d1a5',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_AVAILABILITY_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 4,
|
||||
position: 5,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '2304f4b9-4faf-4813-8ef7-fb7697d64a92',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_SCOPE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 5,
|
||||
position: 6,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'a0c47e12-6435-458a-b608-621bcee57474',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_SKILLS_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 6,
|
||||
position: 7,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'cbd9d84c-3d71-495c-b412-08c77f2c124c',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_DEPLOYMENT_EXPERTISE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 7,
|
||||
position: 8,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '42521613-4eeb-4a00-9a25-1d9de793d3c0',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_LANGUAGES_SPOKEN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 8,
|
||||
position: 9,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '2d595d67-8317-4c67-aeec-fe6e030e4830',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_TYPE_OF_TEAM_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 9,
|
||||
position: 10,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'a85dc9bc-a5f5-446e-a36c-492f1b6c0035',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_REGION_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 10,
|
||||
position: 11,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '90d11276-1666-4c36-9055-00c4680c3168',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_COUNTRY_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 11,
|
||||
position: 12,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '23f76380-3532-4e84-9115-55d395d6646b',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_CITY_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 12,
|
||||
position: 13,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'cf5e9649-a3e9-4b3f-b746-e701e3db7169',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_HOURLY_RATE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 13,
|
||||
position: 14,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '388ae22b-956c-4e5a-8b78-6f8cb0105c1a',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_PROJECT_BUDGET_MIN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 14,
|
||||
position: 15,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '5c8727a3-6e4b-41c7-adf9-530ab6599bf9',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_LINKEDIN_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 15,
|
||||
position: 16,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'a6ef3c3b-103b-41b7-ba85-9d93a9af3296',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_WEBSITE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 16,
|
||||
position: 17,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '4bc68141-963f-4e42-8aa4-c081afc613c7',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_CALENDAR_LINK_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 17,
|
||||
position: 18,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '3487e2ae-0feb-41c4-ad0c-f94dff435015',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_VALIDATION_STAGE_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 18,
|
||||
position: 19,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '971c79e6-381e-4346-86a4-7119de4824be',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_TIER_FIELD_UNIVERSAL_IDENTIFIER,
|
||||
position: 19,
|
||||
position: 20,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: 'ec1148d4-01ff-4128-9863-0ac42ea8eb47',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_USER_ON_PARTNER_FIELD_ID,
|
||||
position: 20,
|
||||
position: 21,
|
||||
isVisible: true,
|
||||
},
|
||||
{
|
||||
universalIdentifier: '3ec293a1-da90-4104-a22e-771c0059e9b5',
|
||||
fieldMetadataUniversalIdentifier: PARTNER_COMPANY_FIELD_ID,
|
||||
position: 21,
|
||||
position: 22,
|
||||
isVisible: true,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user