twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.7k stars 1.7k forks source link

Improve field validation and error handling in settings / metadata #6218

Open ijreilly opened 1 month ago

ijreilly commented 1 month ago
### Field validation
- [ ] https://github.com/twentyhq/twenty/issues/6094
- [ ] https://github.com/twentyhq/twenty/issues/5428
### Error handling
- [ ] https://github.com/twentyhq/twenty/issues/6212
- [ ] https://github.com/twentyhq/twenty/issues/4786
greptile-apps[bot] commented 1 month ago

Field validation

Error handling

References

/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx /packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetail.tsx /packages/twenty-front/src/modules/settings/data-model/validation-schemas/settingsUpdateObjectInputSchema.ts /packages/twenty-front/src/modules/settings/data-model/components/SettingsObjectFieldRelationForm.tsx /packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldStep2.tsx /packages/twenty-front/src/modules/settings/data-model/fields/forms/validation-schemas/settingsFieldFormSchema.ts /packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldStep1.tsx /packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldSettingsFormCard.tsx /packages/twenty-front/src/modules/object-metadata/hooks/useFieldMetadataItem.ts /packages/twenty-front/src/modules/object-metadata/hooks/useFieldMetadataItem.ts

#### About Greptile This response provides a starting point for your research, not a precise solution. Help us improve! Please leave a ๐Ÿ‘ if this is helpful and ๐Ÿ‘Ž if it is irrelevant. [Ask Greptile](https://app.greptile.com/chat/github/twentyhq/twenty/main) ยท [Edit Issue Bot Settings](https://app.greptile.com/apps/github)