twenty/packages/twenty-shared
Charles Bochet 96fc98e710
Fix Apps UI: replace 'Managed' label with actual app name and unify app icons (#19897)
## Summary

- The Data Model table was labeling core Twenty objects (e.g. Person,
Company) as **Managed** even though they are part of the standard
application. This PR teaches the frontend to resolve an `applicationId`
back to its real application name (`Standard`, `Custom`, or any
installed app), and removes the misleading **Managed** label entirely.
- Introduces a single, consistent way to render an "app badge" across
the settings UI:
- new `Avatar` variant `type="app"` (rounded 4px corners + 1px
deterministic border derived from `placeholderColorSeed`)
- new `AppChip` component (icon + name) backed by a new
`useApplicationChipData` hook
- new `useApplicationsByIdMap` hook + `CurrentApplicationContext` so the
chip can render **This app** when shown inside the matching app's detail
page
- Reuses these primitives on:
- the application detail page header (`SettingsApplicationDetailTitle`)
  - the Installed / My apps tables (`SettingsApplicationTableRow`)
  - the NPM packages list (`SettingsApplicationsDeveloperTab`)
- Backend: exposes a minimal `installedApplications { id name
universalIdentifier }` field on `Workspace` (resolved from the workspace
cache, soft-deleted entries filtered out) so the frontend can resolve
`applicationId` -> name without N+1 fetches.
- Cleanup: deletes `getItemTagInfo` and inlines its tiny
responsibilities into the components that need them, matching the
`RecordChip` pattern.
2026-04-21 00:44:14 +02:00
..
__mocks__ Fix storybook build cache and logs (#14130) 2025-08-28 14:46:43 +02:00
scripts Optimize merge queue to only run E2E and integrate prettier into lint (#18459) 2026-03-06 13:20:57 +01:00
src Fix Apps UI: replace 'Managed' label with actual app name and unify app icons (#19897) 2026-04-21 00:44:14 +02:00
.babelrc [REFACTOR] twenty-shared multi barrel and CJS/ESM build with preconstruct (#11083) 2025-03-22 19:16:06 +01:00
.gitignore Add Twenty Shared & Fix profile image rendering (#8841) 2024-12-17 09:24:21 +01:00
.oxlintrc.json Optimize merge queue to only run E2E and integrate prettier into lint (#18459) 2026-03-06 13:20:57 +01:00
jest.config.mjs Twenty-shared tests parses decorator (#15765) 2025-11-13 16:06:04 +00:00
package.json fix: bump handlebars to 4.7.9 (CVE-2026-33937) (#19288) 2026-04-03 03:38:14 +00:00
project.json Optimize merge queue to only run E2E and integrate prettier into lint (#18459) 2026-03-06 13:20:57 +01:00
tsconfig.json Optimize merge queue to only run E2E and integrate prettier into lint (#18459) 2026-03-06 13:20:57 +01:00
tsconfig.lib.json [FRONT COMPONENTS] Allow style librairies in remote dom (#17936) 2026-02-15 23:50:57 +01:00
vite.config.individual.ts Fix initial code step functionInput (#18002) 2026-02-17 16:45:00 +01:00
vite.config.ts Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00