Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Chore: add script to generate registry

Jonathan ARNAULT9cdbbaa58dad
diff --git a/bin/generate-registry.mjs b/bin/generate-registry.mjs
new file mode 100755
index 00000000..de73f856
--- /dev/null
+++ b/bin/generate-registry.mjs
@@ -0,0 +1,59 @@
+#!/usr/bin/env node
+
+import { globSync } from "glob";
+import fs from "node:fs";
+import path from "node:path";
+
+const registryPath = "registry.json";
+const basePath = "src";
+const componentsPath = path.join(basePath, "components", "atomic-crm");
+const hooksPath = path.join(basePath, "hooks");
+
+const excludedHooks = [
+ "filter-context.tsx",
+ "saved-queries.tsx",
+ "use-mobile.ts",
+ "useSupportCreateSuggestion.tsx",
+];
+
+const components = globSync(path.join(componentsPath, "**", "*.ts*"));
+const hooks = globSync(path.join(hooksPath, "**", "*.ts*")).filter((hook) => {
+ return !excludedHooks.includes(path.basename(hook));
+});
+
+const registryContent = JSON.parse(fs.readFileSync(registryPath, "utf-8"));
+
+const files = [
+ ...components.map((path) => {
+ return {
+ path,
+ type: "registry:component",
+ };
+ }),
+ ...hooks.map((path) => {
+ return {
+ path,
+ type: "registry:hook",
+ };
+ }),
+];
+
+const newRegistryContent = {
+ ...registryContent,
+ items: registryContent.items.map((item) => {
+ if (item.name === "atomic-crm") {
+ return {
+ ...item,
+ files,
+ };
+ }
+
+ return item;
+ }),
+};
+
+fs.writeFileSync(
+ registryPath,
+ JSON.stringify(newRegistryContent, null, 2),
+ "utf-8",
+);
diff --git a/makefile b/makefile
index 716cf512..c16216b4 100644
--- a/makefile
+++ b/makefile
@@ -88,3 +88,6 @@ doc-deploy:
registry-build: ## build the shadcn registry
npm run registry:build
+
+registry-gen: ## generate the shadcn registry
+ npm run registry:gen
diff --git a/package-lock.json b/package-lock.json
index 91dcc8c7..182ee83e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -76,6 +76,7 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"eslint-plugin-storybook": "^9.0.13",
+ "glob": "^11.0.3",
"globals": "^16.3.0",
"prettier": "^3.6.2",
"shadcn": "^3.5.0",
@@ -1640,6 +1641,109 @@
"node": "20 || >=22"
}
},
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@isaacs/cliui/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/@isaacs/fs-minipass": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
@@ -5891,6 +5995,13 @@
"node": ">= 0.4"
}
},
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/eciesjs": {
"version": "0.4.16",
"resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.4.16.tgz",
@@ -6679,6 +6790,23 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/foreground-child": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/formdata-polyfill": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
@@ -6872,6 +7000,30 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/glob": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz",
+ "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "foreground-child": "^3.3.1",
+ "jackspeak": "^4.1.1",
+ "minimatch": "^10.0.3",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^2.0.0"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
@@ -6885,6 +7037,22 @@
"node": ">=10.13.0"
}
},
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "10.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
+ "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@isaacs/brace-expansion": "^5.0.0"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/globals": {
"version": "16.3.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-16.3.0.tgz",
@@ -7307,6 +7475,22 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/jackspeak": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
+ "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/jiti": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.5.1.tgz",
@@ -8446,6 +8630,13 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0"
+ },
"node_modules/package-manager-detector": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.5.0.tgz",
@@ -8541,6 +8732,33 @@
"node": ">=8"
}
},
+ "node_modules/path-scurry": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
+ "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "lru-cache": "^11.0.0",
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "11.2.2",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.2.tgz",
+ "integrity": "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "20 || >=22"
+ }
+ },
"node_modules/path-to-regexp": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
@@ -9958,6 +10176,22 @@
"node": ">=8"
}
},
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/stringify-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-5.0.0.tgz",
@@ -9988,6 +10222,20 @@
"node": ">=8"
}
},
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-bom": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
@@ -10962,6 +11210,25 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
diff --git a/package.json b/package.json
index 737d34a6..c62e30bd 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
"prettier:apply": "prettier --config ./.prettierrc.mjs --write --list-different \"**/*.{js,json,ts,tsx,css,md,html}\"",
"prettier:check": "prettier --config ./.prettierrc.mjs --check \"**/*.{js,json,ts,tsx,css,md,html}\"",
"registry:build": "shadcn build",
+ "registry:gen": "./bin/generate-registry.mjs",
"ghpages:deploy": "node ./scripts/ghpages-deploy.mjs",
"supabase:remote:init": "node ./scripts/supabase-remote-init.mjs"
},
@@ -86,6 +87,7 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"eslint-plugin-storybook": "^9.0.13",
+ "glob": "^11.0.3",
"globals": "^16.3.0",
"prettier": "^3.6.2",
"shadcn": "^3.5.0",
diff --git a/registry.json b/registry.json
index a19a4b59..aa1f70d2 100644
--- a/registry.json
+++ b/registry.json
@@ -23,147 +23,147 @@
],
"files": [
{
- "path": "src/components/atomic-crm/layout/Header.tsx",
+ "path": "src/components/atomic-crm/types.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/layout/TopToolbar.tsx",
+ "path": "src/components/atomic-crm/consts.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/layout/Layout.tsx",
+ "path": "src/components/atomic-crm/tasks/TasksIterator.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/layout/FormToolbar.tsx",
+ "path": "src/components/atomic-crm/tasks/TaskEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealList.tsx",
+ "path": "src/components/atomic-crm/tasks/Task.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealInputs.tsx",
+ "path": "src/components/atomic-crm/tasks/AddTask.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/OnlyMineInput.tsx",
+ "path": "src/components/atomic-crm/tags/colors.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealListContent.tsx",
+ "path": "src/components/atomic-crm/tags/TagEditModal.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/deal.ts",
+ "path": "src/components/atomic-crm/tags/TagDialog.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/index.ts",
+ "path": "src/components/atomic-crm/tags/TagCreateModal.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealCreate.tsx",
+ "path": "src/components/atomic-crm/tags/TagChip.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealArchivedList.tsx",
+ "path": "src/components/atomic-crm/tags/RoundButton.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/stages.ts",
+ "path": "src/components/atomic-crm/simple-list/SimpleListLoading.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealCard.tsx",
+ "path": "src/components/atomic-crm/simple-list/SimpleListItem.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealColumn.tsx",
+ "path": "src/components/atomic-crm/simple-list/SimpleList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealShow.tsx",
+ "path": "src/components/atomic-crm/simple-list/ListPlaceholder.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealEmpty.tsx",
+ "path": "src/components/atomic-crm/simple-list/ListNoResults.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/DealEdit.tsx",
+ "path": "src/components/atomic-crm/settings/SettingsPage.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/dealUtils.ts",
+ "path": "src/components/atomic-crm/sales/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/deals/ContactList.tsx",
+ "path": "src/components/atomic-crm/sales/SalesList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/TasksListFilter.tsx",
+ "path": "src/components/atomic-crm/sales/SalesInputs.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/Welcome.tsx",
+ "path": "src/components/atomic-crm/sales/SalesEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/TasksListEmpty.tsx",
+ "path": "src/components/atomic-crm/sales/SalesCreate.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/DashboardActivityLog.tsx",
+ "path": "src/components/atomic-crm/sales/SaleName.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/Dashboard.tsx",
+ "path": "src/components/atomic-crm/root/i18nProvider.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/DealsPipeline.tsx",
+ "path": "src/components/atomic-crm/root/defaultConfiguration.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/TasksList.tsx",
+ "path": "src/components/atomic-crm/root/ConfigurationContext.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/LatestNotes.tsx",
+ "path": "src/components/atomic-crm/root/CRM.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/DealsChart.tsx",
+ "path": "src/components/atomic-crm/providers/types.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/DashboardStepper.tsx",
+ "path": "src/components/atomic-crm/providers/supabase/supabase.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/dashboard/HotContacts.tsx",
+ "path": "src/components/atomic-crm/providers/supabase/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/supabase/supabase.ts",
+ "path": "src/components/atomic-crm/providers/supabase/dataProvider.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/supabase/index.ts",
+ "path": "src/components/atomic-crm/providers/supabase/authProvider.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/supabase/dataProvider.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/supabase/authProvider.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataProvider.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/index.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/authProvider.ts",
"type": "registry:component"
},
{
@@ -171,19 +171,27 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts",
"type": "registry:component"
},
{
"path": "src/components/atomic-crm/providers/fakerest/internal/transformInFilter.ts",
"type": "registry:component"
},
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts",
+ "type": "registry:component"
+ },
{
"path": "src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/internal/listParser.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts",
"type": "registry:component"
},
{
@@ -191,19 +199,23 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataProvider.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/internal/listParser.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/utils.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts",
"type": "registry:component"
},
{
@@ -211,27 +223,31 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/utils.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts",
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts",
"type": "registry:component"
},
{
@@ -239,11 +255,11 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts",
+ "path": "src/components/atomic-crm/providers/commons/getContactAvatar.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/fakerest/authProvider.ts",
+ "path": "src/components/atomic-crm/providers/commons/getContactAvatar.spec.ts",
"type": "registry:component"
},
{
@@ -251,7 +267,11 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/commons/getContactAvatar.ts",
+ "path": "src/components/atomic-crm/providers/commons/getCompanyAvatar.spec.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/commons/canAccess.ts",
"type": "registry:component"
},
{
@@ -259,19 +279,19 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/commons/canAccess.ts",
+ "path": "src/components/atomic-crm/notes/utils.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/providers/types.ts",
+ "path": "src/components/atomic-crm/notes/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/NoteCreate.tsx",
+ "path": "src/components/atomic-crm/notes/StatusSelector.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/index.ts",
+ "path": "src/components/atomic-crm/notes/NotesIterator.tsx",
"type": "registry:component"
},
{
@@ -279,7 +299,11 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/StatusSelector.tsx",
+ "path": "src/components/atomic-crm/notes/NoteCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/NoteAttachments.tsx",
"type": "registry:component"
},
{
@@ -287,358 +311,358 @@
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/utils.ts",
+ "path": "src/components/atomic-crm/misc/usePapaParse.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/NotesIterator.tsx",
+ "path": "src/components/atomic-crm/misc/useAppBarHeight.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/notes/NoteAttachments.tsx",
+ "path": "src/components/atomic-crm/misc/unsupportedDomains.const.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogNote.tsx",
+ "path": "src/components/atomic-crm/misc/isLinkedInUrl.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx",
+ "path": "src/components/atomic-crm/misc/fetchWithTimeout.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx",
+ "path": "src/components/atomic-crm/misc/Status.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLog.tsx",
+ "path": "src/components/atomic-crm/misc/RelativeDate.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogIterator.tsx",
+ "path": "src/components/atomic-crm/misc/ImageEditorField.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx",
+ "path": "src/components/atomic-crm/misc/ContactOption.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogContactCreated.tsx",
+ "path": "src/components/atomic-crm/misc/AsideSection.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogContext.tsx",
+ "path": "src/components/atomic-crm/login/StartPage.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/activity/ActivityLogDealCreated.tsx",
+ "path": "src/components/atomic-crm/login/SignupPage.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/consts.ts",
+ "path": "src/components/atomic-crm/login/LoginSkeleton.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/AutocompleteCompanyInput.tsx",
+ "path": "src/components/atomic-crm/layout/TopToolbar.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyInputs.tsx",
+ "path": "src/components/atomic-crm/layout/Layout.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyEmpty.tsx",
+ "path": "src/components/atomic-crm/layout/Header.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/index.ts",
+ "path": "src/components/atomic-crm/layout/FormToolbar.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyList.tsx",
+ "path": "src/components/atomic-crm/filters/FilterCategory.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyAvatar.tsx",
+ "path": "src/components/atomic-crm/deals/stages.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyEdit.tsx",
+ "path": "src/components/atomic-crm/deals/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyCreate.tsx",
+ "path": "src/components/atomic-crm/deals/dealUtils.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyListFilter.tsx",
+ "path": "src/components/atomic-crm/deals/deal.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/GridList.tsx",
+ "path": "src/components/atomic-crm/deals/OnlyMineInput.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyAside.tsx",
+ "path": "src/components/atomic-crm/deals/DealShow.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyCard.tsx",
+ "path": "src/components/atomic-crm/deals/DealListContent.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/sizes.ts",
+ "path": "src/components/atomic-crm/deals/DealList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/companies/CompanyShow.tsx",
+ "path": "src/components/atomic-crm/deals/DealInputs.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/settings/SettingsPage.tsx",
+ "path": "src/components/atomic-crm/deals/DealEmpty.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/simple-list/SimpleListLoading.tsx",
+ "path": "src/components/atomic-crm/deals/DealEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/simple-list/SimpleList.tsx",
+ "path": "src/components/atomic-crm/deals/DealCreate.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/simple-list/ListNoResults.tsx",
+ "path": "src/components/atomic-crm/deals/DealColumn.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/simple-list/SimpleListItem.tsx",
+ "path": "src/components/atomic-crm/deals/DealCard.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/simple-list/ListPlaceholder.tsx",
+ "path": "src/components/atomic-crm/deals/DealArchivedList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/root/defaultConfiguration.ts",
+ "path": "src/components/atomic-crm/deals/ContactList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/root/CRM.tsx",
+ "path": "src/components/atomic-crm/dashboard/Welcome.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/root/i18nProvider.tsx",
+ "path": "src/components/atomic-crm/dashboard/TasksListFilter.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/root/ConfigurationContext.tsx",
+ "path": "src/components/atomic-crm/dashboard/TasksListEmpty.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/login/StartPage.tsx",
+ "path": "src/components/atomic-crm/dashboard/TasksList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/login/LoginSkeleton.tsx",
+ "path": "src/components/atomic-crm/dashboard/LatestNotes.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/login/SignupPage.tsx",
+ "path": "src/components/atomic-crm/dashboard/HotContacts.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/fetchWithTimeout.ts",
+ "path": "src/components/atomic-crm/dashboard/DealsPipeline.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/ImageEditorField.tsx",
+ "path": "src/components/atomic-crm/dashboard/DealsChart.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/unsupportedDomains.const.ts",
+ "path": "src/components/atomic-crm/dashboard/DashboardStepper.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/RelativeDate.tsx",
+ "path": "src/components/atomic-crm/dashboard/DashboardActivityLog.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/useAppBarHeight.ts",
+ "path": "src/components/atomic-crm/dashboard/Dashboard.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/AsideSection.tsx",
+ "path": "src/components/atomic-crm/contacts/useContactImport.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/usePapaParse.tsx",
+ "path": "src/components/atomic-crm/contacts/index.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/Status.tsx",
+ "path": "src/components/atomic-crm/contacts/TagsListEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/ContactOption.tsx",
+ "path": "src/components/atomic-crm/contacts/TagsList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/misc/isLinkedInUrl.ts",
+ "path": "src/components/atomic-crm/contacts/ContactShow.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/filters/FilterCategory.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactListFilter.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/SalesList.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactListContent.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/SalesEdit.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/index.ts",
+ "path": "src/components/atomic-crm/contacts/ContactInputs.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/SalesInputs.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactImportDialog.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/SalesCreate.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactImportButton.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/sales/SaleName.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactEmpty.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/types.ts",
+ "path": "src/components/atomic-crm/contacts/ContactEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/TagEditModal.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactCreate.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/TagChip.tsx",
+ "path": "src/components/atomic-crm/contacts/ContactAside.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/RoundButton.tsx",
+ "path": "src/components/atomic-crm/contacts/Avatar.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/TagDialog.tsx",
+ "path": "src/components/atomic-crm/companies/sizes.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/TagCreateModal.tsx",
+ "path": "src/components/atomic-crm/companies/index.ts",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tags/colors.ts",
+ "path": "src/components/atomic-crm/companies/GridList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactAside.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyShow.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactCreate.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyListFilter.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/Avatar.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyList.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactEmpty.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyInputs.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactShow.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyEmpty.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/TagsListEdit.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyEdit.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/TagsList.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyCreate.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactEdit.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyCard.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactInputs.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyAvatar.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactListFilter.tsx",
+ "path": "src/components/atomic-crm/companies/CompanyAside.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/index.tsx",
+ "path": "src/components/atomic-crm/companies/AutocompleteCompanyInput.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/useContactImport.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogNote.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactImportButton.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogIterator.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactListContent.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactImportDialog.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogDealCreated.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/contacts/ContactList.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogContext.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tasks/Task.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tasks/TaskEdit.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogContactCreated.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tasks/TasksIterator.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx",
"type": "registry:component"
},
{
- "path": "src/components/atomic-crm/tasks/AddTask.tsx",
+ "path": "src/components/atomic-crm/activity/ActivityLog.tsx",
"type": "registry:component"
},
{
- "path": "src/hooks/array-input-context.tsx",
+ "path": "src/hooks/user-menu-context.tsx",
"type": "registry:hook"
},
{
- "path": "src/hooks/simple-form-iterator-context.tsx",
+ "path": "src/hooks/useBulkExport.tsx",
"type": "registry:hook"
},
{
- "path": "src/hooks/useBulkExport.tsx",
+ "path": "src/hooks/simple-form-iterator-context.tsx",
"type": "registry:hook"
},
{
- "path": "src/hooks/user-menu-context.tsx",
+ "path": "src/hooks/array-input-context.tsx",
"type": "registry:hook"
}
]
}
]
-}
+}
\ No newline at end of file