Skip to content

Commit 2cf5004

Browse files
authored
Merge branch 'main' into fix--do-not-update-position-each-time-we-upsert
2 parents 83482cd + f1c7aec commit 2cf5004

61 files changed

Lines changed: 5223 additions & 5761 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.yarn/patches/@wyw-in-js-transform-npm-0.7.0-ba641dc99f.patch

Lines changed: 0 additions & 58 deletions
This file was deleted.

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"private": true,
33
"devDependencies": {
4-
"@nx/jest": "22.5.4",
5-
"@nx/js": "22.5.4",
6-
"@nx/react": "22.5.4",
7-
"@nx/storybook": "22.5.4",
8-
"@nx/vite": "22.5.4",
9-
"@nx/web": "22.5.4",
4+
"@nx/jest": "22.7.5",
5+
"@nx/js": "22.7.5",
6+
"@nx/react": "22.7.5",
7+
"@nx/storybook": "22.7.5",
8+
"@nx/vite": "22.7.5",
9+
"@nx/web": "22.7.5",
1010
"@types/react": "^18.2.39",
1111
"@types/react-dom": "^18.2.15",
1212
"@yarnpkg/types": "^4.0.0",
1313
"concurrently": "^8.2.2",
1414
"http-server": "^14.1.1",
15-
"nx": "22.5.4",
15+
"nx": "22.7.5",
1616
"oxfmt": "0.50.0",
1717
"tsx": "^4.17.0",
1818
"verdaccio": "^6.3.1"
@@ -33,8 +33,6 @@
3333
"graphql-redis-subscriptions/ioredis": "^5.6.0",
3434
"@lingui/core": "5.1.2",
3535
"@types/qs": "6.9.16",
36-
"@wyw-in-js/transform@npm:0.6.0": "patch:@wyw-in-js/transform@npm%3A0.7.0#~/.yarn/patches/@wyw-in-js-transform-npm-0.7.0-ba641dc99f.patch",
37-
"@wyw-in-js/transform@npm:0.7.0": "patch:@wyw-in-js/transform@npm%3A0.7.0#~/.yarn/patches/@wyw-in-js-transform-npm-0.7.0-ba641dc99f.patch",
3836
"@opentelemetry/api": "1.9.1",
3937
"chokidar": "^3.6.0",
4038
"tmp": "^0.2.7",
@@ -43,7 +41,9 @@
4341
"make-fetch-happen": "^15.0.0",
4442
"@electron/rebuild/tar": "npm:^7.5.16",
4543
"@electron/node-gyp/tar": "npm:^7.5.16",
46-
"pacote/tar": "npm:^7.5.16"
44+
"pacote/tar": "npm:^7.5.16",
45+
"@angular-devkit/core": "19.2.24",
46+
"yeoman-environment": "6.0.1"
4747
},
4848
"version": "0.2.1",
4949
"nx": {},

