Commit Graph
42 Commits
Author SHA1 Message Date
Weiko 3851e0f992 Fix missing patches folder to deploy server (#1771)
* Fix missing patches folder to deploy server

* Fix missing patches folder to deploy server

* remove extra line

* add fix for twenty-dev
2023-09-29 15:41:09 +02:00
Weiko 189bf4a627 Feature: add createCustomField resolver (#1698)
* Feature: add createCustomField resolver

* update mocks

* fix import

* invalidate workspace datasource cache after migration

* fix typo
2023-09-21 12:59:11 -07:00
WeikoandCharles Bochet 19365f6639 Add metadata migration setup (#1674)
* Add metadata migration setup

* add migration generator

* fix missing 'mocks'

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:27:07 -07:00
Weiko ec90c77ec1 Refactor tenant ORM integration (#1650)
* Refactor tenant ORM integration

* fix tests
2023-09-19 17:58:28 +02:00
Weiko 6462505a86 Fix CI: remove import for metadata POC (#1577)
Fix CI: remote import for metadata POC
2023-09-14 12:03:20 -07:00
Weiko d98ddc3dbe multi tenant schemas poc (#1569)
* Multi-tenant db schemas POC

* fix tests and use query builders

* remove synchronize

* restore updatedAt

* remove unnecessary import

* use queryRunner

* fix camelcase

* add migrations for standard objects

* Multi-tenant db schemas POC

* fix tests and use query builders

* remove synchronize

* restore updatedAt

* remove unnecessary import

* use queryRunner

* fix camelcase

* add migrations for standard objects

* add metadata

* add comments

* remove migrations for now

* do not allow connection to public schema for non-remote workspace connection

* rename getLastDataSourceMetadataFromWorkspaceIdOrFail

* remove schema creation

* remove module import
2023-09-14 14:39:37 +02:00
corentin 27bb3a8126 switch back editable field hover from lighter to light 2023-08-28 12:03:07 +02:00
Weiko ab9d7ddf7e Fix tasks page (#1325)
* Fix tasks page

* remove console log

* use to-do instead
2023-08-28 11:57:00 +02:00
Weiko 0e5dcd7037 Fix confirmation modal style (#1310) 2023-08-25 21:26:27 +02:00
Weiko 8a3a176571 Add idealCustomerProfile to company show page (#1312)
* Add idealCustomerProfile to company show page

* remove editMode

* add xUrl
2023-08-25 21:11:43 +02:00
Weiko f520a00909 Remove danger text from completed passed tasks (#1309) 2023-08-25 18:05:35 +02:00
Weiko edff69b2f6 Add hotkeys to modals (#1305)
* Add hotkeys to modals

* fix

* fix

* remove unnecessary type

* restore type

* add handleEnter

* rename event props
2023-08-25 13:59:04 +02:00
corentin 75207b093b fix missing property in companies optimistic response 2023-08-24 18:10:07 +02:00
Weiko 00f1d2b739 Fix color scheme update (#1298)
* Fix color scheme update

* remove as

* fix
2023-08-24 16:34:46 +02:00
corentin 6c418a63bc move canPersistFiltersScopedState & canPersistSortsScopedState to selectors folder 2023-08-24 16:01:41 +02:00
WeikoandCharles Bochet 10b68618d3 New behavior for editable fields (#1300)
* New behavior for editable fields

* fix

* fix

* fix coverage

* Add tests on NotFound

* fix

* fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-24 15:56:43 +02:00
Weiko 76246ec880 Fix confirmation modal size (#1295) 2023-08-23 15:38:37 +02:00
Weiko 22dbe21bcd Add Empty as value of empty fields inputs #1042 (#1243)
* Add Empty as value of empty fields inputs #1042

* rebase
2023-08-22 16:46:15 +02:00
Weiko 9b34a0ff3d Add styled component rule (#1261)
* Add StyledComponent rule

* update doc

* update doc

* update doc
2023-08-17 20:58:02 -07:00
corentin f4accc66fa use ci-8-cores 2023-08-17 12:25:44 -07:00
Weiko 0cab6a11d2 Set 3 workers for storybook coverage (#1255)
* Set 3 workers for storybook coverage

* fix

* fix

* fix

* change ubuntu-latest to ci-4-cores

* fix
2023-08-17 12:00:45 -07:00
Weiko 1e277ba950 Fix Chip font-weight (#1242)
* Fix Chip font-weight

* fix ===
2023-08-16 16:28:16 -07:00
Weiko 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
Weiko c9549c3833 [docs] add folder architecture doc (#1221)
* [docs] add folder architecture doc

* update

* add internal

* improve doc
2023-08-15 15:15:07 -07:00
Weiko 24e5132029 Moving queries into dedicated files (#1210)
* Moving queries into dedicated files

* fix ci
2023-08-14 19:31:20 -07:00
WeikoandCharles Bochet 239d036813 Upgrade /front version and display the version in settings navbar (#1207)
* Upgrade /front version and display the version in settings navbar

* fix

* fix version

* restore center

* add icon

* Fix styled components

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-08-14 17:40:10 -07:00
Weiko 43b0945028 Reorganize context/states/selectors in dedicated folders (#1205)
* Reorganize context/states/selectors in dedicated folders

* linter
2023-08-14 15:29:47 -07:00
Weiko 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
Weiko bf09a4d6a2 Improve editable field performances (#1182)
* [EditableField] improve performances

* remove FieldHotkeyScopeContext.ts
2023-08-12 17:27:02 -07:00
Weiko a30222fe76 [PersonShow] use fieldDefinition for editable fields (#1178)
* [PersonShow] use fieldDefinition for editable fields

* remove unused files

* fix company chip display field
2023-08-12 01:36:38 +02:00
Weiko 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
Weiko 4288cef096 refactoring editableFieldContext to match with table implementation (#1164) 2023-08-10 12:26:05 -07:00
Weiko 07a8f68ef1 Add FieldDefinition (#1162)
* add fieldDefinition

* update naming

* use a unique contextProvider for editable fields

* remove EntityUpdateMutationHookContext.Provider usage in CompanyBoardCard

* add fieldDefinitionState

* remove unnecessary refetchQueries to avoid re-render

* add FieldMetadata

* add type guards and update useUpdateGenericEntityField

* restore refetchQueries
2023-08-10 11:26:27 -07:00
Weiko a2891e50e6 [opportunities] fix poc being removed after pipeline update (#1148) 2023-08-10 02:52:36 +02:00
Weiko cd831af53d Use dedicated EditableFieldEntityIdContext for editable fields instead of CardIds (#1145)
* Use dedicated EntityIdContext for editable fields instead of CardIds

* update context name

* remove unused hook
2023-08-10 01:32:28 +02:00
Weiko 702b6e5154 fix update pipelineProgress with 0 probability (#1144) 2023-08-09 20:01:44 +02:00
Weiko 35395c2e67 [Tasks] Removing task list empty state (#1090)
* [Tasks] Removing task list empty state

* separate no-tasks story in a different file to handle cache issues
2023-08-05 15:05:40 -07:00
Weiko 5166859f80 [Opportunities] fix overlapping borders (#1091)
* [Opportunities] fix overlapping borders

* remove margin on SortAndFilterBar

* add margin-right to StyledBoard
2023-08-05 12:22:52 -07:00
Weiko 04297b0556 Add viewFields delete in Workspace delete resolver (#1082) 2023-08-04 15:23:56 -07:00
Weiko 0d16053c31 [tasks] add empty state and new task button (#1072)
* [tasks] add empty state

* add refetch + use spacing for padding

* create task auto assigned with dueAt as today

* add unscheduled tasks section

* remove unnecessary assigneeId fetching

* remove unnecessary refetchQueries

* add refetch for delete task

* rename createCommentMutation to deleteActivityMutation in activityActionBar
2023-08-04 11:04:06 -07:00
Weiko 11e7266f8a [FilterDropdownEntitySearchSelect] add missing displayAvatarUrl (#1071)
* [FilterDropdownEntitySearchSelect] add missing displayAvatarUrl

* add missing avatarUrl in activities

* remove console.log
2023-08-03 19:27:04 -07:00
Weiko 43f20ebf74 [PeoplePicker] fix missing avatar in user search dropdown (#1069) 2023-08-03 16:38:09 -07:00