Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fsm #4

Merged
merged 210 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
00d2294
Add label to mocked connections (#5858)
thomtrp Jun 13, 2024
39af374
fix timeline activity pagination overflow (#5861)
Weiko Jun 13, 2024
85fd801
Add log for errors on message import (#5863)
charlesBochet Jun 14, 2024
4603999
Support orderBy as array (#5681)
AdityaPimpalkar Jun 14, 2024
8d8bf1c
fix: text field overflow beyond cell limits (#5834)
siiddhantt Jun 14, 2024
a2e89af
Collapsible menu (#5846)
FelixMalfait Jun 14, 2024
28202cc
Fix workspaceLogo in invite-email (#5865)
martmull Jun 14, 2024
82741d3
Fix error log on message import (#5866)
bosiraphael Jun 14, 2024
be18ee4
Fix sentry error (#5848)
martmull Jun 14, 2024
eaa2f83
Fix overflow on notes (#5853)
martmull Jun 14, 2024
dd2db08
Record horizontal scrolling mobile (#5843)
RobertoSimonini1 Jun 14, 2024
3d3cef0
fix: 404 generate API key link (#5871)
michaelgold Jun 14, 2024
9c8407c
Wrote 0.20 changelog (#5870)
Bonapara Jun 14, 2024
99f4a75
Fix website docs (#5873)
FelixMalfait Jun 14, 2024
605945b
Added Thai Baht support (#5881)
Ymirke Jun 16, 2024
d99b9d1
feat: Enhancements to MessageQueue Module with Decorators (#5657)
magrinj Jun 17, 2024
d8034b1
5236 expandable list leave options when editing (#5890)
martmull Jun 17, 2024
1ba7037
5581 get httpsapitwentycomrestmetadata relations not working (#5867)
martmull Jun 17, 2024
dba0b28
Fix verticale line timeline activity (#5894)
thomtrp Jun 17, 2024
e1bd3a4
Added and optimized missing RatingFieldDisplay component (#5904)
lucasbordeau Jun 17, 2024
de2b052
Fix secondaryLinks field input (#5911)
thomtrp Jun 17, 2024
14abd99
add multiple filters of same FieldMetadataType (#5892)
AdityaPimpalkar Jun 18, 2024
38537a3
Add South Korean won to currency codes (#5914)
hanchchch Jun 18, 2024
cff8561
Upgrade pg graphql version to 1.5.6 (#5937)
martmull Jun 18, 2024
6b1548e
Add loader and transition for details page tabs (#5935)
thomtrp Jun 18, 2024
dbaa787
website / Fix broken links, slow loading, and prod errors (#5932)
FelixMalfait Jun 18, 2024
6fd8dab
5582 get httpsapitwentycomrestmetadata objects filters dont work (#5906)
martmull Jun 18, 2024
d045bcb
Add http status to graphql errors (#5896)
thomtrp Jun 19, 2024
96da777
Handle no concurrency option (#5952)
thomtrp Jun 19, 2024
64b4569
Favicons are being re-rendered on hover (#5849)
gitstart-twenty Jun 19, 2024
c7e6d69
Add a ⏎ shortcut on Select options (#5641)
RamK777-stack Jun 19, 2024
76bcf31
Added a mechanism to reset error boundary on page change. (#5913)
lucasbordeau Jun 19, 2024
1c685e8
fix(twenty-front): update DateTimeInput styles to apply top border ra…
theonly1me Jun 19, 2024
60b60bd
(5943) Match country selector button's background to phone number inp…
JoshuaZacek Jun 19, 2024
ff21396
[Bug] Put back subject is email right drawer (#5955)
thomtrp Jun 19, 2024
7010590
Data Skeleton Loading on Indexes (#5828)
gitstart-twenty Jun 19, 2024
d6fcb9c
5934 create alert banner component (#5950)
bosiraphael Jun 19, 2024
016132e
Fix reconnect google account bug (#5905)
bosiraphael Jun 19, 2024
86f95c0
5898 Create a cron to monitor messageChannelSyncStatus (#5933)
bosiraphael Jun 19, 2024
bc8c895
Feat : Introduced Delay Options for Tooltip (#5766)
t007rushi Jun 19, 2024
59b9ce6
add object id column to csv export (#5971)
AdityaPimpalkar Jun 20, 2024
8c6e96c
fix: Column header menu Filter button (#5973)
AdityaPimpalkar Jun 20, 2024
9e08445
Fix date picker wrong on certain timezones (#5972)
lucasbordeau Jun 20, 2024
9228667
Add the support of Empty and Non-Empty filter (#5773)
pacyL2K19 Jun 20, 2024
7a0f097
Fix(view): `Create` Button is not visible when creating `Kanban` View…
Us3r-gitHub Jun 21, 2024
68e20c0
Add disabled style on non-draggable menu items (#5974)
thomtrp Jun 21, 2024
51e3454
Update LOGGER_DRIVER env var description (#5968)
JarWarren Jun 21, 2024
35b9b29
Fix: Selected Line Not Fully Highlighted in Blue (#5966)
akarsanth Jun 21, 2024
7326530
fix: background colors for record table (#5967)
AkiPraveen Jun 21, 2024
9a4a2e4
Fix links chip design (#5963)
thomtrp Jun 21, 2024
d126b14
Navigation Panel UI Sizing Changes (#5964)
Ymirke Jun 21, 2024
91b0c2b
feat: add brazilian real currency (#5989)
vitorhugoro1 Jun 22, 2024
0b4bfce
feat: drop calendar repository (#5824)
magrinj Jun 22, 2024
e13dc7a
[FlexibleSchema] Add IndexMetadata decorator (#5981)
Weiko Jun 22, 2024
158e7a3
Improve tests (#5994)
charlesBochet Jun 23, 2024
e8f386c
Fix infinite scroll issue on table (#5996)
charlesBochet Jun 24, 2024
2e4ba9c
Remove Right-Edge Gap in Table Cell Display (#5992)
rksingh2001 Jun 24, 2024
498e4ff
Refactor infiniteScoll to use debouncing (#5999)
charlesBochet Jun 24, 2024
77f9f64
Create feature flag for calendar V2 (#5998)
bosiraphael Jun 24, 2024
28c8f0d
Turned on tooltip on kanban cards with shortDelay (#5991)
atharvParlikar Jun 24, 2024
901ef65
feat: add australian dollar currency (#5990)
rob-luke Jun 24, 2024
57bbd7c
Add update chevron (#5988)
akarsanth Jun 24, 2024
24c31f9
Fix(view): Show Kanban View Creation (#5985)
Us3r-gitHub Jun 24, 2024
ad61efe
Remove multi select usage (#6004)
charlesBochet Jun 24, 2024
f370128
Create new sync statuses and stages for calendar (#5997)
bosiraphael Jun 24, 2024
a001bf1
5951 create a command to trigger the import of a single message (#5962)
bosiraphael Jun 24, 2024
797c2f4
Add calendar cron command on self-hosting-var.mdx (#6009)
hanchchch Jun 25, 2024
7fb5c9b
Remove useless api position parameter (#6010)
martmull Jun 25, 2024
f8c057d
Fix sign up broken because of missing workspace schema (#6013)
charlesBochet Jun 25, 2024
4dfca45
5615 create messageongoingstalecron (#6005)
bosiraphael Jun 25, 2024
7c2e745
feat: Dynamic hook registration for WorkspaceQueryHooks (#6008)
magrinj Jun 25, 2024
78865ee
Fix billing signup when workspace does not exist (#6018)
Weiko Jun 25, 2024
3b7901b
Removed performance optimization and put back previous system with re…
lucasbordeau Jun 25, 2024
1736aee
Remove message-import cache when connectedAccount is removed (#6021)
charlesBochet Jun 26, 2024
cf67ed0
Upsert endpoint and CSV import upsert (#5970)
FelixMalfait Jun 26, 2024
6599bc1
Add mutationMaximumRecordAffected to clientConfig (#6039)
Weiko Jun 26, 2024
cd6775d
Don't display unmatched columns in csv import (#6037)
FelixMalfait Jun 26, 2024
87abc1b
Fix search in csv import (#6045)
FelixMalfait Jun 26, 2024
1eb9c58
Rename mutation maximum affected records (#6042)
Weiko Jun 26, 2024
7b816e5
Basic import for select in CSV (#6047)
FelixMalfait Jun 26, 2024
08c081d
Add boolean with toggle in csv import (#6050)
FelixMalfait Jun 26, 2024
03b00c4
Improve gmail error handling by catching and throttling for 400 faile…
bosiraphael Jun 27, 2024
9782253
Fix cache flush in messaging-channel-sync-status.service (#6024)
bosiraphael Jun 27, 2024
dcb709f
hide delete button for selection over 100 - issue #6023 (#6030)
adithej Jun 27, 2024
7eb69a7
Relations many in table view (#5842)
ijreilly Jun 27, 2024
95c5602
feat: manually implement joinColumn (#6022)
magrinj Jun 27, 2024
67e9378
Update create-workspace.mdx (#6053)
Bonapara Jun 27, 2024
46f0840
Manage isFocused state for table cells (#6058)
ijreilly Jun 27, 2024
845fcb6
Replace ObjectRecord<MessageChannelWorkspaceEntity> with MessageChann…
bosiraphael Jun 27, 2024
3c3bd96
Fixed board card field max width (#6061)
lucasbordeau Jun 27, 2024
86fa6ec
fix navigation panel workspace picker padding (#6062)
Weiko Jun 27, 2024
ac7d905
Create fields for calendar and messaging settings v2 (#6049)
bosiraphael Jun 27, 2024
d1bb0fb
Change messaging batch size and cron pattern (#6063)
bosiraphael Jun 27, 2024
4f9527c
5901 refactor email and calendar auto contact creation to create them…
bosiraphael Jun 27, 2024
1a66db5
Refactor messaging refresh access token (#6034)
bosiraphael Jun 27, 2024
b8f33f6
5095 move onboardingstatus computation from frontend to backend (#5954)
martmull Jun 28, 2024
36530db
0.21 changelog (#6072)
Bonapara Jun 29, 2024
6683ffb
Clarify storybook tests (#6073)
charlesBochet Jun 30, 2024
a8908b6
Fix tests
charlesBochet Jun 30, 2024
411fddd
Fix tests on RelationManyFieldDisplay
charlesBochet Jun 30, 2024
cce9bf5
Improve use set next onboarding state (#6076)
martmull Jun 30, 2024
afb3f4b
Allow s3 credentials via env (#6066)
brendanlaschke Jun 30, 2024
be1503c
Remove CSS modules (#6017)
lucasbordeau Jun 30, 2024
13f213a
feat: message cleaner drop repository (#6052)
magrinj Jun 30, 2024
632e34f
fix: message cleaner find operator (#6080)
magrinj Jul 1, 2024
4599f43
Fix: Tasks-List-page-Person-Switcher (#6077)
srikary12 Jul 1, 2024
a15884e
Add exceptions for metadata modules (#6070)
thomtrp Jul 1, 2024
8c33d91
5748 Create contacts for emails sent and received by email aliases (#…
bosiraphael Jul 1, 2024
b371c77
Change Messaging import frequency
charlesBochet Jul 1, 2024
504e7b7
Fix lint and used constant (#6082)
lucasbordeau Jul 1, 2024
fbbcdb2
Fix demo seed script by using usage of deprecated sub status
charlesBochet Jul 1, 2024
bb627a9
Use invalid field input error for invalid object metadata input (#6083)
thomtrp Jul 1, 2024
8891529
Fix Active Workspaces check (#6084)
charlesBochet Jul 1, 2024
ea7d52f
feature to reset value in select field (#6067)
Sudarsh1010 Jul 2, 2024
f8dd2cc
Reorganise calendar module (#6089)
charlesBochet Jul 2, 2024
a163ccc
Fix calendar import cron job (#6096)
bosiraphael Jul 2, 2024
5b26452
feat: refactor workspace sync fields (#6069)
magrinj Jul 2, 2024
4183e54
Use return await to catch exceptions (#6109)
thomtrp Jul 3, 2024
c57c5b2
Fix rating field not editable if null (#6110)
Weiko Jul 3, 2024
4c57e83
Fix pg-boss worker not working with dynamic injection (#6119)
charlesBochet Jul 3, 2024
c2da7c4
Fix workspace sync issue (#6121)
charlesBochet Jul 3, 2024
921b311
fix: small PR fixes workspace-sync-fields (#6107)
magrinj Jul 3, 2024
14cd6f8
Decrease messaging import batch size
charlesBochet Jul 3, 2024
25fce27
Improve performance/robustness of worker
charlesBochet Jul 3, 2024
4c642a0
Text-to-SQL proof of concept (#5788)
ad-elias Jul 4, 2024
5b4d2d9
Hotfix tests after AI PR (#6124)
FelixMalfait Jul 4, 2024
5df0ea6
fix: message queue injection issue (#6126)
magrinj Jul 4, 2024
6cd154a
Forbid names above 63 characters to comply with pg identifier limit (…
ijreilly Jul 4, 2024
aa22189
Fix website doc search (#6134)
FelixMalfait Jul 4, 2024
f847e12
Implement Settings Tabs (#6136)
charlesBochet Jul 4, 2024
b33b468
Add command to update boolean fields null values (#6113)
ijreilly Jul 5, 2024
cc6ce14
Fix sort with Email and FullName field types and add sort/filter to l…
Weiko Jul 5, 2024
7b3a590
5421 box shadow on frozen header and first column (#6130)
lucasbordeau Jul 5, 2024
46dac5a
Fix storybook tests (#6150)
charlesBochet Jul 6, 2024
87dc95c
Refactor Calendar Settings into tabs (#6153)
charlesBochet Jul 8, 2024
af83879
Add new Settings to front-end (#6154)
charlesBochet Jul 8, 2024
ef849d3
Small fixes on accounts settings (#6157)
bosiraphael Jul 8, 2024
9ba2110
Add message import granulary on non-pro emails, group emails and rece…
charlesBochet Jul 8, 2024
54794b5
Fix z-index issue on dropdown (#6160)
charlesBochet Jul 8, 2024
1c3ea9b
Bump version to 0.21 (#6161)
charlesBochet Jul 8, 2024
f458322
Refactor calendar to use new sync statuses and stages (#6141)
bosiraphael Jul 8, 2024
0ceda01
Navigate to field settings page on Go to Settings (#6128)
ijreilly Jul 8, 2024
5638af4
Fix wrong email direction (#6163)
bosiraphael Jul 8, 2024
3e45305
Fix contactCreation ignoring connectedAccount mainHandle
charlesBochet Jul 8, 2024
7aa903a
Update render deploy configuration (#6167)
charlesBochet Jul 8, 2024
3249c52
Add missing objectMetadataId column in auditLog (#6164)
Weiko Jul 9, 2024
37fb88c
Modify messaging message channel sync status monitoring cron pattern …
bosiraphael Jul 9, 2024
6af1bcd
[Flexible Schema] Create indexes for join columns (#6165)
Weiko Jul 9, 2024
de51e65
Authorize 0 depth (#6171)
martmull Jul 9, 2024
ee7b6bf
Display table record creation row when clicking on Add new from table…
charlesBochet Jul 9, 2024
881613e
Fix wrong standard id for objectMetadataId in auditLog (#6180)
Weiko Jul 9, 2024
2838700
Fix contact creation and rename email aliases to handle aliases (#6176)
bosiraphael Jul 9, 2024
9683a19
Enhance Dropdown API to make portal usage optional (#6182)
charlesBochet Jul 9, 2024
02e5c5e
Update boolean field command to skip workspace instead of throwing (#…
ijreilly Jul 10, 2024
256016e
space for nexting bullet points (#6195)
adithej Jul 10, 2024
847ce2e
Update self-hosting-var.mdx calendar instructions (#6175)
rob-luke Jul 10, 2024
c182bff
feat: enable removing all links from the field (#6185)
rostaklein Jul 10, 2024
ef5657c
Update boolean command to update existing null values (#6198)
ijreilly Jul 10, 2024
43016db
Support for Kubernetes via Terraform and Manifests (#5721)
LumosViridi Jul 10, 2024
b14918c
Remove featureFlag on connectedAccount.handleAliases (#6202)
charlesBochet Jul 10, 2024
34d13a7
Deprecate address standard field (#6087)
ijreilly Jul 10, 2024
6bc3663
Fixed various bugs in activity creation (#6208)
lucasbordeau Jul 10, 2024
9917fb0
Fix/disable cancel button on save (#6204)
pacyL2K19 Jul 11, 2024
45fe537
Update Mobile Navigation bar css for better usage (#6209)
dhruvdabhi101 Jul 11, 2024
70f4624
Fix database reset after address deprecation (#6216)
FelixMalfait Jul 11, 2024
8e25a10
Add new Address field to views containing deprecated address (#6205)
ijreilly Jul 11, 2024
5ebde33
Deprecate Probability field on Opportunity (#6207)
ijreilly Jul 11, 2024
5cb7f68
Update privacy policy links (#6206)
bosiraphael Jul 11, 2024
5ad287b
Add option to synchronize all active workspaces at once (#6221)
ijreilly Jul 11, 2024
faf462f
Fix address field in raw query (#6226)
bosiraphael Jul 11, 2024
4350279
fix: settings object slug link (#6228)
rostaklein Jul 11, 2024
ad5d090
Improve add field to view script to handle errors (#6232)
ijreilly Jul 12, 2024
726308d
0.22 changelog (#6222)
Bonapara Jul 12, 2024
a442492
Forbid creation of link field type (#6237)
ijreilly Jul 12, 2024
1dff5bf
Fix custom errors thrown as 500 (#6238)
Weiko Jul 12, 2024
52aa9ab
Remove old message channel sync statuses and create migration command…
bosiraphael Jul 12, 2024
c8a8899
Add error handling service for calendar import (#6203)
bosiraphael Jul 12, 2024
11da718
Refactor connected account module (#6225)
bosiraphael Jul 12, 2024
f68bd1b
Fixes 6223 graph button indistinguishable (#6223). Replaces Button wi…
Faisal-imtiyaz123 Jul 12, 2024
12c68fd
Improve performance of demo workspace (#6201)
gitstart-twenty Jul 12, 2024
1e48fe2
fixes 6106 month/year datepicker-ui not working (#6199)
Faisal-imtiyaz123 Jul 13, 2024
dc6e27e
Improve test coverage (#6244)
charlesBochet Jul 13, 2024
e5d76a3
Fix performance tests (#6245)
charlesBochet Jul 13, 2024
d560d25
☑️ Refacto "Select All/Unselect all" on indexes (#5320)
gitstart-twenty Jul 15, 2024
aed0bf4
Forbid default value nullification for non-nullable field (#6258)
ijreilly Jul 15, 2024
2cd624a
Add no value column on Kanban (#6252)
charlesBochet Jul 15, 2024
753095d
Add box shadow on frozen first column on table (#6250)
charlesBochet Jul 15, 2024
c0f6f52
Bug return multi select fields in rest api response (#6253)
martmull Jul 16, 2024
364caf0
fix: remove usage of probability field (#5877)
siiddhantt Jul 16, 2024
2218e20
Fix calendar events right drawer empty fields (#6271)
bosiraphael Jul 16, 2024
d216bfd
6254 double creation of contacts when updating calendar event partici…
bosiraphael Jul 16, 2024
34cbba5
Add interceptors for auto-resolvers (#6270)
thomtrp Jul 16, 2024
26bffce
[Fix] Remove usage of deprecated FieldMetadata type probability (#6279)
ijreilly Jul 16, 2024
341328f
Fixed mass deletion page size. (#6275)
lucasbordeau Jul 16, 2024
3566e0b
Create command to migrate message channel sync stage enum (#6280)
bosiraphael Jul 16, 2024
a8dfff3
fix: conditionally rendered Tablist only if there are multiple accoun…
adithej Jul 16, 2024
4a67cfa
feat: Revamp navigation bar (#6031)
AdityaPimpalkar Jul 16, 2024
8eb0215
Add missing commands to 0.22 (#6286)
Weiko Jul 16, 2024
9711a43
Fix command for sync stage enum (#6291)
ijreilly Jul 16, 2024
8833a38
Fix undefined state from react-router-dom. (#6293)
lucasbordeau Jul 16, 2024
1bfc6ae
Bump version to v0.22.0 (#6292)
ijreilly Jul 16, 2024
9e070fa
Merge tag 'v0.22.0' of https://github.com/twentyhq/twenty into 0.22
JarWarren Jul 31, 2024
3ad1269
FUNNELMINK_PREFILL_NEW_WORKSPACES_WITH_FSM_OBJECTS env var
JarWarren Aug 1, 2024
8fd55bf
don't disable standard objects for now
JarWarren Aug 1, 2024
559ff4c
generate fsm objects
JarWarren Aug 7, 2024
53c85ac
alphabetize nav drawer
JarWarren Aug 8, 2024
c1b2f98
generate fields when creating fsm objects
JarWarren Aug 8, 2024
28d9643
create relationships initial
JarWarren Aug 9, 2024
b952355
generate fsm objects and initial relationships
JarWarren Aug 9, 2024
71d9be0
comments
JarWarren Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 1 addition & 28 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
module.exports = {
root: true,
extends: ['plugin:prettier/recommended'],
plugins: [
'@nx',
'prefer-arrow',
'import',
'simple-import-sort',
'unused-imports',
'unicorn',
],
plugins: ['@nx', 'prefer-arrow', 'import', 'unused-imports', 'unicorn'],
rules: {
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
'no-console': ['warn', { allow: ['group', 'groupCollapsed', 'groupEnd'] }],
Expand Down Expand Up @@ -53,26 +46,6 @@ module.exports = {
},
],

'simple-import-sort/imports': [
'error',
{
groups: [
// Packages
['^react', '^@?\\w'],
// Internal modules
['^(@|~|src|@ui)(/.*|$)'],
// Side effect imports
['^\\u0000'],
// Relative imports
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
// CSS imports
['^.+\\.?(css)$'],
],
},
],
'simple-import-sort/exports': 'error',

'unused-imports/no-unused-imports': 'warn',
'unused-imports/no-unused-vars': [
'warn',
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-front.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Front / Write .env
run: npx nx reset:env twenty-front
- name: Front / Build storybook
run: npx nx storybook:build twenty-front --configuration=test
run: npx nx storybook:build twenty-front
front-sb-test:
runs-on: ci-8-cores
needs: front-sb-build
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Front / Write .env
run: npx nx reset:env twenty-front
- name: Run storybook tests
run: npx nx storybook:static:test twenty-front --configuration=${{ matrix.storybook_scope }}
run: npx nx storybook:serve-and-test:static twenty-front --configuration=${{ matrix.storybook_scope }}
front-sb-test-performance:
runs-on: ci-8-cores
env:
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Front / Write .env
run: npx nx reset:env twenty-front
- name: Run storybook tests
run: npx nx storybook:performance:test twenty-front
run: npx nx storybook:serve-and-test:static:performance twenty-front
front-chromatic-deployment:
if: contains(github.event.pull_request.labels.*.name, 'run-chromatic') || github.event_name == 'push'
needs: front-sb-build
Expand Down
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
"source.addMissingImports": "always",
"source.organizeImports": "always"
}
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
"source.addMissingImports": "always",
"source.organizeImports": "always"
}
},
"[typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
"source.addMissingImports": "always",
"source.organizeImports": "always"
}
},
"[json]": {
Expand Down
6 changes: 3 additions & 3 deletions .vscode/twenty.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@
"[typescript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
}
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
}
},
"[typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
}
},
Expand Down
68 changes: 30 additions & 38 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,9 @@
"command": "storybook build",
"output-dir": "storybook-static",
"config-dir": ".storybook"
},
"configurations": {
"test": {
"command": "storybook build --test"
}
}
},
"storybook:dev": {
"storybook:serve:dev": {
"executor": "nx:run-commands",
"cache": true,
"dependsOn": ["^build"],
Expand All @@ -133,7 +128,7 @@
"config-dir": ".storybook"
}
},
"storybook:static": {
"storybook:serve:static": {
"executor": "nx:run-commands",
"dependsOn": ["storybook:build"],
"options": {
Expand All @@ -143,30 +138,6 @@
"host": "localhost",
"port": 6006,
"silent": true
},
"configurations": {
"test": {}
}
},
"storybook:coverage": {
"executor": "nx:run-commands",
"cache": true,
"inputs": [
"^default",
"excludeTests",
"{projectRoot}/coverage/storybook/coverage-storybook.json"
],
"outputs": [
"{projectRoot}/coverage/storybook",
"!{projectRoot}/coverage/storybook/coverage-storybook.json"
],
"options": {
"command": "npx nyc report --reporter={args.reporter} --reporter=text-summary -t {args.coverageDir} --report-dir {args.coverageDir} --check-coverage --cwd={projectRoot}",
"coverageDir": "coverage/storybook",
"reporter": "lcov"
},
"configurations": {
"text": { "reporter": "text" }
}
},
"storybook:test": {
Expand All @@ -185,31 +156,52 @@
"port": 6006
}
},
"storybook:test:nocoverage": {
"storybook:test:no-coverage": {
"executor": "nx:run-commands",
"inputs": ["^default", "excludeTests"],
"options": {
"cwd": "{projectRoot}",
"commands": [
"test-storybook --url http://localhost:{args.port} --maxWorkers=3"
"test-storybook --url http://localhost:{args.port} --maxWorkers=2"
],
"port": 6006
}
},
"storybook:static:test": {
"storybook:coverage": {
"executor": "nx:run-commands",
"cache": true,
"inputs": [
"^default",
"excludeTests",
"{projectRoot}/coverage/storybook/coverage-storybook.json"
],
"outputs": [
"{projectRoot}/coverage/storybook",
"!{projectRoot}/coverage/storybook/coverage-storybook.json"
],
"options": {
"command": "npx nyc report --reporter={args.reporter} --reporter=text-summary -t {args.coverageDir} --report-dir {args.coverageDir} --check-coverage --cwd={projectRoot}",
"coverageDir": "coverage/storybook",
"reporter": "lcov"
},
"configurations": {
"text": { "reporter": "text" }
}
},
"storybook:serve-and-test:static": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx concurrently --kill-others --success=first -n SB,TEST 'nx storybook:static {projectName} --port={args.port} --configuration=test' 'npx wait-on tcp:{args.port} && nx storybook:test {projectName} --port={args.port}'"
"npx concurrently --kill-others --success=first -n SB,TEST 'nx storybook:serve:static {projectName} --port={args.port}' 'npx wait-on tcp:{args.port} && nx storybook:test {projectName} --port={args.port}'"
],
"port": 6006
}
},
"storybook:performance:test": {
"storybook:serve-and-test:static:performance": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx concurrently --kill-others --success=first -n SB,TEST 'nx storybook:dev {projectName} --configuration=performance --port={args.port}' 'npx wait-on tcp:{args.port} && nx storybook:test:nocoverage {projectName} --port={args.port} --configuration=performance'"
"npx concurrently --kill-others --success=first -n SB,TEST 'nx storybook:serve:dev {projectName} --configuration=performance --port={args.port}' 'npx wait-on tcp:{args.port} && nx storybook:test:no-coverage {projectName} --port={args.port} --configuration=performance'"
],
"port": 6006
}
Expand All @@ -220,7 +212,7 @@
"cwd": "{projectRoot}",
"commands": [
{
"command": "nx storybook:build {projectName} --configuration=test",
"command": "nx storybook:build {projectName}",
"forwardAllArgs": false
},
"cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --storybook-build-dir=storybook-static {args.ci}"
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"@types/dompurify": "^3.0.5",
"@types/facepaint": "^1.2.5",
"@types/lodash.camelcase": "^4.3.7",
"@types/lodash.chunk": "^4.2.9",
"@types/lodash.merge": "^4.6.7",
"@types/lodash.pick": "^4.3.7",
"@types/nodemailer": "^6.4.14",
Expand Down Expand Up @@ -114,6 +115,7 @@
"jsonwebtoken": "^9.0.0",
"libphonenumber-js": "^1.10.26",
"lodash.camelcase": "^4.3.0",
"lodash.chunk": "^4.2.0",
"lodash.compact": "^3.0.1",
"lodash.debounce": "^4.0.8",
"lodash.groupby": "^4.6.0",
Expand Down
Loading
Loading