Skip to content

Commit

Permalink
Merge branch 'main' into feat/introduce-app-secret-to-replace-secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Oct 28, 2024
2 parents 315cf5b + cabae4c commit 8cece24
Show file tree
Hide file tree
Showing 859 changed files with 43,330 additions and 26,505 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-front.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
run: npx nx reset:env twenty-front
- name: Run storybook tests
if: steps.changed-files.outputs.any_changed == 'true'
run: npx nx storybook:serve-and-test:static:performance twenty-front
run: npx nx run twenty-front:storybook:serve-and-test:static:performance
front-chromatic-deployment:
if: contains(github.event.pull_request.labels.*.name, 'run-chromatic') || github.event_name == 'push'
needs: front-sb-build
Expand Down Expand Up @@ -223,4 +223,4 @@ jobs:
uses: ./.github/workflows/actions/nx-affected
with:
tag: scope:frontend
tasks: ${{ matrix.task }}
tasks: ${{ matrix.task }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

.nx/installation
.nx/cache
projectStructure.cache.json

.pnp.*
.yarn/*
Expand Down
2 changes: 0 additions & 2 deletions Write-a-blog-post-about-Twenty

This file was deleted.

4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ trap on_exit EXIT

# Use environment variables VERSION and BRANCH, with defaults if not set
version=${VERSION:-$(curl -s https://api.github.com/repos/twentyhq/twenty/releases/latest | grep '"tag_name":' | cut -d '"' -f 4)}
branch=${BRANCH:-main}
branch=${BRANCH:-$version}

echo "🚀 Using version $version and branch $branch"

Expand All @@ -72,7 +72,7 @@ done
echo "📁 Creating directory '$dir_name'"
mkdir -p "$dir_name" && cd "$dir_name" || { echo "❌ Failed to create/access directory '$dir_name'"; exit 1; }

# Copy the twenty/packages/twenty-docker/docker-compose.yml file in it
# Copy twenty/packages/twenty-docker/docker-compose.yml in it
echo -e "\t• Copying docker-compose.yml"
curl -sLo docker-compose.yml https://raw.githubusercontent.com/twentyhq/twenty/$branch/packages/twenty-docker/docker-compose.yml

Expand Down
12 changes: 1 addition & 11 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"storybook:build": {
"executor": "nx:run-commands",
"cache": true,
"dependsOn": ["^build"],
"inputs": ["^default", "excludeTests"],
"outputs": ["{projectRoot}/{options.output-dir}"],
"options": {
Expand Down Expand Up @@ -192,16 +191,7 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"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:serve-and-test:static:performance": {
"executor": "nx:run-commands",
"options": {
"commands": [
"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'"
"npx concurrently --kill-others --success=first -n SB,TEST 'nx storybook:serve:static {projectName} --port={args.port} --configuration={args.performance}' 'npx wait-on tcp:{args.port} && nx storybook:test {projectName} --port={args.port} --configuration={args.scope}'"
],
"port": 6006
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ Your turn 👇

» 19-October-2024 by [Thefool76](https://oss.gg/thefool76) YouTube Link: [YouTube](https://youtu.be/KuAycGuW698?si=q-YxcukbbYuO8BWf)

» 26-October-2024 by [Khaan25](https://oss.gg/Khaan25) YouTube Link: [YouTube](https://www.youtube.com/watch?v=1ruo4tTWNIg)

» 28-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) Youtube Link: [Youtube](https://youtu.be/qfZyhrhCeyo)

---
10 changes: 9 additions & 1 deletion oss-gg/twenty-content-challenges/2-write-blog-post-about-20.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,12 @@ Your turn 👇

» 21-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) blog Link: [blog](https://dev.to/sateshcharan/twenty-crm-a-fresh-start-for-modern-businesses-46kf)

---
» 22-October-2024 by [rajeevDewangan](https://oss.gg/rajeevDewangan) blog Link: [blog](https://open.substack.com/pub/rajeevdewangan/p/comprehensive-guide-to-self-hosting?r=4lly3x&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true)

» 22-October-2024 by [Khaan25](https://oss.gg/Khaan25) blog Link: [blog](https://medium.com/@ziaurzai/twenty-crm-modern-solution-for-modern-problems-a0b65fec9d6c)

» 27-October-2024 by [Karan0207](https://oss.gg/karan0207) blog Link: [blog](https://medium.com/@karansingh0201k/my-journey-with-twenty-the-open-source-crm-that-really-gets-it-133879af6280)

» 27-October-2024 by [Vardhaman619](https://oss.gg/vardhaman619) blog Link: [blog](https://dev.to/vardhaman619/my-experience-with-modern-open-source-crm-twenty-crm-2hen)

» 28-October-2024 by [harshsbhat](https://oss.gg/harshsbhat) blog Link: [blog](https://www.harshbhat.me/blog/twenty-crm)
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@ Your turn 👇

» 21-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) blog Link: [blog](https://dev.to/sateshcharan/streamlined-self-hosting-with-twenty-crm-1-click-docker-compose-setup-188o)

» 24-October-2024 by [Shrey](https://oss.gg/shreykx) guide link : [https://github.com/shreykx/newfolder/blob/8046bc7373b8632b7fc2bfa28c360b86f8890a81/twentyguide.md]
» 23-October-2024 by [Thefool76](https://oss.gg/thefool76) blog Link: [blog](https://k5lo7h.hashnode.dev/a-detailed-guide-to-self-host-twenty-crm-on-you-local-server)

» 24-October-2024 by [Khaan25](https://oss.gg/Khaan25) blog Link: [blog](https://medium.com/@ziaurzai/detailed-guide-on-self-hosting-twenty-crm-on-your-server-troubleshooting-and-best-practices-1f2ca15cd6eb)

» 26-October-2024 by [Yash-1511](https://oss.gg/Yash-1511) blog Link: [blog](https://medium.com/@yashp3020/a-comprehensive-guide-to-self-hosting-twenty-crm-with-docker-compose-40ea3fb4afdc)
---

» 28-October-2024 by [harshsbhat](https://oss.gg/harshsbhat) blog Link: [blog](https://www.harshbhat.me/blog/twenty-self-host)
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ Your turn 👇

» 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) video Link: [video](https://twenty.com/)

---
» 24-October-2024 by [Thefool76](https://oss.gg/thefool76) video Link: [video](https://youtube.com/shorts/lC4oqm7UlCI?si=Md-nsfK9F6Shzjkv)

» 27-October-2024 by [Khaan25](https://oss.gg/Khaan25) video Link: [video](https://x.com/zia_webdev/status/1850409233663115529)

» 27-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) video link: [video](https://youtube.com/shorts/OK52eaq0pAQ?feature=share)

» 28-October-2024 by [adityadeshlahre](https://oss.gg/adityadeshlahre) video link: [video](https://youtu.be/65sOHce1gjw)

---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**Side Quest**: Design a promotional poster of Twenty and share it on social media.
**Points**: 300 Points
**Points**: 50 Points
**Proof**: Add your oss handle and poster link to the list below.

Please follow the following schema:
Expand Down Expand Up @@ -32,4 +32,4 @@ Your turn 👇

» 21-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) poster Link: [poster](https://x.com/sateshcharans/status/1848358958970396727)

---
» 22-October-2024 by [Khaan25](https://oss.gg/Khaan25) poster Link: [poster](https://drive.google.com/file/d/1IFtzwzKa0C_hT9cL4o3ChsKwVNRP33G_/view?usp=sharing) - [Tweet Link](https://x.com/zia_webdev/status/1848764487081619470)
4 changes: 3 additions & 1 deletion oss-gg/twenty-design-challenges/2-design-new-logo-twenty.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**Side Quest**: Design/Create new Twenty logo, tweet your design, and mention @twentycrm.
**Points**: 300 Points
**Points**: 50 Points
**Proof**: Create a logo upload it on any of the platform and add your oss handle and logo link to the list below.

Please follow the following schema:
Expand All @@ -20,6 +20,8 @@ Your turn 👇

» 11-October-2024 by [thefool76](https://oss.gg/thefool76) Logo Link: [logo](https://drive.google.com/file/d/1DxSwNY_i90kGgWzPQj5SxScBz_6r02l4/view?usp=sharing) » tweet Link: [tweet](https://x.com/thefool1135/status/1844693487067034008)

» 22-October-2024 by [Khaan25](https://oss.gg/Khaan25) Logo Link: [logo](https://drive.google.com/drive/folders/1yaegQ7Hr8YraMNs50AHZmDprvzLn6A90?usp=sharing) » tweet Link: [tweet](https://x.com/zia_webdev/status/1848754055717212388)

» 13-October-2024 by [Atharva_404](https://oss.gg/Atharva-3000) Logo Link: [logo](https://drive.google.com/drive/folders/1XB7ELR7kPA4x7Fx5RQr8wo5etdZAZgcs?usp=drive_link) » tweet Link: [tweet](https://x.com/0x_atharva/status/1845421218914095453)

» 13-October-2024 by [Ionfinisher](https://oss.gg/Ionfinisher) Logo Link: [logo](https://drive.google.com/file/d/1l9vE8CIjW9KfdioI5WKzxrdmvO8LR4j7/view?usp=drive_link) » tweet Link: [tweet](https://x.com/ion_finisher/status/1845466470429442163)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
**Side Quest**: Duplicate the Figma file from the main repo and customize the variables to create a unique interface theme for Twenty.
**Points**: 750 Points
**Proof**: Add your oss handle and Figma link to the list below.
**Side Quest**: Duplicate the Figma file from the main repo and customize the variables to create a unique interface theme for Twenty. <br/>
**Points**: 750 Points <br/>
**Proof**: Add your oss handle and Figma link to the list below. <br/>
**Figma Link**: https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?t=YIFyswta6Xf6sSYK-0

Please follow the following schema:

---

» 05-April-2024 by YOUR oss.gg HANDLE » Figma Link: https://link.to/content
» 05-April-2024 by YOUR oss.gg HANDLE] Figma Link: https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?t=YIFyswta6Xf6sSYK-0

---

Expand All @@ -17,5 +18,11 @@ Your turn 👇
////////////////////////////

» 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) Figma Link: [Figma](https://twenty.com/)
» 22-October-2024 by [rajeevDewangan](https://oss.gg/rajeevDewangan) Figma Link: [Figma](https://www.figma.com/design/XE21QdkFuy0IJHtmW7TURa/Twenty-(rajeevDewangan)?node-id=0-1&node-type=canvas&t=BYBulCT6hpJu6E8G-0)
» 24-October-2024 by [Khaan25](https://oss.gg/Khaan25) Figma Link: [Figma](https://www.figma.com/design/HqYQrzel3e2TjzujwfdCXZ/Twenty-(Copy)---Khaan25?node-id=478-19796&t=QTB8gzKTudbVNeNs-1)
» 24-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) Figma Link: [Figma](https://www.figma.com/design/2qlAPS3llwf8jrWKGHEf6O/Twenty-(sateshcharan)?node-id=1633-94880&t=GIceWxqyY0ajWXnZ-1)
» 28-October-2024 by [Vanshdeep Singh](https://oss.gg/Vanshdeepsingh-2232) Figma Link:[Figma](https://www.figma.com/design/akgDOb37YLUW9iWLB155EV/Twenty-(Copy)?node-id=478-19796&t=8Gz1yqls2Q3dsN9h-1)




---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Side Quest**: Develop a script to facilitate the migration of data from another CRM to Twenty.
**Side Quest**: Develop a script to facilitate the migration of data from another CRM to Twenty.
**Points**: 750 Points
**Proof**: Add your oss handle and record video and share link to the list below. In video show the working proof of your created script.

Expand All @@ -18,4 +18,6 @@ Your turn 👇

» 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) video Link: [video](https://twenty.com/)

---
» 22-October-2024 by [FaheemOnHub](https://oss.gg/FaheemOnHub) video Link: [video](https://drive.google.com/file/d/1bR59Q5gqoqHjzgdrF6K68U2hloexkQYM/view)

» 27-October-2024 by [Khaan25](https://oss.gg/Khaan25) video Link: [video](https://drive.google.com/file/d/1-wgzofJaWmnMcFgZZV5uYNNgtbJKJ_1G/view?usp=sharing/)
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Your turn 👇

» 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) template Link: [template](https://twenty.com/)

---
» 25-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) template Link: [template]()

---
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Your turn 👇

» 02-October-2024 by [yourhandle](https://oss.gg/yourhandle) guide Link: [guide](https://twenty.com/)

---
» 26-October-2024 by [sateshcharan](https://oss.gg/sateshcharan) guide Link: [guide](https://dev.to/sateshcharan/supercharge-your-marketing-with-twentycrm-n8n-1hfd)

---
11 changes: 11 additions & 0 deletions oss-gg/twenty-side-quest/1-quote-tweet-20-oss-gg-launch.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@ Your turn 👇

» 20-October-2024 by Naprila
» Link to Tweet: https://x.com/mkprasad_821/status/1847886807314120762

» 22-October-2024 by Zia Ur Rehman Khan
» Link to Tweet: https://x.com/zia_webdev/status/1848659210243871165x

» 22-October-2024 by Ritansh Rajput
» Link to Tweet: https://x.com/Ritansh_Dev/status/1848641904511975838

» 23-October-2024 by Rajeev Dewangan
» Link to Tweet: https://x.com/rajeevdew/status/1849109074685907374


7 changes: 6 additions & 1 deletion oss-gg/twenty-side-quest/2-tweet-about-fav-twenty-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ Your turn 👇

» 20-October-2024 by Naprila
» Link to Tweet: https://x.com/mkprasad_821/status/1847895747707953205
---

» 22-October-2024 by Zia Ur Rehman Khan
» Link to Tweet: https://x.com/zia_webdev/status/1848660000190697633

» 23-October-2024 by Rajeev Dewangan
» Link to Tweet: https://x.com/rajeevdew/status/1849110473272442991
3 changes: 2 additions & 1 deletion oss-gg/twenty-side-quest/4-meme-magic.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ Your turn 👇
» 20-October-2024 by Naprila
» Link to Tweet: https://x.com/mkprasad_821/status/1847900277510123706

---
» 22-October-2024 by Zia Ur Rehman Khan
» Link to Tweet: https://x.com/zia_webdev/status/1846954638953926675
4 changes: 3 additions & 1 deletion oss-gg/twenty-side-quest/5-gif-magic.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ Your turn 👇

» 20-October-2024 by Naprila
» Link to gif: https://giphy.com/gifs/uiTAwFJ0BWQsQb7jbM
---

» 22-October-2024 by Zia Ur Rehman Khan
» Link to gif: https://giphy.com/gifs/MG5FQSrG1mxf1N5qnA
4 changes: 3 additions & 1 deletion oss-gg/twenty-side-quest/6-quest-wizard.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Your turn 👇

» 21-October-2024 by [sateshcharan](https://oss.gg/sateshcharan)

---
» 22-October-2024 by [Khaan25](https://oss.gg/Khaan25)

» 26-October-2024 by [Naprila](https://oss.gg/Naprila)
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@stoplight/elements": "^8.0.5",
"@swc/jest": "^0.2.29",
"@tabler/icons-react": "^2.44.0",
"@tiptap/extension-hard-break": "^2.9.1",
"@types/dompurify": "^3.0.5",
"@types/facepaint": "^1.2.5",
"@types/lodash.camelcase": "^4.3.7",
Expand Down Expand Up @@ -295,7 +296,7 @@
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-project-structure": "^3.7.2",
"eslint-plugin-project-structure": "^3.9.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
Expand Down
3 changes: 1 addition & 2 deletions packages/twenty-chrome-extension/src/options/Loading.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import styled from '@emotion/styled';

import { Loader } from '@/ui/display/loader/components/Loader';
import styled from '@emotion/styled';

const StyledContainer = styled.div`
align-items: center;
Expand Down
5 changes: 4 additions & 1 deletion packages/twenty-front/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ dist-ssr
*.sw?

.vite/
.nyc_output/
.nyc_output/

# eslint-plugin-project-structure
projectStructure.cache.json
7 changes: 6 additions & 1 deletion packages/twenty-front/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@ const config: StorybookConfig = {
const { mergeConfig } = await import('vite');

return mergeConfig(config, {
// Add dependencies to pre-optimization
resolve: {
alias: {
'react-dom/client': 'react-dom/profiling',
},
},
});
},
logLevel: 'error',
};
export default config;
1 change: 1 addition & 0 deletions packages/twenty-front/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ initialize({
with payload ${JSON.stringify(requestBody)}\n
This request should be mocked with MSW`);
},
quiet: true,
});

const preview: Preview = {
Expand Down
Loading

0 comments on commit 8cece24

Please sign in to comment.