{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":572984571,"defaultBranch":"main","name":"twenty","ownerLogin":"twentyhq","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-12-01T13:04:40.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/119600397?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716012001.0","currentOid":""},"activityList":{"items":[{"before":"f223d225f0e269c4e981f49694e7eb1fb76ecb10","after":null,"ref":"refs/heads/c--add-more-details-to-mutation-limit-request-exception-and-fix-update-many","pushedAt":"2024-05-18T06:00:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"FelixMalfait","name":"Félix Malfait","path":"/FelixMalfait","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6399865?s=80&v=4"}},{"before":"0e525caf018310bd0db3743447f43b664daf0ae3","after":"66637a37700ad5868a4574bd36005666fc594a87","ref":"refs/heads/main","pushedAt":"2024-05-18T06:00:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"FelixMalfait","name":"Félix Malfait","path":"/FelixMalfait","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6399865?s=80&v=4"},"commit":{"message":"Add more details to mutation limit exception message and fix update many query (#5460)\n\n## Context\r\nSince we rely on PgGraphql to query the DB, we have to map its errors to\r\nmore comprehensible errors before sending them back to the FE. This has\r\nalready been done for unicity constraint and mutation maximum records\r\nbut for the last one the message wasn't clear enough. This PR introduces\r\na new pgGraphqlConfig param to the util to pass down the 'atMost' config\r\nthat we are actually overwriting with an\r\n'MUTATION_MAXIMUM_RECORD_AFFECTED' env variable. See how atMost works in\r\nthis doc (https://supabase.github.io/pg_graphql/api/#delete)\r\n\r\nAlso adding the same message for the update since this mutation is also\r\naffected. Create is not though.\r\n\r\nLastly, this PR introduces a fix on the updateMany. Since the current FE\r\nis not using updateMany, this was missed for a few weeks but a\r\nregression has been introduced when we started checking if the id is a\r\nvalid UUID however for updateMany this was checking the data object\r\ninstead of the filter object. Actually, the data object should never\r\ncontain id because it wouldn't make sense to allow the update of the id\r\nand even more for multiple records since the id should be unique.\r\n\r\n## Test\r\nlocally with MUTATION_MAXIMUM_RECORD_AFFECTED=5\r\n\r\n\"Screenshot\r\n\"Screenshot\r\n\"Screenshot\r\n\"Screenshot\r\n\"Screenshot\r\n\r\n\r\n\"Screenshot","shortMessageHtmlLink":"Add more details to mutation limit exception message and fix update m…"}},{"before":null,"after":"f223d225f0e269c4e981f49694e7eb1fb76ecb10","ref":"refs/heads/c--add-more-details-to-mutation-limit-request-exception-and-fix-update-many","pushedAt":"2024-05-18T00:04:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Weiko","name":"Weiko","path":"/Weiko","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1834158?s=80&v=4"},"commit":{"message":"Add more details to mutation limit exception message and fix update many query","shortMessageHtmlLink":"Add more details to mutation limit exception message and fix update m…"}},{"before":null,"after":"c2798a6e045da436d315414838e12d989ab02b51","ref":"refs/heads/tt-sync-stripe-tables","pushedAt":"2024-05-17T16:21:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"thomtrp","name":"Thomas Trompette","path":"/thomtrp","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22936103?s=80&v=4"},"commit":{"message":"Remove counts from queries for remote","shortMessageHtmlLink":"Remove counts from queries for remote"}},{"before":null,"after":"1e3f1fe896c020ba67a82c4216c6943a51725b78","ref":"refs/heads/5069-update-foreign-table","pushedAt":"2024-05-17T15:29:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ijreilly","name":"Marie","path":"/ijreilly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/51697796?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":"6679125936da8d53a7a9a59c4266f9bc771bc857","after":"8dfc3aca09bc547b133adac090ef9bb1f9b6b6e9","ref":"refs/heads/tt-build-only-remote-id-without-relation","pushedAt":"2024-05-17T15:17:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thomtrp","name":"Thomas Trompette","path":"/thomtrp","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22936103?s=80&v=4"},"commit":{"message":"Rename to isBigInt","shortMessageHtmlLink":"Rename to isBigInt"}},{"before":"cbaff0638433bfa5707cf517eb0a4f33902bb91e","after":"08ad4c91d858dbff9afe1e4fc089e3a92f6a6d5a","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:37:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: do not forward args to storybook:build","shortMessageHtmlLink":"fix: do not forward args to storybook:build"}},{"before":"456b4b3418b21e34e0a6113324e5c92256a082fc","after":null,"ref":"refs/heads/TWNTY-4357","pushedAt":"2024-05-17T14:36:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lucasbordeau","name":"Lucas Bordeau","path":"/lucasbordeau","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26528466?s=80&v=4"}},{"before":"992602b307d4bbc188619673930780ee2b4a1def","after":"0e525caf018310bd0db3743447f43b664daf0ae3","ref":"refs/heads/main","pushedAt":"2024-05-17T14:36:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lucasbordeau","name":"Lucas Bordeau","path":"/lucasbordeau","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26528466?s=80&v=4"},"commit":{"message":"Implement (#5086)\n\n### Description\r\n\r\nImplement <ScrollRestoration />\r\n\r\n### Refs\r\n\r\n\r\n[https://github.com/twentyhq/twenty/issues/4357](https://github.com/twentyhq/twenty/issues/4183)\r\n\r\n### Demo\r\n\r\n\r\nhttps://github.com/twentyhq/twenty/assets/140154534/321242e1-4751-4204-8c86-e9b921c1733e\r\n\r\nFixes #4357\r\n\r\n---------\r\n\r\nCo-authored-by: gitstart-twenty \r\nCo-authored-by: Lucas Bordeau \r\nCo-authored-by: v1b3m \r\nCo-authored-by: RubensRafael ","shortMessageHtmlLink":"Implement <ScrollRestoration /> (#5086)"}},{"before":"0b83e444564aa08109140d41cc8980dd8ce352f4","after":"cbaff0638433bfa5707cf517eb0a4f33902bb91e","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:35:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: do not forward args to storybook:build","shortMessageHtmlLink":"fix: do not forward args to storybook:build"}},{"before":"46d3d684cdd031b71db4b8d5483eb0c5460834ea","after":"0b83e444564aa08109140d41cc8980dd8ce352f4","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:34:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: do not forward args to storybook:build","shortMessageHtmlLink":"fix: do not forward args to storybook:build"}},{"before":"00af2b137df2b64c810cfd732c853a34b6562afe","after":"46d3d684cdd031b71db4b8d5483eb0c5460834ea","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:32:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: do not forward args to storybook:build","shortMessageHtmlLink":"fix: do not forward args to storybook:build"}},{"before":"b8659cfb155eae5f8c106858e8be15f0e76c8821","after":"00af2b137df2b64c810cfd732c853a34b6562afe","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:23:04.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"perf: use Nx cache for Chromatic script","shortMessageHtmlLink":"perf: use Nx cache for Chromatic script"}},{"before":"8f34323f886db34596619269c1fd4e6dd3a15120","after":"456b4b3418b21e34e0a6113324e5c92256a082fc","ref":"refs/heads/TWNTY-4357","pushedAt":"2024-05-17T14:19:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gitstart-app[bot]","name":null,"path":"/apps/gitstart-app","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/46283?s=80&v=4"},"commit":{"message":"Refactor according to review\n\nCo-authored-by: v1b3m \nCo-authored-by: RubensRafael ","shortMessageHtmlLink":"Refactor according to review"}},{"before":"fbdd2ade62a683da71d23aac5c0d9d08742b46b4","after":"8f34323f886db34596619269c1fd4e6dd3a15120","ref":"refs/heads/TWNTY-4357","pushedAt":"2024-05-17T14:19:04.000Z","pushType":"push","commitsCount":12,"pusher":{"login":"gitstart-app[bot]","name":null,"path":"/apps/gitstart-app","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/46283?s=80&v=4"},"commit":{"message":"Merge commit '992602b307d4bbc188619673930780ee2b4a1def' of https://github.com/twentyhq/twenty into TWNTY-4357","shortMessageHtmlLink":"Merge commit '992602b307d4bbc188619673930780ee2b4a1def' of https://gi…"}},{"before":"c5329854c9a5c3b579af2c8a91a94954db55933a","after":"b8659cfb155eae5f8c106858e8be15f0e76c8821","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:15:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"perf: use Nx cache for Chromatic script","shortMessageHtmlLink":"perf: use Nx cache for Chromatic script"}},{"before":null,"after":"c5329854c9a5c3b579af2c8a91a94954db55933a","ref":"refs/heads/perf/use-Nx-cache-in-Chromatic-ci","pushedAt":"2024-05-17T14:15:15.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"perf: use Nx cache for Chromatic script","shortMessageHtmlLink":"perf: use Nx cache for Chromatic script"}},{"before":null,"after":"802b0ef1b86273021ee373052eb3068f015a9478","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T14:13:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"perf: use Nx cache for Chromatic script","shortMessageHtmlLink":"perf: use Nx cache for Chromatic script"}},{"before":"9fea544e8eb313b5f2f06e07186593f783fe9bfc","after":null,"ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T14:05:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"charlesBochet","name":"Charles Bochet","path":"/charlesBochet","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12035771?s=80&v=4"}},{"before":"36e54119a32430c8cf28877d7c5ae6bcb2c4272f","after":"992602b307d4bbc188619673930780ee2b4a1def","ref":"refs/heads/main","pushedAt":"2024-05-17T14:05:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"charlesBochet","name":"Charles Bochet","path":"/charlesBochet","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12035771?s=80&v=4"},"commit":{"message":"fix: fix storybook build cache not being used by tests in CI (#5451)\n\nTL;DR:\r\n- removed `--configuration={args.scope}` from `storybook:static:test`\r\nfor the `storybook:static` part, as it was making `front-sb-test` jobs\r\nin CI not reuse the cache from the `front-sb-build` job and re-build\r\nstorybook every time.\r\n- replaced it with a new `test` configuration which optimizes storybook\r\nbuild for tests and builds storybook 2x faster.\r\n\r\n## Fix storybook:build cache usage in CI\r\n\r\n`storybook:static:test` executes two scripts in parallel:\r\n1. `storybook:static`, which depends on `storybook:build`\r\n1.a. it builds storybook first with `storybook:build`, the output\r\ndirectory is `storybook-static`.\r\n1.b. then it launches an `http-server`, using what has been built in\r\n`storybook-static`\r\n2. `storybook:test` to execute tests (needs the storybook http-server to\r\nbe running)\r\n\r\nWhen passing `--configuration=pages` or `--configuration=modules` to\r\n`storybook:static` from step 1, those configurations are passed to the\r\n`storybook:build` script from step 1.a as well.\r\n\r\nBut for Nx `storybook:build` and `storybook:build --configuration=pages`\r\n(or `modules`) are not the same command, therefore one does not reuse\r\nthe cache of the other because they could output completely different\r\nthings.\r\n\r\nAs `front-sb-test` jobs are passing `--configuration={args.scope}` to\r\n`storybook:static`, the cache of the previously executed\r\n`storybook:build` (from `front-sb-build`) is not reused and therefore\r\neach job re-builds Storybook with its own scope, which increases CI\r\ntime.\r\n\r\n### Solution\r\n\r\n- Removed scope configurations from `storybook:static` and\r\n`storybook:build` scripts to avoid confusion.\r\n- `storybook:test` and `storybook:dev` can keep scope configurations as\r\nthey can be useful and this doesn't impact storybook build cache in CI.\r\n\r\n### Improve Storybook build time for testing\r\n\r\nAdded the `test` configuration to `storybook:build` and\r\n`storybook:static` which makes Storybook build time 2x faster. It\r\ndisables addons that slow down build time and are not used in tests.","shortMessageHtmlLink":"fix: fix storybook build cache not being used by tests in CI (#5451)"}},{"before":"ca386f9facb48e846fda5b9e124f65764d6fd06e","after":"9fea544e8eb313b5f2f06e07186593f783fe9bfc","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T13:25:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: use storybook:build test configuration for chromatic","shortMessageHtmlLink":"fix: use storybook:build test configuration for chromatic"}},{"before":"9453f65b48ecf14f33afbf9af3f025913ab9d758","after":"ca386f9facb48e846fda5b9e124f65764d6fd06e","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T13:19:31.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: fix IconPicker story tests","shortMessageHtmlLink":"fix: fix IconPicker story tests"}},{"before":"f41f6e1a3c1407e0911ce5b31fcadde95b449b7c","after":"93d16262bc82b656d8a43ccb20e9d14e0c0f81bd","ref":"refs/heads/feat/performance-refactor-relation-field-display","pushedAt":"2024-05-17T12:49:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"lucasbordeau","name":"Lucas Bordeau","path":"/lucasbordeau","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26528466?s=80&v=4"},"commit":{"message":"Fixed sync between record value context selector and record store","shortMessageHtmlLink":"Fixed sync between record value context selector and record store"}},{"before":"e7b6174f69a6f558467d899401f20ad841deadfe","after":"81a171832a2fdf22c1c9c03c2c0505149b32b3b4","ref":"refs/heads/4689-multi-workspace-i-should-be-able-to-accept-an-invite-if-im-already-logged-in","pushedAt":"2024-05-17T12:44:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"martmull","name":null,"path":"/martmull","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/29927851?s=80&v=4"},"commit":{"message":"Fix tests","shortMessageHtmlLink":"Fix tests"}},{"before":"b7863346e52d1b3e725bac5a5d4afe5b1709e2c6","after":"e7b6174f69a6f558467d899401f20ad841deadfe","ref":"refs/heads/4689-multi-workspace-i-should-be-able-to-accept-an-invite-if-im-already-logged-in","pushedAt":"2024-05-17T12:41:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"martmull","name":null,"path":"/martmull","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/29927851?s=80&v=4"},"commit":{"message":"Fix tests","shortMessageHtmlLink":"Fix tests"}},{"before":"e45999268bed61b290b2c5c057cd0b3a5cd63d3b","after":"b7863346e52d1b3e725bac5a5d4afe5b1709e2c6","ref":"refs/heads/4689-multi-workspace-i-should-be-able-to-accept-an-invite-if-im-already-logged-in","pushedAt":"2024-05-17T12:27:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"martmull","name":null,"path":"/martmull","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/29927851?s=80&v=4"},"commit":{"message":"Fix tests","shortMessageHtmlLink":"Fix tests"}},{"before":null,"after":"f41f6e1a3c1407e0911ce5b31fcadde95b449b7c","ref":"refs/heads/feat/performance-refactor-relation-field-display","pushedAt":"2024-05-17T12:23:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lucasbordeau","name":"Lucas Bordeau","path":"/lucasbordeau","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26528466?s=80&v=4"},"commit":{"message":"Refactored fieldValue state management","shortMessageHtmlLink":"Refactored fieldValue state management"}},{"before":"28cf0d36dad52801a163b2fdbfc13963863578b8","after":"9453f65b48ecf14f33afbf9af3f025913ab9d758","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T12:17:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: fix IconPicker story tests","shortMessageHtmlLink":"fix: fix IconPicker story tests"}},{"before":"19ced9fcc6dc8edcf9bcd62d44a19bb79413ed96","after":"28cf0d36dad52801a163b2fdbfc13963863578b8","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T11:13:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"fix: fix IconPicker story tests","shortMessageHtmlLink":"fix: fix IconPicker story tests"}},{"before":"f9ce67182b18dc488d0d7cab2e8a41b8faec6ddf","after":"19ced9fcc6dc8edcf9bcd62d44a19bb79413ed96","ref":"refs/heads/fix/fix-storybook-build-cache-not-being-used-in-ci","pushedAt":"2024-05-17T11:01:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thaisguigon","name":"Thaïs","path":"/thaisguigon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3098428?s=80&v=4"},"commit":{"message":"perf: add --test flag to storybook:static:test","shortMessageHtmlLink":"perf: add --test flag to storybook:static:test"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETXpFmwA","startCursor":null,"endCursor":null}},"title":"Activity · twentyhq/twenty"}