74b077f3ca
Feat/error boundaries ( #2779 )
...
* - Changed to objectNameSingular always defined
- Added ErrorCatchAll
* - Added mock mode for companies logged out
- Added a proper ErrorBoundary component
* Removed react-error-boundary
* Implemented proper ErrorBoundary
* Fixes
* Change strategy about mocks
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-01 22:06:38 +01:00
c2131a29b8
Renaming "Experience" to "Appearance" ( #2776 )
...
* refining settings
* Delete .idea/workspace.xml
* Update .gitignore
2023-11-30 14:41:03 +01:00
04c7c1a334
Feature flags seeds, queries and hooks ( #2769 )
...
* seed is working
* allow graphql to retrieve feature flag data
* create useIsFeatureEnabled hook
* hook is working
* Update icons.ts
2023-11-29 16:40:44 +01:00
d855a42eca
Fix/object record and metadata naming ( #2763 )
...
* Fixed object-record and object-metadata naming
* Fix post merge
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-29 13:45:57 +01:00
34a3197fee
feat: set Select field option as default option ( #2725 )
...
Closes #2591
2023-11-29 12:19:56 +01:00
bc787f72ba
feat: add Select field preview and form ( #2655 )
...
Closes #2432
2023-11-28 23:44:21 +01:00
ade41c916d
2422 refactor scope components to improve dev experience ( #2736 )
...
* move scope inside record table
* fix imports
* update mock
* recordTable scope done
* RecordTable done
* fix board
* fix typo
* wip
* filter is working
* sort is working
* Tasks working
* Fix according to PR
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-28 18:24:18 +01:00
9648b13703
Fix Frontend pages tests ( #2719 )
...
* Fix Frontend pages tests
Co-authored-by: gitstart-twenty <twenty@gitstart.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
* Add SnackBarDecorator
Co-authored-by: gitstart-twenty <twenty@gitstart.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
* Fix more tests
Co-authored-by: gitstart-twenty <twenty@gitstart.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
* Fix more tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: gitstart-twenty <twenty@gitstart.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2023-11-27 11:07:16 +01:00
f0e20b06df
Added table record mock mode with companies ( #2715 )
...
* wip
* Removed console.log
* Refactor mocks into multiple files
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-25 19:50:50 +01:00
135733288d
feat: display error snackbars for Object and Field creation/edition ( #2708 )
2023-11-24 18:24:19 +01:00
148fe05e26
Fix person activity creation broken
2023-11-24 18:13:54 +01:00
0c56989cb1
Disable activities creation for custom objects
2023-11-24 17:34:21 +01:00
cc526517b3
Add viewField creation to fieldMetadata creation service ( #2685 )
...
* Add viewField creation to fieldMetadata creation service
* fix reduce with no initial value
2023-11-24 10:02:37 +01:00
1e181c9d2a
feat: restrict field types in field creation form ( #2680 )
2023-11-23 16:49:15 +01:00
ec3cfe6fdb
Add back pickers on all pages, fix command menu ( #2662 )
...
* Add back pickers on all pages, fix command menu
* Fix lint
2023-11-22 22:32:25 +01:00
41c0cebf48
Fix Filter search dynamic objectMetadataName ( #2659 )
2023-11-22 19:22:14 +01:00
7954a2b6c2
fix-dropdown-sort-icons ( #2656 )
2023-11-22 18:49:25 +01:00
13d31072a7
2358 refactor entityboard to recordboard ( #2652 )
...
* renaming
* wip
* merge BoardColumn and RecordBoardColumn
* merge files
* remove unnecessary export
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-22 17:31:56 +01:00
8f12aea64a
Enrich filters with all types ( #2653 )
2023-11-22 17:23:10 +01:00
0af4be0d24
fix: hide UUID from field type options in field creation form ( #2645 )
...
Fixes #2644
2023-11-22 15:22:54 +01:00
532e4342ec
fix: fix viewing date fields detail pages ( #2641 )
...
Fixes #2640
2023-11-22 14:32:36 +01:00
a6abe09163
Move Impersonate from User to Workspace ( #2630 )
...
* Fix impersonate
* align core typeorm config with metadata config + add allowImpersonation to workspace
* move allowImpersonation to workspace
* remove allowImpersonation from workspaceMember workspace table
2023-11-22 14:12:39 +01:00
10febd9aeb
Improve Board performances ( #2626 )
...
Improve app performances
2023-11-22 09:58:49 +01:00
ee8f6899fc
chore(front): Refactor the SnackBar component to use the new scope architecture ( #2578 )
...
* chore(front): Refactor the SnackBar component to use the new scope architecture
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Rename useSnackBarManager
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-21 23:42:38 +01:00
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