f269f8b905
Fix autogrow input whitespace bug ( #10388 )
...
Also fixed chip alignment.
Before:
https://github.com/user-attachments/assets/7bfe7c73-676a-4dee-b5df-fed15b663267
After:
https://github.com/user-attachments/assets/9060b3cc-051b-41f7-8149-418ed1c223cb
2025-02-21 15:37:07 +01:00
9ef6486b06
Fix autogrowing input glitch ( #10224 )
...
- Removed unnecessary resize observer
- Removed unused component
- Fixed autogrowing input glitch
# Before
https://github.com/user-attachments/assets/a7de71d5-bc6e-495f-851c-18df596749dd
# After
https://github.com/user-attachments/assets/63588d0e-1122-43fe-b685-3f3a4ec4114e
2025-02-17 10:10:39 +00:00
80c55b4462
384 update the input of the record show page inside the command menu ( #10213 )
...
Created a new component `RecordTitleCell` with an API close to
`RecordInlineCell`.
This new component is an autogrowing input.
It consumes the `FieldContext`. It uses some hooks and states from
`RecordInlineCell` because I didn't want to duplicate all the logic, but
this logic could be duplicated.
Two issues that I didn't solve in this PR:
- There is a flashing glitch inside the input when typing
- The input of a workflow isn't focused when creating a new one. This is
because of an issue with the `useHotkeyScopeOnMount` hook which is
deprecated but still used in some components. Upon redirection on the
workflow showpage, the hokey scope of the input is overridden by the
hokey scopes of the components which use `useHotkeyScopeOnMount`. I
decided not to open the input for now.
## Command menu record show page
### Single input
https://github.com/user-attachments/assets/50dc235c-8f34-4445-8b04-586125606bd5
### Double input
https://github.com/user-attachments/assets/bdcfd6eb-d25e-4006-a87f-6e615e8a6e7e
## Workflow breadcrumb
https://github.com/user-attachments/assets/ded38dd6-5794-4779-a4ae-b3948567595a
## Record show page
### Single input
https://github.com/user-attachments/assets/8ad7a606-556a-416b-8788-93415f7989e1
### Double input
https://github.com/user-attachments/assets/55aae40b-36ae-40f1-8171-06f1a5db3532
2025-02-14 12:33:18 +00:00
7fd89678b7
[CHORE] Avoid isDefined duplicated reference, move it to twenty-shared ( #9967 )
...
# Introduction
Avoid having multiple `isDefined` definition across our pacakges
Also avoid importing `isDefined` from `twenty-ui` which exposes a huge
barrel for a such little util function
## In a nutshell
Removed own `isDefined.ts` definition from `twenty-ui` `twenty-front`
and `twenty-server` to move it to `twenty-shared`.
Updated imports for each packages, and added explicit dependencies to
`twenty-shared` if not already in place
Related PR https://github.com/twentyhq/twenty/pull/9941
2025-02-01 12:10:10 +01:00
dcf92ae7f1
Migrate to twenty-ui - utilities/dimensions ( #7949 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7539](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7539 ).
---
### Description
- Move the utilities/dimensions from twenty-front to twenty-ui and
update imports\
Fixes twentyhq/private-issues#79
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-23 17:09:32 +02:00