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
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
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
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
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
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
Thaïs
1f5492b4a7
feat: add Text field preview in settings ( #2389 )
...
Closes #2325
2023-11-09 08:25:46 +01:00
Jérémy M
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
bosiraphael
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
Thaïs
328c5cd184
test: add metadata object and field mocks ( #2266 )
2023-10-30 17:56:56 +01:00
martmull
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
Thaïs
3fc1b74d9c
feat: navigate to Object Detail page after custom object creation ( #2277 )
...
Closes #2276
2023-10-30 13:33:29 +01:00
Charles Bochet
d38497c46a
Refactor ObjectDataTable to work with new views system ( #2274 )
...
Complete work
2023-10-29 23:50:59 +01:00
martmull
35237c05f3
Fix cache management ( #2264 )
2023-10-27 18:20:11 +02:00
Thaïs
e488a87ce4
feat: save edited custom field ( #2245 )
...
Closes #2161
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-27 18:06:31 +02:00
Thaïs
40c5f72080
feat: save activated/disabled fields in New Field - Step 1 page ( #2226 )
...
* feat: save activated/disabled fields in New Field - Step 1 page
Closes #2170
* fix: fix objectSlug
* Console.log
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-27 17:59:57 +02:00
Thaïs
3c6ce75606
feat: activate standard objects in New Object page ( #2232 )
...
* feat: activate standard objects in New Object page
Closes #2010 , Closes #2173
* Pagination limit = 1000
* Various fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-10-27 15:46:29 +02:00
Thaïs
d7b0c1190a
feat: add Object Field Edit page sections ( #2243 )
...
Closes #2160 , Closes #2163
2023-10-27 12:13:01 +02:00
Thaïs
3d5ee6d7ca
feat: remove disabled custom objects ( #2247 )
...
Closes #2147
2023-10-27 11:08:02 +02:00
Thaïs
00dd046798
feat: create custom object field ( #2225 )
...
Closes #2171
2023-10-26 11:34:26 +02:00
martmull
fc4075b372
2062 view edit an api key ( #2231 )
...
* Add query to get api keys
* Add a link to apiKey detail page
* Reset generatedApiKey when leaving page
* Simplify stuff
* Regenerate key when clicking on button
* Simplify
* Fix test
* Refetch apiKeys when delete or create one
* Add test for utils
* Create utils function
* Enable null expiration dates
* Update formatExpiration
* Fix display
* Fix noteCard
* Fix errors
* Fix reset
* Fix display
* Fix renaming
* Fix tests
* Fix ci
* Fix mocked data
* Fix test
* Update coverage requiremeents
* Rename folder
* Code review returns
* Symplify sht code
2023-10-26 11:32:44 +02:00
Thaïs
2b1945a3e1
feat: create custom object and update edited object names ( #2220 )
...
Closes #2155 , Closes #2153
2023-10-26 11:04:16 +02:00
Kanav Arora
0b33880cc9
feat(frontend): Object Field Edit page created ( #2218 )
...
* feat(frontend): Object Field Edit page created
* fix(frontend): PR requested changes done
2023-10-24 18:13:22 +02:00
Charles Bochet
48c9ea855a
Improve tests
2023-10-24 17:14:07 +02:00
martmull
d61511262e
2060 create a new api key ( #2206 )
...
* Add folder for api settings
* Init create api key page
* Update create api key page
* Implement api call to create apiKey
* Add create api key mutation
* Get id when creating apiKey
* Display created Api Key
* Add delete api key button
* Remove button from InputText
* Update stuff
* Add test for ApiDetail
* Fix type
* Use recoil instead of router state
* Remane route paths
* Remove online return
* Move and test date util
* Remove useless Component
* Rename ApiKeys paths
* Rename ApiKeys files
* Add input text info testing
* Rename hooks to webhooks
* Remove console error
* Add tests to reach minimum coverage
2023-10-24 16:14:54 +02:00
Thaïs
7a3338b4de
feat: save edited custom object ( #2204 )
...
Closes #2153
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-10-24 08:33:35 +02:00
Thaïs
291feae595
feat: activate, disable and erase fields in Object Detail ( #2200 )
...
* feat: activate and disable objects
Closes #2144 , Closes #2148 , Closes #2154
* feat: activate, disable and erase fields in Object Detail
Closes #2158
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-10-24 08:30:13 +02:00
Thaïs
26e8cd76be
feat: activate and disable objects ( #2194 )
...
Closes #2144 , Closes #2148 , Closes #2154
2023-10-24 08:07:00 +02:00
Charles Bochet
1954ed5e3a
Add tests and raise coverage on pages ( #2180 )
...
* Add tests and raise coverage on pages
* Fix lint
2023-10-21 20:09:08 +02:00
Thaïs
34bbbdff41
feat: add New Field Step 2 form ( #2138 )
...
Closes #2001
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-21 13:28:15 +02:00
Thaïs
2f0da64e1b
feat: get object metadata from backend in Object Edit ( #2125 )
...
Closes #2009
2023-10-19 17:14:29 +02:00
Thaïs
f35ea19f4d
feat: get object metadata from backend in Object Detail and New Field… ( #2122 )
...
* feat: get object metadata from backend in Object Detail and New Field - Step 1
Closes #2008
* refactor: add useLazyLoadIcon hook
2023-10-19 16:58:18 +02:00
Thaïs
514692ca1f
feat: get active and disabled objects from backend in Objects Setting… ( #2119 )
...
* feat: get active and disabled objects from backend in Objects Settings page
Closes #2005
* refactor: add useObjectMetadata hook
2023-10-19 15:47:31 +02:00
bosiraphael
44099cf8fd
1801 objects settings add activate option to disabled menu ( #2104 )
...
* wip creating dropdown
* wip styling the dropdown
* wip
* Fix wrong gap in MenuItems
* add handleActivate and handleErase functions
* remove unused styled component
* add story
* modified according to comment
2023-10-18 18:21:03 +02:00
Thaïs
3971454190
feat: add New Object Custom form ( #2105 )
...
* feat: add New Object Custom form
Closes #1808
* fix: fix lint error
2023-10-18 18:12:46 +02:00
bosiraphael
f95c9d3df8
1761 objects settings add a cover image ( #2096 )
...
* add image
* overflow hidden
* add close button
* add animation to cover image
* use cookie to store user preference
* refactor to have a reusable component called AnimatedFadeOut
* corrected close button position
* modified according to comments
2023-10-18 13:02:44 +02:00
Kanav Arora
6e90554ae7
feat(frontend): New Object Field Step 2 Added Cancel Save Button ( #2092 )
2023-10-17 21:11:34 +02:00
Abhishek Thory
462a5a6738
danger zone section added in object edit page ( #2093 )
2023-10-17 21:10:47 +02:00
Thaïs
8894c52202
feat: add Object Edit form ( #2090 )
...
Closes #1910
2023-10-17 21:03:59 +02:00
Saba Shavidze
1549664416
feat: created new Developers Page in Settings ( #2071 )
...
* feat: created new Developers Page in Settings
* update styled according to the updated design
* update styled according to the updated design
* remove unused color import from TableCell component
* update pl based on comments
* update pl based on comments
* update pl based on comments
* update pl based on comments
* update pl based on comments
* update pl based on comments
* update pl based on comments
2023-10-17 17:28:18 +02:00
bosiraphael
d19011f882
Use SaveAndCancelButtons in SettingsObjectNewFieldStep1 ( #2088 )
...
* Use SaveAndCancelButtons in SettingsObjectNewFieldStep1
* refactor to introduce SettingsHeaderContainer
2023-10-17 16:32:21 +02:00
bosiraphael
0d6386bc8d
1809 new object add cancel and save buttons ( #2081 )
...
* create save and cancel buttons and their stories
* add SaveAndCancelButtons to the New Object page
* add onSave and onCancel
* modified according to comments
2023-10-17 14:55:41 +02:00
Thaïs
8a64903933
feat: add active/disabled fields table to New Field - Step 1 page ( #2069 )
...
Closes #1785
2023-10-16 18:16:25 +02:00
bosiraphael
3dae11b6e4
Create page Object Field Step 2 ( #2068 )
...
* create page
* change runs-on param
2023-10-16 18:02:39 +02:00
bosiraphael
e147e7aebb
1997 new object field step 1 create page ( #2054 )
...
* add ObjectNewField page
* add story
* refactored to include step1
* replaced step1 by step-1 and fix onCLick behavior
* refactor stories
* refactoring in progress
* refactor SettingsPageContainer
* refactor SettingsPageContainer
2023-10-16 17:11:09 +02:00
Charles Bochet
b128d53b58
Refactor settings > data model section ( #2031 )
2023-10-15 19:00:07 +02:00
apurvagurme
e9d0c8a928
feat: add about block in object detail page ( #2028 )
2023-10-15 18:08:16 +02:00
Kanav Arora
9c855ff8b5
feat: New Object - Add Object type section #1918 ( #1985 )
...
* feat: New Object - Add Object type section #1918
* fix: dark mode border color
* feat: New Object - Add Object type section #1918
* fix: dark mode border color
* Requested changes in the PR
* fix(new object): requested changes in the PR
* fix(1985): border color
2023-10-15 17:48:27 +02:00