Commit Graph

1564 Commits

Author SHA1 Message Date
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
f97d25d986 Introduce a RelationPicker component with a RelationPickerScope (#2617)
Refactor mainIdentifier into scope componetn
2023-11-21 16:09:02 +01:00
d25f00e04f Fix avatar placeholder not displayed (#2611) 2023-11-21 12:39:40 +01:00
b13d84fcda Fix/company team crud (#2614)
* Fixed basePathToShowPage

* Fixed company team list

* Fixed : create, update, delete and detach people from company.
2023-11-21 12:24:20 +01:00
6f4a952381 Add [from/to]Description to CreateRelationInput (#2613) 2023-11-21 11:38:27 +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
1e79d4351e fix: fix Relation field preview (#2605)
Fixes #2586
2023-11-21 00:14:16 +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
9516e69522 Fix navbar active marker (#2588)
- fix navbar active marker
2023-11-20 15:36:35 +01:00
b6665f880d Refactor types to remove unused types and add FullNameFieldInput (#2590) 2023-11-20 13:40:22 +01:00
eb64baa62e Fix api Keys (#2583) 2023-11-20 10:57:08 +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
18ee95179e vale cleanup (#2579)
* vale cleanup

* added --config flag to vale

* added --config flag to vale

* added --config flag to vale

* added --config flag to vale

* testing vale
2023-11-20 10:00:33 +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
fea0bbeb2a feat: add EnumFieldDisplay and Enum field preview (#2487)
Closes #2428

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:15:35 +01:00
e72917c69c Fix issues post merge 2023-11-17 22:59:10 +01:00
a8b6edd4a8 chore(server): Migrate workspace (#2530)
* Migrate workspace

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Migrate workspace

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Migrate workspace to TypeORM

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Migrate workspace to TypeORM

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
2023-11-17 22:41:46 +01:00
ec4f07eab2 Changed the font-weight to regular (Issue #2500) (#2550)
fix🐛 changed the font-weight to regular (Issue #2500)
2023-11-17 22:39:29 +01:00
18846885cd Icon picker gap & hover color (#2522)
- icon picker gap & hover color
2023-11-17 22:35:07 +01:00
aa2596c572 Update Seeds while pre-fi
lling a new workspace
2023-11-17 21:54:32 +01:00
e90beef91f feat: add useCreateOneRelationMetadata and useRelationMetadata (#2559)
Closes #2423
2023-11-17 19:15:15 +01:00
1deb742ac9 Add deleteOneRelation resolver (#2569) 2023-11-17 19:13:42 +01:00
ed71ef67af Add Name defaultColumn for custom objects (#2568) 2023-11-17 19:13:07 +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
f62108d539 Add missing default values (#2567)
* add missing default values

* add missing default values
2023-11-17 19:11:25 +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
4870b0ac30 Add fullName field metadata type (#2563)
* Add fullName field metadata type

* update seeds
2023-11-17 16:52:51 +01:00
f58e4263bc Fix favorite seeds and prefill 2023-11-17 16:44:26 +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
becd7c2ece Fix implicit index provided in mapping function (#2558) 2023-11-17 14:51:22 +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
e19e7a816f Update seeds to take currency and link type into account 2023-11-17 12:01:56 +01:00
454f893eea Fix objectMetadataId to objectRecordId incorrect naming (#2554)
Fix wrong var name
2023-11-17 11:26:45 +01:00
b86ada6d2b feat: rename tenant into workspace (#2553)
* feat: rename tenant into workspace

* fix: missing some files and reset not working

* fix: wrong import

* Use link in company seeds

* Use link in company seeds

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 11:26:33 +01:00
bc579d64a6 Rename Money/Url to Currency/Link and remove snake_case from composite fields (#2536)
* Rename Money/Url to Currency/Link

* regenerate front types

* renaming money/url field types

* fix double text

* fix tests

* fix server tests

* fix generate-target-column-map

* fix currency convert

* fix: tests

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-17 10:31:17 +01:00
31e439681c Fix main post merge 2023-11-17 09:45:48 +01:00
e9827486c0 feat: add default value capability (#2544)
* feat: add default value capability

* feat: update seeds with default value
2023-11-16 18:25:11 +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
31adb24ffd Fix main post merge 2023-11-16 17:23:05 +01:00
dee38bb901 Migrate activities (#2545)
* Start

* Migrate activities to flexible schema
2023-11-16 17:10:22 +01:00
7da18a13e8 Feat/filter available field definition v2 (#2547)
* Added react-dev-inspector

* Add field relation type parsing and filter available fields for record table and show page

* Revert "Added react-dev-inspector"

This reverts commit 7a78964c2c3996ce2e27f6f8d0c0b5e1f3283e17.
2023-11-16 17:09:50 +01:00