packages/twenty-apps/internal/twenty-partners/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "twenty-partners",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"license": "MIT",
55
"engines": {
66
"node": "^24.5.0",

packages/twenty-apps/internal/twenty-partners/src/constants/universal-identifiers.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ export const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER = 'ee18c3f3-ebe7-4c56-ad6d-aad555
55
export const PARTNER_OBJECT_UNIVERSAL_IDENTIFIER = '39101b39-1c16-4148-9e82-45dc271bb90d';
66
export const PARTNER_CONTENT_OBJECT_UNIVERSAL_IDENTIFIER = '65172140-d377-41c1-a2ae-190e96fb79dd';
77
export const ALL_PARTNERS_VIEW_UNIVERSAL_IDENTIFIER = '379b11d5-44d5-476b-ba7d-31d5f515c9b4';
8-
export const ALL_MATCHED_DEALS_VIEW_UNIVERSAL_IDENTIFIER = '7a34da39-a8e1-44c7-88b4-91ceaa064920';
98
export const PARTNERS_NAV_UNIVERSAL_IDENTIFIER = '3fe15ab5-e38b-4914-af17-2270b210aeb2';
10-
export const PARTNER_DEALS_NAV_UNIVERSAL_IDENTIFIER = 'c5e4ac36-bede-4f4b-bfe8-bbd09518abae';
119
export const ON_OPP_AUTO_MATCH_FN_UNIVERSAL_IDENTIFIER = 'eb8d4d26-8103-4b66-9026-6a86556f7ca5';
1210
export const POST_INSTALL_FN_UNIVERSAL_IDENTIFIER = 'f92bad2e-5905-4757-96ee-af9869d4ca0c';
1311
export const ON_PARTNER_APPLICATION_CREATED_FN_UNIVERSAL_IDENTIFIER = '43888cce-a2aa-4100-afbc-59a4f978ce53';
@@ -18,13 +16,17 @@ export const INTRO_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER = 'fcf39b0c-0547-415e-806d
1816
export const TWENTY_PARTNER_OPS_ROLE_UNIVERSAL_IDENTIFIER = '3340ca65-863d-4cdc-95c9-8abdec13d0f6';
1917
export const PARTNER_ROLE_UNIVERSAL_IDENTIFIER = 'c3c1dc2e-1a08-4de5-abb7-2139b3d99343';
2018

21-
// Views (Task 3)
22-
export const WAITING_FOR_MATCH_VIEW_UNIVERSAL_IDENTIFIER = 'fe11e738-6bf3-4714-929c-51c76a3fd050';
23-
export const MATCHES_OVERVIEW_VIEW_UNIVERSAL_IDENTIFIER = '5a8fd51a-cf9e-4a6a-b1b4-b833b215fc1c';
24-
25-
// Nav items (Task 5)
26-
export const WAITING_FOR_MATCH_NAV_UNIVERSAL_IDENTIFIER = '00be7449-8927-47c8-a6a1-212d9106587f';
27-
export const MATCHES_OVERVIEW_NAV_UNIVERSAL_IDENTIFIER = '0cf349c9-fcbf-40f8-8e91-142c02bbde9c';
19+
// Opportunity pipeline views + nav (simplified to partner presence; UIDs reused
20+
// from the previous matching views so they update in place rather than re-create).
21+
export const OPPORTUNITIES_NO_PARTNER_VIEW_UNIVERSAL_IDENTIFIER = 'fe11e738-6bf3-4714-929c-51c76a3fd050';
22+
// Fresh id (the old matches-overview id '5a8fd51a…' kept its stale KANBAN type +
23+
// view groups on re-sync; a new id forces a clean TABLE recreate).
24+
export const OPPORTUNITIES_WITH_PARTNER_VIEW_UNIVERSAL_IDENTIFIER = '053449b0-3d13-400d-afc2-6182a75b6dff';
25+
export const OPPORTUNITIES_NO_PARTNER_NAV_UNIVERSAL_IDENTIFIER = '00be7449-8927-47c8-a6a1-212d9106587f';
26+
export const OPPORTUNITIES_WITH_PARTNER_NAV_UNIVERSAL_IDENTIFIER = '0cf349c9-fcbf-40f8-8e91-142c02bbde9c';
27+
// Kanban board of with-partner opportunities, grouped by match status.
28+
export const OPPORTUNITIES_WITH_PARTNER_BOARD_VIEW_UNIVERSAL_IDENTIFIER = 'a426c594-513d-4252-808f-3cf26d5532b9';
29+
export const OPPORTUNITIES_WITH_PARTNER_BOARD_NAV_UNIVERSAL_IDENTIFIER = '3226b314-15e5-4182-89fe-b33d341f5684';
2830

2931
// Page layout (Task 6)
3032
export const PARTNER_RECORD_PAGE_UNIVERSAL_IDENTIFIER = 'a888b39e-d64a-48ba-a044-d8cb685fad74';

packages/twenty-apps/internal/twenty-partners/src/fields/opportunity-match-status.field.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default defineField({
77
type: FieldType.SELECT,
88
name: 'matchStatus',
99
label: 'Match Status',
10+
icon: 'IconProgressCheck',
1011
isNullable: false,
1112
defaultValue: "'TO_BE_MATCHED'",
1213
options: [

packages/twenty-apps/internal/twenty-partners/src/fields/partner-on-opportunity.field.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default defineField({
1111
type: FieldType.RELATION,
1212
name: 'partner',
1313
label: 'Partner',
14+
icon: 'IconBuildingStore',
1415
isNullable: true,
1516
relationTargetObjectMetadataUniversalIdentifier: PARTNER_OBJECT_UNIVERSAL_IDENTIFIER,
1617
relationTargetFieldMetadataUniversalIdentifier: OPPORTUNITIES_ON_PARTNER_FIELD_ID,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { NavigationMenuItemType, defineNavigationMenuItem } from 'twenty-sdk/define';
2+
3+
import {
4+
OPPORTUNITIES_WITH_PARTNER_BOARD_NAV_UNIVERSAL_IDENTIFIER,
5+
OPPORTUNITIES_WITH_PARTNER_BOARD_VIEW_UNIVERSAL_IDENTIFIER,
6+
} from 'src/constants/universal-identifiers';
7+
8+
export default defineNavigationMenuItem({
9+
universalIdentifier: OPPORTUNITIES_WITH_PARTNER_BOARD_NAV_UNIVERSAL_IDENTIFIER,
10+
type: NavigationMenuItemType.VIEW,
11+
icon: 'IconLayoutKanban',
12+
position: 2,
13+
folderUniversalIdentifier: '0b2e499a-ae74-45e0-af08-243e19fc56aa',
14+
viewUniversalIdentifier: OPPORTUNITIES_WITH_PARTNER_BOARD_VIEW_UNIVERSAL_IDENTIFIER,
15+
});

packages/twenty-apps/internal/twenty-partners/src/navigation-menu-items/matches-overview.navigation-menu-item.ts renamed to packages/twenty-apps/internal/twenty-partners/src/navigation-menu-items/opportunities-with-partner.navigation-menu-item.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { NavigationMenuItemType, defineNavigationMenuItem } from 'twenty-sdk/define';
22

33
import {
4-
MATCHES_OVERVIEW_NAV_UNIVERSAL_IDENTIFIER,
5-
MATCHES_OVERVIEW_VIEW_UNIVERSAL_IDENTIFIER,
4+
OPPORTUNITIES_WITH_PARTNER_NAV_UNIVERSAL_IDENTIFIER,
5+
OPPORTUNITIES_WITH_PARTNER_VIEW_UNIVERSAL_IDENTIFIER,
66
} from 'src/constants/universal-identifiers';
77

88
export default defineNavigationMenuItem({
9-
universalIdentifier: MATCHES_OVERVIEW_NAV_UNIVERSAL_IDENTIFIER,
9+
universalIdentifier: OPPORTUNITIES_WITH_PARTNER_NAV_UNIVERSAL_IDENTIFIER,
1010
type: NavigationMenuItemType.VIEW,
11-
icon: 'IconLayoutKanban',
11+
icon: 'IconUserCheck',
1212
position: 1,
1313
folderUniversalIdentifier: '0b2e499a-ae74-45e0-af08-243e19fc56aa',
14-
viewUniversalIdentifier: MATCHES_OVERVIEW_VIEW_UNIVERSAL_IDENTIFIER,
14+
viewUniversalIdentifier: OPPORTUNITIES_WITH_PARTNER_VIEW_UNIVERSAL_IDENTIFIER,
1515
});

packages/twenty-apps/internal/twenty-partners/src/navigation-menu-items/waiting-for-match.navigation-menu-item.ts renamed to packages/twenty-apps/internal/twenty-partners/src/navigation-menu-items/opportunities-without-partner.navigation-menu-item.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { NavigationMenuItemType, defineNavigationMenuItem } from 'twenty-sdk/define';
22

33
import {
4-
WAITING_FOR_MATCH_NAV_UNIVERSAL_IDENTIFIER,
5-
WAITING_FOR_MATCH_VIEW_UNIVERSAL_IDENTIFIER,
4+
OPPORTUNITIES_NO_PARTNER_NAV_UNIVERSAL_IDENTIFIER,
5+
OPPORTUNITIES_NO_PARTNER_VIEW_UNIVERSAL_IDENTIFIER,
66
} from 'src/constants/universal-identifiers';
77

88
export default defineNavigationMenuItem({
9-
universalIdentifier: WAITING_FOR_MATCH_NAV_UNIVERSAL_IDENTIFIER,
9+
universalIdentifier: OPPORTUNITIES_NO_PARTNER_NAV_UNIVERSAL_IDENTIFIER,
1010
type: NavigationMenuItemType.VIEW,
11-
icon: 'IconClockHour4',
11+
icon: 'IconUserOff',
1212
position: 0,
1313
folderUniversalIdentifier: '0b2e499a-ae74-45e0-af08-243e19fc56aa',
14-
viewUniversalIdentifier: WAITING_FOR_MATCH_VIEW_UNIVERSAL_IDENTIFIER,
14+
viewUniversalIdentifier: OPPORTUNITIES_NO_PARTNER_VIEW_UNIVERSAL_IDENTIFIER,
1515
});

packages/twenty-apps/internal/twenty-partners/src/navigation-menu-items/partner-applications.navigation-menu-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineNavigationMenuItem({
99
universalIdentifier: PARTNER_APPLICATIONS_NAV_UNIVERSAL_IDENTIFIER,
1010
type: NavigationMenuItemType.VIEW,
1111
icon: 'IconUserPlus',
12-
position: 1,
12+
position: 0,
1313
folderUniversalIdentifier: '857be3b5-82c6-45f7-b546-e20a8a97be8d',
1414
viewUniversalIdentifier: PARTNER_APPLICATIONS_VIEW_UNIVERSAL_IDENTIFIER,
1515
});

0 commit comments

Comments
 (0)