08c7947b3b
Use twentyORM in Timeline messaging ( #6595 )
...
- Remove raw queries and replace them by using `twentyORM`
- Refactor into services and utils
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-15 10:15:32 +02:00
59e14fabb4
[Issue-5772] Add sort feature on settings tables ( #5787 )
...
## Proposed Changes
- Introduce a new custom hook - useTableSort to sort table content
- Add test cases for the new custom hook
- Integrate useTableSort hook on to the table in settings object and
settings object field pages
## Related Issue
https://github.com/twentyhq/twenty/issues/5772
## Evidence
https://github.com/twentyhq/twenty/assets/87609792/8be456ce-2fa5-44ec-8bbd-70fb6c8fdb30
## Evidence after addressing review comments
https://github.com/twentyhq/twenty/assets/87609792/c267e3da-72f9-4c0e-8c94-a38122d6395e
## Further comments
Apologies for the large PR. Looking forward for the review
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-14 17:11:17 +02:00
774cb554f4
removed @blocknote/core from dependencies ( #6580 )
...
Fixes #6564 & #6561
@FelixMalfait
Removed @blocknote/core from dependencies
https://github.com/user-attachments/assets/ef6acfff-2945-4062-a35c-21dd108a4345
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-08-08 15:44:09 +02:00
c836bbbfc2
Fixed SignInUp Modal misalignment for devices smaller than 400px width ( #6386 )
...
Hi @Bonapara,
Issue #6385
I encountered an issue with the Modal component where its width was
fixed at 400px. While the container housing the Modal adjusted its size
based on the screen width, the Modal itself remained at 400px regardless
of the screen size.
I have implemented a change to address this problem. Could you please
review the changes and let me know your thoughts?
Thank you!
https://github.com/user-attachments/assets/8358aacb-d6c3-440e-895e-7abc4f8a3534
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-08-07 15:37:32 +02:00
5c8fe027f9
5425 - Introducing support for all Composite Fields Import ( #5470 )
...
Adding support for all Composite Fields while using the "import"
functionality. This includes:
- Currency
- Address
Edit :
- Refactored a lot of types in the spreadsheet import module
- Renamed a lot of functions, hooks and types that were not
self-explanatory enough
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-07-23 18:02:23 +02:00
4f249df831
Fixes data importer showing incorrect unmatched fields (# 6138) ( #6311 )
...
fixes #6138
---------
Co-authored-by: Thomas Trompette <thomas.trompette@sfr.fr >
2024-07-22 14:13:00 +02:00
08c081d315
Add boolean with toggle in csv import ( #6050 )
...
Better UI when importing boolean via CSV (with a toggle)
2024-06-26 22:55:49 +02:00
7b816e500c
Basic import for select in CSV ( #6047 )
...
Enables basic support for Select import and field matching in CSV.
It's not pretty! But it's better than what we had before.
We should iterate on that quickly
<img width="591" alt="Screenshot 2024-06-26 at 18 41 16"
src="https://github.com/twentyhq/twenty/assets/6399865/99f67f39-3f0f-4074-aac6-3200954be08a ">
2024-06-26 22:37:07 +02:00
87abc1b31d
Fix search in csv import ( #6045 )
...
A mini quality of life improvements, the search was case-sensitive which
was frustrating
2024-06-26 17:32:25 +02:00
cd6775da32
Don't display unmatched columns in csv import ( #6037 )
...
Adding a toggle so that, by default, we don't see dozens of fields but
only the field we matched, during the data validation step in csv export
<img width="785" alt="Screenshot 2024-06-26 at 13 25 36"
src="https://github.com/twentyhq/twenty/assets/6399865/ae558eb5-7461-4bc8-a836-ecff8b6d0dff ">
2024-06-26 15:37:37 +02:00
b26fd00a40
5663 i should be able to accept an invite even if i have an inactive workspace ( #5839 )
...
- make invitation and reset password available on every page
- add a sleep after setKeyPair as tokens are sometimes not updated when
redirecting to Index
- refactor sleep
2024-06-13 11:47:00 +02:00
89f914ebf8
Improve csv import ( #5753 )
...
This is a small PR to improve the design of our CSV import.
I noticed the back button that was implemented in a recent PR #5625 was
broken and would need to be fixed (e.g. try to come back to the very
first upload step from the sheet selection step). cc @shashankvish0010
if you want to give a stab at fixing your PR that'd be amazing, thanks!
2024-06-05 17:01:13 +02:00
dcd769f20f
spreadsheet import utf8 emoji support ( #5720 )
...
fixes https://github.com/twentyhq/twenty/issues/5476
took some time to find the right spot, but ChatGPT was helpful enough in
this case 😄
<img width="311" alt="Screenshot 2024-06-03 at 20 24 26"
src="https://github.com/twentyhq/twenty/assets/19856731/4ea0188b-bee5-4a4f-a8af-2630e3b1c373 ">
2024-06-03 21:26:08 +02:00
c7f2150ac7
Fixed: In CSV import now users are able to come back to the previous step. ( #5625 )
...
Users now can make a back transition from the current step state.
- Added a `BackButton` component to `spreadsheet-import` in order to use
it within the step state components.
- Used the prebuilt `prevStep` from `useStepBar` and passed it as a prop
to the `Uploadflow` to get the previous state as activestep.
- Added a `previousState` to set the previous state with the required
key data.
- Added a `handleOnBack` function in `Uploadflow` to set the correct
state and call the `prevStep` function to make the transition.
- Added a callback function `onBack` and passed it as props to each step
state component.
fixes : #5564
https://github.com/twentyhq/twenty/assets/140178357/be7e1a0a-0fb8-41f2-a207-dfc3208ca6f0
---------
Co-authored-by: Thomas Trompette <thomas.trompette@sfr.fr >
2024-05-30 18:43:56 +02:00
cfd83d6b8e
[UI] Remove theme constants from twenty-front and use the ones exported from twenty-ui. ( #5558 )
...
Some parts of the Frontend used theme constants exported from
`modules/ui` while other parts used theme constants exported from
`twenty-ui`.
This PR centralizes theme constants by removing them from `modules/ui`
completely.
2024-05-25 16:09:25 +02:00
8019ba8782
feat: implement new SnackBar design ( #5515 )
...
Closes #5383
## Light theme
<img width="905" alt="image"
src="https://github.com/twentyhq/twenty/assets/3098428/ab0683c5-ded3-420c-ace6-684d38794a2d ">
## Dark theme
<img width="903" alt="image"
src="https://github.com/twentyhq/twenty/assets/3098428/4e43ca35-438d-4ba0-8388-1f061c6ccfb0 ">
2024-05-23 12:19:50 +02:00
fc87a51acf
fix: fix storybook:build memory allocation error in CI ( #5284 )
2024-05-03 19:19:21 +02:00
b6d0b8a895
refactor: move Checkmark, Avatar, Chip and Tooltip to twenty-ui ( #4946 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Part of #4766
2024-04-15 12:05:06 +02:00
9f83cc1426
refactor: move @/ui/display/icon to twenty-ui ( #4820 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Part of https://github.com/twentyhq/twenty/issues/4766
2024-04-12 15:30:48 +02:00
a95972f808
refactor(chore):3896-replace-lodash-debounce-to-useDebounce ( #4814 )
...
Close : #3896
## PR Details
Changed `lodash.debounce` to `useDebounce`.
Co-authored-by: VoitovychDM <voitovych.dm.m@gmail.com >
2024-04-05 19:07:44 +02:00
8ae6af6bd7
refactor: move createState to twenty-ui ( #4716 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2024-04-01 13:22:51 +02:00
5d07b6347e
refactor: move Tabler Icon exports to twenty-ui ( #4727 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
2024-04-01 13:15:47 +02:00
3f102b2934
fix: fix Settings/Developers page error ( #4722 )
...
Closes #4669
2024-04-01 11:36:36 +02:00
e126c5c7f3
TWNTY-4602 - Increase coverage for coverage for twenty-front:storybook:modules ( #4649 )
...
* Increase coverage for coverage for `twenty-front:storybook:modules`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Chiazokam <chiazokamecheta@gmail.com >
* Increase code coverage threshold
* Increase code coverage threshold
* Increase code coverage threshold
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Chiazokam <chiazokamecheta@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-25 18:03:55 +01:00
cfb0cce9b8
Refactor Views by cleaning the code, relying on apolloCache and improving performances ( #4516 )
...
* Wip refactoring view
* Post merge conflicts
* Fix review
* Add create view capability
* Fix create object missing view
* Fix tests
2024-03-20 14:21:58 +01:00
581dfafe11
Renamed nullable utils into isDefined and isUndefinedOrNull ( #4402 )
...
* Renamed nullable utils into isDefined and isUndefinedOrNull
2024-03-11 14:28:57 +01:00
86c0f311f5
Introduce ComponentState ( #4386 )
...
* Proof of concept ComponentState
* Migrate to createState and createFamilyState
* Refactor
* Fix
* Fix tests
* Fix lint
* Fix tests
* Re-enable coverage
2024-03-09 11:31:00 +01:00
17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements ( #4354 )
...
* ESLint rule: only take explicit boolean predicates in if statements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix frontend linter errors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix jest
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix lint on new code
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
2024-03-09 10:48:19 +01:00
30df6c10ea
test: improve utils coverage ( #4230 )
...
* test: improve utils coverage
* refactor: review - rename isDefined to isNonNullable, update tests and return statement
2024-02-29 17:03:52 +01:00
68a8502920
TWNTY-3316 - Add tests for modules/spreadsheet-import ( #4219 )
...
Add tests for `modules/spreadsheet-import`
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
2024-02-29 14:01:41 +01:00
f543191552
TWNTY-3825 - ESLint rule: const naming ( #4171 )
...
* ESLint rule: const naming
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* refactor: Reverts changes on `twenty-server`
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
2024-02-25 13:52:48 +01:00
7b8fffc3b8
Custom object import csv ( #3756 )
...
* poc custom object import csv
* fix fullname
* lint
* add relation Ids, fix label full name, add simple test
* mock missing fields?
* - fix test
* validate uuid, fix key in column dropdown, don't save non set composite fields, allow only import relations where toRelationMetadata
2024-02-06 16:22:39 +01:00
8483cf0b4b
POC: chore: use Nx workspace lint rules ( #3163 )
...
* chore: use Nx workspace lint rules
Closes #3162
* Fix lint
* Fix lint on BE
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:07:25 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00