twenty-app-record-comments 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
File without changes
|
package/manifest.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"defaultRoleUniversalIdentifier": "c8acf80a-d26d-459c-8555-e919d47a9720",
|
|
13
13
|
"aboutDescription": "# Record Comments for Twenty\n\nA comment feed for [Twenty CRM](https://twenty.com) records. It adds a **Comments** tab to Company, Person and Opportunity pages where teammates can leave comments and attach images.\n\n## Features\n\n- **Comments tab** on Company, Person and Opportunity record pages, in the full page and in the side panel.\n- **Real authors.** Each comment is posted under the workspace member who writes it, with their avatar and time. Authors can delete their own comments.\n- **Image attachments.** Attach one or more images (up to 10 per comment, 10 MB each). They are stored as regular attachments of the record, so they also appear in its **Files** tab.\n- **Thumbnails and preview.** Images show as thumbnails. Click one to expand it inside the feed; close it with the X button, a click on the image or Escape. **Original** opens the full-size file in a new tab.\n- **Live feed.** New comments from teammates appear within 15 seconds. `Ctrl+Enter` sends.\n- **All 33 Twenty languages.** The tab, object and field names and the whole comment UI follow each user's language in Twenty.\n\n## How it works\n\nThe app adds one object, `recordComment`, with a `text` field and relations to `company`, `person` and `opportunity`. Deleting a record deletes its comments.\n\nAn image is a standard `attachment` linked both to the record and to its comment (`attachment.recordComment`). Deleting a comment keeps the file in the record's Files tab.\n\nThe app role requests the `UPLOAD_FILE` and `DOWNLOAD_FILE` permissions to handle images.\n\n## Translations\n\nEvery string lives in [`translations/translations.mjs`](translations/translations.mjs). After editing it, run:\n\n```bash\ntwenty app translations extract # only if entity labels changed\nyarn translations # writes locales/*.json and src/utils/strings.generated.ts\n```\n\nThe script refuses to write anything if a language misses a key or a placeholder. Translations other than English and Russian were written without a native-speaker review; corrections are welcome as pull requests.\n\n## Requirements\n\n- Twenty server 2.58.0 or later.\n\n## Limitations\n\n- Pasting images with `Ctrl+V` is not supported: front components only receive text from the clipboard. Use **Attach image**.\n- Comments are available on Company, Person and Opportunity. Supporting another object takes one entry in `COMMENT_TARGETS` in `src/constants/universal-identifiers.ts`.\n\n## Development\n\nSetup instructions live in [SETUP.md](SETUP.md).\n\n```bash\nyarn install\ntwenty auth login --url https://your-twenty-server.com --name dev\ntwenty app apply --create --remote dev\n```\n\n## Publishing\n\nThe `Publish` workflow (`.github/workflows/publish.yml`) publishes the app to npm with provenance using [npm trusted publishing](https://docs.npmjs.com/trusted-publishers). To release:\n\n1. Bump `version` in `package.json` and add an entry to [CHANGELOG.md](CHANGELOG.md).\n2. Push a version tag: `git tag v0.1.0 && git push --tags`.\n\n## License\n\n[MIT](LICENSE)\n",
|
|
14
14
|
"yarnLockChecksum": "9aad18d8aafcfed725666c733eb27482",
|
|
15
|
-
"packageJsonChecksum": "
|
|
15
|
+
"packageJsonChecksum": "1eb5efb5c3ecc4e28638ab8a0fdfd517",
|
|
16
16
|
"requiredServerVersionRange": ">=2.58.0"
|
|
17
17
|
},
|
|
18
18
|
"objects": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twenty-app-record-comments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Twenty CRM app: a comment feed with image attachments on Company, Person and Opportunity records",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twenty-app",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"test:unit": "vitest run --config vitest.unit.config.ts",
|
|
36
36
|
"translations": "node translations/generate.mjs"
|
|
37
37
|
},
|
|
38
|
-
"dependencies": {},
|
|
39
38
|
"devDependencies": {
|
|
40
39
|
"@types/node": "^24.7.2",
|
|
41
40
|
"@types/react": "^19.0.0",
|