Charles Bochet
f49ddec2f6
Fix optimistic effect breaking build
2023-11-15 15:57:43 +01:00
Charles Bochet
6129444c5c
[WIP] Whole FE migrated ( #2517 )
...
* Wip
* WIP
* Removed concole log
* Add relations to workspace init (#2511 )
* Add relations to workspace init
* remove logs
* update prefill
* add missing isSystem
* comment relation fields
* Migrate v2 core models to graphql schema (#2509 )
* migrate v2 core models to graphql schema
* Migrate to new workspace member schema
* Continue work
* migrated-main
* Finished accountOwner nested field integration on companies
* Introduce bug
* Fix
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: Weiko <corentin@twenty.com>
2023-11-15 15:46:06 +01:00
gitstart-twenty
1f49ed2acf
chore(server): convert User model to TypeORM entity ( #2499 )
...
* chore: convert basic RefreshToken model to TypeORM entity
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix import
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-11-14 17:15:31 +01:00
Kanav Arora
970d9ee7f6
2320-fix(front): IconEye icon size and font fix ( #2490 )
...
* 2320-fix(front): IconEye icon size and font fix
* 2320-fix: StyledEye replaced with lighticonbutton
2023-11-14 17:07:54 +01:00
Charles Bochet
01ccc13e36
Seed workspace member in workspace schema ( #2504 )
...
* Seed workspace member in workspace schema
* Fix
2023-11-14 15:48:03 +01:00
Weiko
7c229217be
Hide System Objects ( #2488 )
...
* Hide System Objects
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* update generated gql
* add filter to useFindManyObjectMetadataItems
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-14 15:27:24 +01:00
Benedikt Kleiner
d27f16d97a
docs: mention prebuilt images ( #2493 )
...
docs: mention prebuilt images, remove docker build instructions
2023-11-14 15:09:23 +01:00
Uwem Israel
f3dfd06571
feat: Unfocus cells when mouse leaves the table ( #2442 )
...
* feat: Unfocus cells when mouse leaves the table
* fix: only unfocus cells that are not in edit mode
2023-11-14 15:07:41 +01:00
gitstart-twenty
a69711429b
chore(backend): convert basic RefreshToken model to TypeORM entity ( #2401 )
...
* chore: convert basic RefreshToken model to TypeORM entity
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix import
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-14 13:09:04 +01:00
Charles Bochet
6eb4e00ce1
Migrate WorkspaceMemberSetting into WorkspaceMember ( #2501 )
2023-11-14 12:34:48 +01:00
Jérémy M
65af954671
fix: relations issues ( #2497 )
...
* fix: relations issues
one-to-one relation not working
alias should not be used on the foreignKey side
* fix: naming
2023-11-14 12:07:17 +01:00
brendanlaschke
448f256a35
Add env variable docs ( #2440 )
...
* - add env variable docs
* - danger.js rule
* - fix value
* Fix Danger CI setup
* Add token in CI
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2023-11-14 10:41:09 +01:00
Charles Bochet
5566e6fba8
Complete all standard object migration to the new workspace schema ( #2492 )
...
* Complete all standard object migration to the new workspace schema
* Fixes
2023-11-14 10:24:36 +01:00
bosiraphael
f476129afa
Fix date dropdown width ( #2486 )
...
fix date dropdown width
2023-11-13 18:21:16 +01:00
bosiraphael
230459b23c
2454 update filter definition to work with new backend ( #2482 )
...
* wip
* filters are working
* updated functions
* remove comment
* improve readability
2023-11-13 18:05:49 +01:00
Weiko
3de2fc72dc
Create Relation with Fields from both sides ( #2480 )
...
* Create relation with fields from both sides
* update metadata codegen schema
2023-11-13 17:22:15 +01:00
Charles Bochet
05dbde79cf
Add standard company table migrations ( #2484 )
2023-11-13 17:18:37 +01:00
Weiko
f8a887e33e
Add is system flag to object metadata ( #2481 )
...
* Add isSystem flag to objectMetadata
* squash migrations and add dataSource->objects FK
* fix missing datasource enum type
2023-11-13 17:09:26 +01:00
Félix Malfait
9132845242
Remove CLA Assistant ( #2479 )
...
* Remove yarn.lock and package.json from root
* Remove CLA-Assistant
2023-11-13 16:09:59 +01:00
Charles Bochet
9a109758c8
Migrate standard objects ( #2439 )
...
* Migrate standard objects
* Add migrations
* fix relation
* fix: register RelationMetadataType enum
* fix: correctly fix null relation
---------
Co-authored-by: corentin <corentin@twenty.com>
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-13 16:08:27 +01:00
brendanlaschke
c7568ff28b
Fix single note in grid ( #2437 )
...
- fix single note in grid
2023-11-13 16:01:31 +01:00
Félix Malfait
44d046b363
Cleanup CI workflows, Remove Twenty CLI, Add Danger.js ( #2452 )
...
* Move dockerignore file away from root
* Delete Twenty CLI
* Create Twenty-utils
* Move release script
* Add danger.js to yarn
* Add danger
* Add Bot token
* Cancel previous steps CI
* Revert "Move dockerignore file away from root"
This reverts commit 7ed17bb2bc
.
2023-11-13 14:10:11 +01:00
Shiv Tyagi
2befd0ff14
infra: add make commands for provisioning postgres in macos and linux ( #2436 )
...
* infra: add make commands for provisioning postgres in macos and linux
* docs: update commands for provisioning postgres on linux and macos
2023-11-12 10:26:12 +01:00
Lucas Bordeau
8906c23c63
Fixed callback firing on clickoutside but mousedown inside. ( #2434 )
...
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-10 23:54:47 +01:00
Charles Bochet
130a68dd26
Add relation metadata seed ( #2431 )
...
* Add relation metadata seed
* Fix
* Add filtering by relation id on server
* Fix
2023-11-10 23:53:07 +01:00
bosiraphael
73db5eb35d
fix-svgr-issue-with-tsup ( #2429 )
2023-11-10 18:25:14 +01:00
Weiko
032e516a46
fix one to many relation dynamic query ( #2430 )
2023-11-10 18:20:36 +01:00
Charles Bochet
41f658b1ed
Update mac os script for pg15 ( #2427 )
...
* Update mac os script for pg15
* Update mac os script for pg15
* Update mac os script for pg15
2023-11-10 17:11:09 +01:00
Charles Bochet
54d7acd518
Split components into object-metadata and object-record ( #2425 )
...
* Split components into object-metadata and object-record
* Fix seed
2023-11-10 15:54:32 +01:00
Weiko
04c618284f
Convert metadata tables to camel_case ( #2420 )
...
* Convert metadata tables to camelcase
* refactor folder structure
* rename datasourcemetadata
* regenerate metadata schema
* rename dataSourceMetadata to dataSource
2023-11-10 15:33:25 +01:00
Lucas Bordeau
6e7ad5eabc
Update yarn-setup.mdx ( #2424 )
...
Added troubleshooting use case on SQL database init error.
2023-11-10 15:20:55 +01:00
Charles Bochet
618513afcd
Rename fieldId and objectId into fieldMetadataId and objectMetadataId ( #2421 )
...
* Rename fieldId and objectId into fieldMetadataId and objectMetadataId
* Fix tests
2023-11-10 14:35:18 +01:00
Charles Bochet
57cfd4db45
Fix ScrollWrapper
2023-11-10 13:24:39 +01:00
Lucas Bordeau
9c29c436b9
Feat/pagination front ( #2387 )
...
* Finished renaming and scope
* wip
* WIP update
* Ok
* Cleaned
* Finished infinite scroll
* Clean
* Fixed V1 tables
* Fix post merge
* Removed ScrollWrapper
* Put back ScrollWrapper
* Put back in the right place
2023-11-10 12:43:14 +01:00
bosiraphael
e0289ba9f2
2363 refactor the dialog component to use the new scope architecture ( #2415 )
...
* create Scope
* refactor dialog manager
* finished refactoring
* modify closeDialog to use a recoilcallback
* modify according to comments + add effet component
* fix spreadsheet import stories
2023-11-10 12:36:25 +01:00
Jérémy M
6a700ad1a5
feat: schema-builder and resolver-builder can handle relations ( #2398 )
...
* feat: wip add relation
* feat: add relation for custom and standards objects
* fix: use enum instead of magic string
* fix: remove dead code & fix tests
* fix: typo
* fix: BooleanFilter is missing
* fix: Malformed result error
2023-11-10 12:32:02 +01:00
brendanlaschke
edd152910d
Fix icon picker width and add Icon Title ( #2418 )
...
- fixed icon picker width
- added icon title
2023-11-10 11:52:50 +01:00
Charles Bochet
7b9175a4a4
Revert "Convert metadata tables to camelCase" ( #2419 )
...
Revert "Convert metadata tables to camelCase (#2400 )"
This reverts commit 1cf08c797f
.
2023-11-10 11:48:44 +01:00
Weiko
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 20:06:10 +01:00
Charles Bochet
5622f42e7a
Fix table last column not being displayed ( #2417 )
2023-11-09 19:06:14 +01:00
Thaïs
b28ff9c97e
feat: add Url field preview in settings ( #2402 )
...
* feat: add Url field preview in settings
Closes #2326
* feat: add Date field type in settings (#2414 )
Closes #2331
2023-11-09 18:51:21 +01:00
bosiraphael
588091d3dd
2357 Refactor RecordTable to use the new scope architecture ( #2407 )
...
* create RecordTableScope
* use RecordTableScope
* working on useRecordTable hook
* add RecordTableScope to company-table
* add RecordTableScope to person-table
* add filter state and sort state
* add useSetRecordTableData to useRecordTable
* wip
* add setRecordTableData to useRecordTable
* update in RecordTableEffect
* fix bug
* getting rid of unnecessary context and hooks
* remove console.log
* wip
* fix bug by creating an init effect
* fix viewbar not in scope in company and people tables
* wip
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* modified according to comments
2023-11-09 17:45:58 +01:00
Thaïs
0d4949484c
feat: add Money field type in settings ( #2405 )
...
Closes #2346
2023-11-09 17:13:34 +01:00
Pallavi Varshney
c8eda61704
#2133 Add comments icon and count to Timeline card ( #2205 )
...
* fix
* #2133 added comments icon and count on notes tab
* reverted changes in people-filters.tsx
* added comment icon and count on timeline in People/Companies
* removed infra/dev/scripts/hashicorp.gpg
* added comment count and icon on timeline cards with seperate react component
* used isNonEmptyArray typeguard for array length check
* updated review feedback
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 16:34:54 +01:00
Kanav Arora
f26be4d837
2385-feat(front): icon button styles added ( #2411 )
...
* 2385-feat(front): icon button styles added
* 2385-feat(front): pr requested changes done
* Fix alignment
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 16:23:45 +01:00
Kanav Arora
279630052f
2294 feat(frontend): styling shortcut keys ( #2336 )
...
* 2294 feat(frontend): styling shortcut keys
* 2294 fix(front): pr requested changes
* Fix component interface
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 15:18:51 +01:00
Thaïs
aa09b5758c
feat: add Boolean field preview in settings ( #2399 )
...
Closes #2328
2023-11-09 12:20:30 +01:00
Weiko
0f7581acc3
Remove Tenant columns anonymisation ( #2404 )
...
* Remove Tenant columns anonymisation
* add tests
* use _ instead of custom_
* put _ on all custom fields
2023-11-09 12:19:33 +01:00
martmull
fe20be8487
0.2.0 cleaning script ( #2403 )
...
* Update cleaning script to run on old schema
* Add boundaries parameter
* Stop requesting data for each workspace/table
* Stop checking same as seed if not requested
* Minor update
* Minor update
* Minor update
* Minor update
* Minor update
* Simplify result
* Simplify result
* Simplify result
* Delete updates
* Fix issues
* Update logs
* Remove throw when schema does not exist
* Remove missing table in old schema
* Remove boundaries parameter
* Remove useless trycatch
2023-11-09 12:18:09 +01:00
Thaïs
28779f0fb8
feat: add Number field preview in settings ( #2397 )
...
Closes #2327
2023-11-09 08:30:37 +01:00