mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 20:13:21 +03:00
d73dc1a728
- 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) |
||
---|---|---|
.. | ||
command | ||
constants | ||
database | ||
engine | ||
modules | ||
queue-worker | ||
utils | ||
app.module.ts | ||
instrument.ts | ||
main.ts |