ad8331aa89
Board V2 - Part 1 ( #2619 )
...
* improve useComputeDefinitionsFromFieldMetadata to prevent infinit loops
* fix viewFields
* improve initial seeding
* fix height 100%
* fix filters and sorts
* allow filter on currency
* remove probability from filter
* fix opportunities count
* fix persist filters and sorts
2023-11-21 18:01:30 +01:00
9912f7a336
feat: disable Standard field edition in Relation field form ( #2604 )
...
* feat: disable Standard field edition in Relation field form
Closes #2584
* refactor: code review
2023-11-21 16:33:07 +01:00
0f4796bd1a
feat: improve Relation field type tag ( #2606 )
...
* feat: improve Relation field type tag
Closes #2359
* refactor: code review - rename dataTypes to settingsFieldMetadataTypes
* refactor: code review - style Icon with styled
2023-11-21 16:23:35 +01:00
09533e286b
Fix/opportunities board ( #2610 )
...
* WIP
* wip
* update pipelineStepId
* rename pipeline stage to pipeline step
* rename pipelineProgress to Opportunity
* fix UUID type not queried
* fix boardColumnTotal
* fix micros
* fixing filters, sorts and fields
* wip
* wip
* Fix opportunity board re-render
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-11-21 01:24:25 +01:00
a33d4c8b8d
Rename DATE to DATETIME ( #2576 )
...
* Rename DATE to DATETIME
* rename DATE to DATE_TIME
* fix server tests
* rename date to datetime
* rename date to datetime
2023-11-21 00:16:42 +01:00
b3c1723638
fix: hide Select field type + display Relation field type only for ed… ( #2603 )
...
fix: hide Select field type + display Relation field type only for edition
Fixes #2585
2023-11-21 00:14:58 +01:00
0ace17df82
Fix linter and remove console logs
2023-11-20 16:54:51 +01:00
189586830e
Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems ( #2600 )
...
* Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems to rely on a recoil family selector
* Removed console.log
* Cleaned
* Removed unused hook
* Fixed seeds
2023-11-20 16:34:06 +01:00
3ad30a0498
fix: not able to filter by nullable values ( #2580 )
...
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-20 15:46:20 +01:00
25950ab82a
Introduce main identifier to power RelationFieldDisplay ( #2577 )
...
* Introduce main identifier to power RelationFieldDisplay, FilterDrodown, TableFirstColumn
* Apply to RelationPicker
2023-11-20 10:33:36 +01:00
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers ( #2574 )
...
* Some cleaning
* Fix seeds
* Fix all sign in, sign up flow and apiKey optimistic rendering
* Fix
2023-11-19 18:25:47 +01:00
18dac1a2b6
feat: add Relation field form ( #2572 )
...
* feat: add useCreateOneRelationMetadata and useRelationMetadata
Closes #2423
* feat: add Relation field form
Closes #2003
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-17 23:38:39 +01:00
e72917c69c
Fix issues post merge
2023-11-17 22:59:10 +01:00
aa2596c572
Update Seeds while pre-fi
...
lling a new workspace
2023-11-17 21:54:32 +01:00
d481da183f
V2 opportunities ( #2565 )
...
* changed isSystem to false
* wip
* wip
* wip
* add amount viewfield seed
* seed other viewFields
* upate tenant seeds
* Remove calls to old pipelines
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-17 19:12:22 +01:00
50d6ab52d7
Fix favorites add/remove from table context menu ( #2571 )
...
* Fix favorites add/remove from table context menu
* Fixed console.log
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-17 19:10:33 +01:00
900c863f02
Improvements for migrations ( #2573 )
...
* Fix optimistic effects
* Fix merge issue
2023-11-17 19:09:46 +01:00
baf1260443
Fix Activities and Tasks modules ( #2561 )
...
* Fix activities
* Fix Timeline
* Refactor useCreateOne and useUpdateOne records
* Fix seeds
2023-11-17 16:24:58 +01:00
a6d8cdb116
Fix context menu and favorites ( #2564 )
2023-11-17 16:24:43 +01:00
dea1555031
Improvements for migrations ( #2556 )
...
* Fix wrong var name
* Add is null is not null filtering on dates
* Simplify
2023-11-17 14:20:33 +01:00
31e439681c
Fix main post merge
2023-11-17 09:45:48 +01:00
e8a1d0d6d5
Remove api keys from old world ( #2548 )
...
* Use apiKeyV2 for getApiKeys
* Use apiKeyV2 for createApiKey
* Use apiKeyV2 for getApiKey
* Use apiKeyV2 to deleteapikey
* Filter null revokedAt -> not working
* Use apiKeyV2 to regenerate
* Fix default values injected
* Remove useless stuff
* Fix type
2023-11-16 18:14:04 +01:00
dee38bb901
Migrate activities ( #2545 )
...
* Start
* Migrate activities to flexible schema
2023-11-16 17:10:22 +01:00
0ae9373532
V2 onboarding ( #2543 )
...
* fix cannot query avatarUrl
* create workspace working
* fix bugs related to refetch queries
* onboarding working
* updated dependency array
* improve error handling
* update types, remove as any, remove console logs
* small fix
2023-11-16 17:09:10 +01:00
e026b2b6e9
feat: expose foreign key ( #2505 )
...
* fix: typo
* feat: expose foreign key
* fix: foreign key exposition
* fix: be able to filter by foreign key
* feat: add `isSystem` on field metadata
* feat: update all seeds
* fix: seed issues
* fix: sync metadata generated files
* fix: squash metadata migrations
* Fix conflicts
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-16 12:30:40 +01:00
66051fa077
Fix api keys ( #2513 )
2023-11-15 16:57:05 +01:00
1fc3124d1e
Update favorites query and state to work with new backend ( #2520 )
...
* wip
* wip
* adding favorite works in the database
* favorites are showing in the left drawer
* update favoorite NavItem link
* wip
* adding favorite works
* everything seems to work
* fix delete bug
* fix update favorite position
* update Favorite type
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-15 16:17:50 +01:00
f49ddec2f6
Fix optimistic effect breaking build
2023-11-15 15:57:43 +01:00
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
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
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
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
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
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
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
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
1f5492b4a7
feat: add Text field preview in settings ( #2389 )
...
Closes #2325
2023-11-09 08:25:46 +01:00
88ca846f83
Rename InlineCell to RecordInlineCell ( #2377 )
...
rename inline cell
2023-11-06 17:18:25 +01:00
bb8cddddc4
Fix chromatic build
2023-11-04 13:42:59 +01:00
d17978777e
Fix chromatic build
2023-11-04 10:35:45 +01:00
53072298bc
Feat/improve new views ( #2298 )
...
* POC new recoil injected scoped states
* Finished useViewScopedState refactor
* Finished refactor
* Renamed mappers
* Fixed update view fields bug
* Post merge
* Complete refactor
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-04 09:28:55 +01:00
1ed4965a95
feat: refactor schema builder and resolver builder ( #2215 )
...
* feat: wip refactor schema builder
* feat: wip store types and first queries generation
* feat: refactor schema-builder and resolver-builder
* fix: clean & small type fix
* fix: avoid breaking change
* fix: remove util from pg-graphql classes
* fix: required default fields
* Refactor frontend accordingly
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-03 17:16:37 +01:00
e053fba089
fix: fix Modules Storybook tests ( #2339 )
...
Fixes #2310
2023-11-03 15:01:42 +01:00
56a5f99108
fix: fix Pages Storybook tests ( #2305 )
...
* fix: fix Companies pages tests
* fix: fix People pages tests
* fix: fix Opportunities page tests
2023-11-03 14:25:36 +01:00
a2e84db049
2282 Rename components to use the new naming convention part 3 ( #2296 )
...
part 3 of the renaming
2023-10-31 12:38:53 +01:00
adeaa35e8d
2282 Rename components to use the new naming convention part 2 ( #2295 )
...
renaming part 2
2023-10-31 12:32:16 +01:00
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +01:00
328c5cd184
test: add metadata object and field mocks ( #2266 )
2023-10-30 17:56:56 +01:00
236742e88c
Fix api keys refresh ( #2283 )
...
* Move code to dedicated function
* Format cached data with proper typename
2023-10-30 17:48:34 +01:00
3fc1b74d9c
feat: navigate to Object Detail page after custom object creation ( #2277 )
...
Closes #2276
2023-10-30 13:33:29 +01:00