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
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
1f5492b4a7
feat: add Text field preview in settings ( #2389 )
...
Closes #2325
2023-11-09 08:25:46 +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
dda911fea7
Remove three old env variables ( #2297 )
...
* remove three old env variables IS_DATA_MODEL_SETTINGS_ENABLED IS_DEVELOPERS_SETTINGS_ENABLED FLEXIBLE_BACKEND_ENABLED
* Fix database:reset script
* Removing unused variable
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-31 13:15:24 +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
328c5cd184
test: add metadata object and field mocks ( #2266 )
2023-10-30 17:56:56 +01:00
685d342170
Migrate view field to new data model - Part 2 ( #2270 )
...
* Migrate view field to new data model
* Migrate view fields to new model
2023-10-28 19:13:48 +02:00
afd4b7c634
Fix Views on People page ( #2265 )
...
* fetching viewId for url
* fixed option menu name input
* fix table import
* fix unnecessary rerenders
* people working
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-27 18:20:58 +02:00
5ba68e997d
Improve viewbar api ( #2233 )
...
* create scopes
* fix import bug
* add useView hook
* wip
* wip
* currentViewId is now retrieved via useView
* working on sorts with useView
* refactor in progress
* refactor in progress
* refactor in progress
* refactor in progress
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix code
* fix code
* wip
* push
* Fix issue dependencies
* Fix resize
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-27 10:52:26 +02:00
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
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
5acafe2fc6
Chore(front): Add more typeguards ( #2136 )
...
* Chore(front): Add more typeguards
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Remove source map generation to avoid warnings
---------
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-24 09:26:47 +02:00
aaa8ec574d
#2133 added comments icon and count on notes tab ( #2186 )
...
* fix
* #2133 added comments icon and count on notes tab
* reverted changes in people-filters.tsx
2023-10-23 11:23:37 +02:00
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
2b8a81a05c
Created two new env variables ( #2120 )
...
* created the two env variables
* modify according to comments
2023-10-19 14:57:16 +02:00
258685467b
Refactor UI folder ( #2016 )
...
* Added Overview page
* Revised Getting Started page
* Minor revision
* Edited readme, minor modifications to docs
* Removed sweep.yaml, .devcontainer, .ergomake
* Moved security.md to .github, added contributing.md
* changes as per code review
* updated contributing.md
* fixed broken links & added missing links in doc, improved structure
* fixed link in wsl setup
* fixed server link, added https cloning in yarn-setup
* removed package-lock.json
* added doc card, admonitions
* removed underline from nav buttons
* refactoring modules/ui
* refactoring modules/ui
* Change folder case
* Fix theme location
* Fix case 2
* Fix storybook
---------
Co-authored-by: Nimra Ahmed <nimra1408@gmail.com >
Co-authored-by: Nimra Ahmed <50912134+nimraahmed@users.noreply.github.com >
2023-10-14 00:04:29 +02:00
41ae30cada
Chore(front): Add storybook tests on meta-types/input/components ( #1987 )
...
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Add storybook tests on meta-types/input/components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* modify props spread in stories
* Remove storybook-addon-mock
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-10-13 17:47:08 +02:00
612bd57d5b
Write Storybook tests for front/src/modules/ui/field/meta-types/display components ( #1932 )
...
* Write Storybook tests for front/src/modules/ui/field/meta-types/display components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* Write Storybook tests for front/src/modules/ui/field/meta-types/display components
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Write Storybook tests for front/src/modules/ui/field/meta-types/display components
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
* add EllipsisDisplay component
* add EllipsisDisplay component
* modified ComponentDecorator to pass a minWidth parameter to test ellipsis
* add ellipsis test to all components
* add ellipsis to links
* removed minWidth and set it to 'unset' if the width is not defined
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-10 12:39:19 +02:00
77a1840611
Chore(front): Create a custom eslint rule for Props naming ( #1904 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2023-10-09 16:31:13 +02:00
46dffeadef
Adding storybook tests on meta-types/display/components ( #1862 )
...
* working on a story for MoneyFieldDisplay
* Write test on MoneyDisplayField
2023-10-04 13:26:06 +02:00
aab2f3ab3c
Fix lint
2023-10-04 12:48:40 +02:00
b2bac0b217
Add a type on CatalogDecorator ( #1742 )
...
* Add a type on CatalogDecorator
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Type more catalogs
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
2023-09-28 11:44:55 +02:00
2dbce935ba
test: adds test to check if adding a new company or people works ( #1714 )
...
* test: adds test to check if adding a new company or people works
* test: improves people/add and companies/add tests
* style: cleanup
* style: cleanup
2023-09-28 11:17:25 +02:00
7ce03ffdd1
Refactor tests command menu ( #1702 )
...
* Fix tests
* Refactor tests command menu
* Improve tests
* Fix optimistic render breaking tests
2023-09-21 11:53:36 -07:00
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 18:41:10 -07:00
549335054a
Chore: Duplicate certain user fields to workspaceMember ( #1514 )
...
* Move certain user fields to workspaceMember
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update the generated GraphQL
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Update hooks
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Rework typing
* Fix tests
* Remove console logs
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 17:32:58 -07:00
0a7a0ac6cb
Refactor/context and scopes ( #1602 )
...
* Put onImport in a context
* Refactored RecoilScopeContexts
* Refactored naming
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-15 12:51:46 -07:00
84a27b148f
Feat/sidecar components ( #1578 )
...
* Added a new eslint plugin in TypeScript for Effect components
* Fixed edge cases
* Fixed lint
* Fix eslint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-14 17:04:45 -07:00
28e12d492c
feat: toggle board field visibilities ( #1547 )
...
Closes #1537 , Closes #1539
2023-09-13 11:58:52 +02:00
cd946019f1
Add a notification for "tasks" in the navigation ( #1489 )
...
* Add a notification for "tasks" in the navigation
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Add a notification for "tasks" in the navigation
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Fix icon import in TaskNavMenuItem
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Use object destructuring
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Rename dueTasks to dueTaskCount
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
* Complete Task notification display
* Fix lint
* Fix tests
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: chiazokam <chiazokamecheta@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-09-12 18:16:51 -07:00
88c6d0da2a
feat: add Opportunities Views dropdown ( #1503 )
...
* feat: add Opportunities Views dropdown
Closes #1454
* feat: persist Opportunities view filters and sorts
Closes #1456
* feat: create/edit/delete Opportunities views
Closes #1455 , Closes #1457
* fix: add missing Opportunities view mock
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-09-10 19:07:14 -07:00
0e6bd5c098
fix the tests ( #1491 )
...
* fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Update front/src/testing/graphqlMocks.ts
Co-authored-by: Thaïs <guigon.thais@gmail.com >
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thaïs <guigon.thais@gmail.com >
2023-09-07 22:41:19 +02:00
ae072b6ce5
refactor: index ViewField by viewId and key ( #1416 )
...
* refactor: index ViewField by viewId and key
Closes #1413
* refactor: rename ViewField properties
2023-09-04 10:55:03 +02:00
240edda25c
New MenuItem components ( #1389 )
...
* wip
* Finished
* Fix from review
* Fix lint
* Fixed toggle
2023-09-01 11:35:19 +02:00
8bb4071f09
feat: add page titles using React Helmet ( #1321 )
...
* feat: add page titles using React Helmet
* refactor: extract page title logic to separate component
* fix: resolve review comments
* fix: resolve testing errors
2023-08-28 18:49:04 +02:00
74919eff7a
refactor: add ColumnDefinition type ( #1357 )
...
* refactor: add ColumnDefinition type
Closes #1193
* refactor: code review - rename things
* fix: fix wrong import and lint
2023-08-28 18:33:03 +02:00
7e264565ef
Show Entity task/note tabs ( #1282 )
...
* - show task tab
- tab bar
* - add notes tab
* - fixed unused style
* - add button
- fixed company edit note test
* - fixed merge & dropdown
* - added Tests
- refactored directory structure activities
- moved Task/Note Pages to corresponding modules
- fixed TabList
* lint
2023-08-25 22:44:13 +02:00
f8e3dd3f6b
Fix tests
2023-08-25 22:12:41 +02:00
baf92d6d65
Chore: New standard fields on Companies ( #1276 )
...
* New standard fields on Companies
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* New standard fields on Companies
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add requested changes
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Make some fields hidden by default
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Add minor refactors
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-08-24 17:36:12 +02:00
aa1f9bcab3
removed unused files, unnecessary exports and renamed ownProps ( #1225 )
...
* remove unused files and rename ownProps
* restore unused icons
2023-08-15 17:02:02 -07:00
24e5132029
Moving queries into dedicated files ( #1210 )
...
* Moving queries into dedicated files
* fix ci
2023-08-14 19:31:20 -07:00
7d900ad1c6
Reorganize context/states/selectors in dedicated folders ( #1205 )
...
* Reorganize context/states/selectors in dedicated folders
* linter
2023-08-14 15:08:47 -07:00
35ea6b5a2f
Remove activityType and Id ( #1179 )
...
* Remove activityType and Id
* Fix tests
* Fix tests
2023-08-11 17:31:54 -07:00
4eb4d1488c
Use FieldDefinition for company show page ( #1171 )
...
* Use FieldDefinition for company show page
* removing console.log
* fix conflicts
* fix address placeholder + company show page field definition ordering
* fix story
* add replacePlaceholder
* use AppPath enum in stories
* add routeParams
* fix people input story
2023-08-11 14:31:52 -07:00