twenty/packages/twenty-server/src
Baptiste Devessier d73dc1a728
Create form field number (#8634)
- Refactor VariableTagInput to have a reusable low-level TipTap editor
- Create three primitive form fields:
  - Text
  - Number
  - Boolean

## Notes

- We should automatically recognize the placeholder to use for every
FormFieldInput, as it's done for FieldInputs.

## Design decisions

Our main challenge was for variables and inputs to be able to
communicate between each other. We chose an API that adds some
duplication but remains simple and doesn't rely on "hacks" to work.
Common styles are centralized.

## Demo

"Workflow" mode with variables:

![CleanShot 2024-11-26 at 10 43
25@2x](https://github.com/user-attachments/assets/cc17098a-ca27-4f97-b86a-bf88593e53db)

FormFieldInput mode, without variables:

![CleanShot 2024-11-26 at 10 44
26@2x](https://github.com/user-attachments/assets/fec07c36-5944-4a1d-a863-516fd77c8f55)

Behavior difference between fields that can contain variables and static
content, and inputs that can have either a variable value or a static
value:

![CleanShot 2024-11-26 at 10 47
13@2x](https://github.com/user-attachments/assets/1e562cd8-c362-46d0-b438-481215159da9)
2024-11-28 17:03:24 +00:00
..
command 6658 workflows add a first twenty piece email sender (#6965) 2024-09-12 11:00:25 +02:00
constants Fix all broken CIs (#7439) 2024-10-05 00:23:23 +02:00
database Set missing labelIdentifier to custom objects (#8750) 2024-11-26 11:03:27 +01:00
engine Rename enum types when tables are renamed (#8794) 2024-11-28 15:39:20 +01:00
modules Create form field number (#8634) 2024-11-28 17:03:24 +00:00
queue-worker Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
utils Add Manual Triggers (#8024) 2024-10-25 14:24:56 +02:00
app.module.ts Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
instrument.ts Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
main.ts feat(server): allow to use ssl on server (#8722) 2024-11-26 15:30:51 +00:00