martmull
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
Charles Bochet
31adb24ffd
Fix main post merge
2023-11-16 17:23:05 +01:00
Charles Bochet
dee38bb901
Migrate activities ( #2545 )
...
* Start
* Migrate activities to flexible schema
2023-11-16 17:10:22 +01:00
Lucas Bordeau
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 7a78964c2c
.
2023-11-16 17:09:50 +01:00
bosiraphael
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
Félix Malfait
b1b6bbe7d3
Increase spreadsheet import limit ( #2539 )
...
* Initialize web application via create-cloudflare CLI
Details:
C3 = create-cloudflare@2.6.2
project name = twenty-blog
framework = next
framework cli = create-next-app@13.4.19
package manager = npm@9.5.0
wrangler = wrangler@3.15.0
git = 2.39.2 (Apple Git-143)
* Increase CSV Import limit
* Revert "Initialize web application via create-cloudflare CLI"
This reverts commit 6a09759372
.
2023-11-16 15:27:53 +01:00
Lucas Bordeau
4acb7f41e1
Fix/company picker v2 ( #2535 )
...
Fixed company picker V2
Fixed picker search hook filters / where clause
Fixed OrderBy / SortOrder type
Fixed set relation to null
2023-11-16 12:34:23 +01:00
Jérémy M
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
brendanlaschke
e5caa7a5df
Eslint prevent duplicate import ( #2516 )
...
- eslint: prevent duplicate import
2023-11-16 12:26:43 +01:00
bosiraphael
bee986749d
2472 v2 settings workspace module ( #2532 )
...
* update findOneWorkspaceMember
* profile picture upload is working
* first name and last name working
* support almost working
* remove picture working
* removed unused code
* remove console logs and fix allowImpersonation in FIND_ONE_WORKSPACE_MEMBER_V2
* use useUpdateOneObjectRecord
2023-11-16 11:59:13 +01:00
Charles Bochet
96661b5f56
Add support for UUID fields in tables ( #2529 )
2023-11-15 19:37:29 +01:00
Lucas Bordeau
82142ab70e
Added working peopleV2 table ( #2527 )
2023-11-15 19:17:20 +01:00
martmull
66051fa077
Fix api keys ( #2513 )
2023-11-15 16:57:05 +01:00
bosiraphael
1fc3124d1e
Update favorites query and state to work with new backend ( #2520 )
...
* wip
* wip
* adding favorite works in the database
* favorites are showing in the left drawer
* update favoorite NavItem link
* wip
* adding favorite works
* everything seems to work
* fix delete bug
* fix update favorite position
* update Favorite type
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-15 16:17:50 +01:00
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
Kanav Arora
970d9ee7f6
2320-fix(front): IconEye icon size and font fix ( #2490 )
...
* 2320-fix(front): IconEye icon size and font fix
* 2320-fix: StyledEye replaced with lighticonbutton
2023-11-14 17:07:54 +01:00
Weiko
7c229217be
Hide System Objects ( #2488 )
...
* Hide System Objects
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* add filter isSystem: false in FIND_MANY_METADATA_OBJECTS
* update generated gql
* add filter to useFindManyObjectMetadataItems
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-14 15:27:24 +01:00
Uwem Israel
f3dfd06571
feat: Unfocus cells when mouse leaves the table ( #2442 )
...
* feat: Unfocus cells when mouse leaves the table
* fix: only unfocus cells that are not in edit mode
2023-11-14 15:07:41 +01:00
gitstart-twenty
a69711429b
chore(backend): convert basic RefreshToken model to TypeORM entity ( #2401 )
...
* chore: convert basic RefreshToken model to TypeORM entity
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Fix import
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-14 13:09:04 +01:00
bosiraphael
f476129afa
Fix date dropdown width ( #2486 )
...
fix date dropdown width
2023-11-13 18:21:16 +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
Weiko
3de2fc72dc
Create Relation with Fields from both sides ( #2480 )
...
* Create relation with fields from both sides
* update metadata codegen schema
2023-11-13 17:22:15 +01:00
Charles Bochet
9a109758c8
Migrate standard objects ( #2439 )
...
* Migrate standard objects
* Add migrations
* fix relation
* fix: register RelationMetadataType enum
* fix: correctly fix null relation
---------
Co-authored-by: corentin <corentin@twenty.com>
Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-13 16:08:27 +01:00
brendanlaschke
c7568ff28b
Fix single note in grid ( #2437 )
...
- fix single note in grid
2023-11-13 16:01:31 +01:00
Lucas Bordeau
8906c23c63
Fixed callback firing on clickoutside but mousedown inside. ( #2434 )
...
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-10 23:54:47 +01:00
Charles Bochet
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
bosiraphael
73db5eb35d
fix-svgr-issue-with-tsup ( #2429 )
2023-11-10 18:25:14 +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
Weiko
04c618284f
Convert metadata tables to camel_case ( #2420 )
...
* Convert metadata tables to camelcase
* refactor folder structure
* rename datasourcemetadata
* regenerate metadata schema
* rename dataSourceMetadata to dataSource
2023-11-10 15:33:25 +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
57cfd4db45
Fix ScrollWrapper
2023-11-10 13:24:39 +01:00
Lucas Bordeau
9c29c436b9
Feat/pagination front ( #2387 )
...
* Finished renaming and scope
* wip
* WIP update
* Ok
* Cleaned
* Finished infinite scroll
* Clean
* Fixed V1 tables
* Fix post merge
* Removed ScrollWrapper
* Put back ScrollWrapper
* Put back in the right place
2023-11-10 12:43:14 +01:00
bosiraphael
e0289ba9f2
2363 refactor the dialog component to use the new scope architecture ( #2415 )
...
* create Scope
* refactor dialog manager
* finished refactoring
* modify closeDialog to use a recoilcallback
* modify according to comments + add effet component
* fix spreadsheet import stories
2023-11-10 12:36:25 +01:00
brendanlaschke
edd152910d
Fix icon picker width and add Icon Title ( #2418 )
...
- fixed icon picker width
- added icon title
2023-11-10 11:52:50 +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
Charles Bochet
5622f42e7a
Fix table last column not being displayed ( #2417 )
2023-11-09 19:06:14 +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
bosiraphael
588091d3dd
2357 Refactor RecordTable to use the new scope architecture ( #2407 )
...
* create RecordTableScope
* use RecordTableScope
* working on useRecordTable hook
* add RecordTableScope to company-table
* add RecordTableScope to person-table
* add filter state and sort state
* add useSetRecordTableData to useRecordTable
* wip
* add setRecordTableData to useRecordTable
* update in RecordTableEffect
* fix bug
* getting rid of unnecessary context and hooks
* remove console.log
* wip
* fix bug by creating an init effect
* fix viewbar not in scope in company and people tables
* wip
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* updating useRecordTable to use internal hooks
* modified according to comments
2023-11-09 17:45:58 +01:00
Thaïs
0d4949484c
feat: add Money field type in settings ( #2405 )
...
Closes #2346
2023-11-09 17:13:34 +01:00
Pallavi Varshney
c8eda61704
#2133 Add comments icon and count to Timeline card ( #2205 )
...
* fix
* #2133 added comments icon and count on notes tab
* reverted changes in people-filters.tsx
* added comment icon and count on timeline in People/Companies
* removed infra/dev/scripts/hashicorp.gpg
* added comment count and icon on timeline cards with seperate react component
* used isNonEmptyArray typeguard for array length check
* updated review feedback
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 16:34:54 +01:00
Kanav Arora
f26be4d837
2385-feat(front): icon button styles added ( #2411 )
...
* 2385-feat(front): icon button styles added
* 2385-feat(front): pr requested changes done
* Fix alignment
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 16:23:45 +01:00
Kanav Arora
279630052f
2294 feat(frontend): styling shortcut keys ( #2336 )
...
* 2294 feat(frontend): styling shortcut keys
* 2294 fix(front): pr requested changes
* Fix component interface
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-09 15:18:51 +01:00
Thaïs
aa09b5758c
feat: add Boolean field preview in settings ( #2399 )
...
Closes #2328
2023-11-09 12:20:30 +01:00
Thaïs
28779f0fb8
feat: add Number field preview in settings ( #2397 )
...
Closes #2327
2023-11-09 08:30:37 +01:00
Thaïs
1f5492b4a7
feat: add Text field preview in settings ( #2389 )
...
Closes #2325
2023-11-09 08:25:46 +01:00
Uwem Israel
4efbe4d798
FIX: Corrected button border color for danger button ( #2409 )
2023-11-08 23:47:12 +01:00
Charles Bochet
7623e7b7f9
Fix google auth url broken ( #2380 )
...
* Fix google auth url broken
* Refactor
2023-11-07 11:11:36 +01:00
Thaïs
377f95c9db
feat: add SettingsObjectFieldPreview and SettingsObjectFieldPreviewCard ( #2376 )
...
* feat: add SettingsObjectFieldPreview
Closes #2343
* feat: add SettingsObjectFieldPreviewCard
Closes #2349
* Fix ci
* Fix tests
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-06 23:14:47 +01:00
Lucas Bordeau
b3d460eb75
Finished renaming and scope ( #2378 )
...
* Finished renaming and scope
* Less objectNamePlural as props
2023-11-06 19:42:46 +01:00
Charles Bochet
3d483b5640
Improve first loading performance
2023-11-06 18:26:53 +01:00
Kanav Arora
9bd6d26d53
2299 fix(frontend): corrected tag spacing in settings object item table row ( #2302 )
...
* fix(frontend): corrected tag spacing in settings object item table row
* 2299-fix(front): pr requested changes
* 2299 fix(front): PR requested changes - 2
2023-11-06 17:58:03 +01:00
Lucas Bordeau
b98d474308
Fix new field type enums in parseFieldType ( #2361 )
...
* Fix new field type enums in parseFieldType
* Fix with GraphQL enum
2023-11-06 17:24:47 +01:00
bosiraphael
88ca846f83
Rename InlineCell to RecordInlineCell ( #2377 )
...
rename inline cell
2023-11-06 17:18:25 +01:00
Charles Bochet
bb8cddddc4
Fix chromatic build
2023-11-04 13:42:59 +01:00
Charles Bochet
aa50ee4b21
Fix chromatic build
2023-11-04 13:22:10 +01:00
Charles Bochet
d17978777e
Fix chromatic build
2023-11-04 10:35:45 +01:00
Lucas Bordeau
53072298bc
Feat/improve new views ( #2298 )
...
* POC new recoil injected scoped states
* Finished useViewScopedState refactor
* Finished refactor
* Renamed mappers
* Fixed update view fields bug
* Post merge
* Complete refactor
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-04 09:28:55 +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
Lucas Bordeau
aba3fd454b
Removed dead code ( #2345 )
2023-11-03 17:08:07 +01:00
Abhishek Thory
c397619100
441/fix/clear cell while opening it by typing and delete value when I hit delete / backspace. ( #2021 )
...
- Use initial values when opening table cells and pass them to fields
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-11-03 16:43:54 +01:00
Thaïs
60b1024efb
feat: do not show disabled fields in table ( #2319 )
...
Closes #2309
2023-11-03 15:05:04 +01:00
Thaïs
e053fba089
fix: fix Modules Storybook tests ( #2339 )
...
Fixes #2310
2023-11-03 15:01:42 +01:00
Charles Bochet
e04f9230da
Fix Add view not working on PersonTable
2023-11-03 15:01:01 +01:00
Charles Bochet
b4af15467f
Fix data not loading on recordTable
2023-11-03 14:53:11 +01:00
Thaïs
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
brendanlaschke
e3691ad143
Fix navbar animation layout shift ( #2335 )
...
fix navbar animation
2023-11-03 11:04:30 +01:00
bosiraphael
f19ed5e2e4
Fix firefox recoil snapshot bug ( #2321 )
...
fix firefox recoil snapshot bug
2023-11-02 17:06:26 +01:00
bosiraphael
9725582a82
Fix entity tasks filter scopeid bug ( #2318 )
...
fix entity tasks filter scopeid bug
2023-11-02 14:36:50 +01:00
bosiraphael
316f2df170
Fix checkbox htmlfor bug ( #2315 )
...
fix bug
2023-11-02 14:05:47 +01:00
bosiraphael
27b451ee56
Fix view deletion ( #2314 )
...
* fix view deletion
* fix view deletion bugs
* improve code readability
2023-11-02 12:17:50 +01:00
bosiraphael
8080353075
Fix sort delete ( #2312 )
2023-11-02 10:36:28 +01:00
bosiraphael
951680113e
Plug filter delete to backend ( #2303 )
...
* plug-filter-delete-to-backend
* delete console
2023-10-31 18:06:43 +01:00
bosiraphael
f9920d2f24
Fix CompanyBoardCard height ( #2301 )
...
* fix view-fields seeds
* closeDate was duplicated
* fix CompanyBoardCard height
2023-10-31 16:38:23 +01:00
brendanlaschke
48aa89664a
Prevent layout shift on page load ( #2268 )
...
- prevent layout shift on page load
2023-10-31 14:09:33 +01:00
bosiraphael
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
Gaurav
71dd6eb0a8
Fix: Email case sensitivity ( #2229 )
2023-10-31 12:41:20 +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
bosiraphael
adeaa35e8d
2282 Rename components to use the new naming convention part 2 ( #2295 )
...
renaming part 2
2023-10-31 12:32:16 +01:00
Kanav Arora
b319ba66ac
2284 fix(frontend): layout shift in date input ( #2292 )
...
* fix(frontend): layout shift in date input
* Fix Inline Cell overlay being shifted
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-31 12:30:10 +01:00
bosiraphael
ec8389cecf
2282 Rename components to use the new naming convention part 1 ( #2293 )
...
renaming in progress
2023-10-31 12:12:52 +01:00
Thaïs
7fe569ec6a
fix: disable page shortcuts on TextArea focus ( #2288 )
...
Fixes #2275
2023-10-30 19:23:12 +01:00
Thaïs
3cdbe4f16e
fix: remove blank space below Object Settings cover image ( #2285 )
...
Fixes #2280
2023-10-30 19:22:23 +01:00
Thaïs
d30ed496e9
fix: display object plural labels in nav items ( #2290 )
...
Fixes #2289
2023-10-30 19:20:44 +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
Charles Bochet
9bab28912d
Complete Fix view work ( #2272 )
...
* Fix views
* Make view sorts and view filters functional
* Complete Company table view fix
* Fix model creation
* Start fixing board
* Complete work
2023-10-29 16:29:00 +01:00
Charles Bochet
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
Charles Bochet
b591023eb3
Fix/metadata object and settings post merge ( #2269 )
...
* WIP
* WIP2
* Seed views standard objects
* Migrate views to the new data model
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-28 12:25:43 +02:00
Charles Bochet
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
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
9681815cb3
test: fix SettingsObjectDisabledMenuDropDown storybook tests ( #2257 )
...
* test: fix SettingsObjectDisabledMenuDropDown storybook tests
* fix: fix BoardOptionsDropdownContent lint error
2023-10-27 17:49:14 +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
Charles Bochet
ec3327ca81
Fix major rework on view ( #2262 )
2023-10-27 15:30:52 +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
Charles Bochet
d02dd69613
Fix filters and sorts on views ( #2258 )
2023-10-27 11:48:38 +02:00
Lucas Bordeau
1728045be4
Fixes ( #2256 )
2023-10-27 11:25:14 +02:00
Thaïs
3d5ee6d7ca
feat: remove disabled custom objects ( #2247 )
...
Closes #2147
2023-10-27 11:08:02 +02:00
Lucas Bordeau
3f2e1b622e
Feat/show page metadata ( #2234 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Working Object Show Page
* Minor fixes
* Fix custom object requests pending (#2240 )
* Fix custom object requests pending
* fix typo
* Fix various bugs
* Typo
* Fix
* Fix
* Fix
---------
Co-authored-by: Weiko <corentin@twenty.com>
2023-10-27 11:06:07 +02:00
Charles Bochet
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
brendanlaschke
6a72c14af3
Use zod instead of yup ( #2254 )
...
* use zod instead of yup
* doc
* lint
2023-10-27 10:26:32 +02:00
Thaïs
b30233d582
fix: generate metadata object and field names in camel case ( #2250 )
...
Fixes #2249
2023-10-26 17:27:52 +02:00
Lucas Bordeau
c335d19c97
Feat/add other metadata types v2 ( #2224 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Reactivate no console
* Change no-console to warn
2023-10-26 12:07:43 +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
20f5b9def7
Fix bug isRelation guard ( #2217 )
2023-10-24 17:33:38 +02:00
Charles Bochet
48c9ea855a
Improve tests
2023-10-24 17:14:07 +02:00
Abhishek Thory
bd0b886081
1259/add compact view in opportunities ( #2182 )
...
* icons added
* recoil family state added for checking compact view in each card
* recoil state added for toggle button. Wether compact view show or not
* menu item modifed for right side content
* compact view toggle added in dropdown options
* dropdown width increased because compact view text was overflowing
* compact view added in boardcard
* new animation added for in and out
* compact view enabled state added
* old state deleted
* sizes added in toggle component
* removed extra added code form navigation
* toggle size added in menuitem toggle
* MenuItemToggle added instead of MenuItemNavigate
* Compact view improved
2023-10-24 16:24:25 +02:00
Alfred Louis
350410b0fe
fix: update dropdown width ( #2181 )
...
* fix: update dropdown width
* fix conflict
* refactor dropdown width state
2023-10-24 16:21:51 +02:00
Gaurav
dfc59b2751
Applied min-height to Data Model banner ( #2214 )
2023-10-24 16:18:55 +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
gitstart-twenty
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
Tom Avalexing
80d558559f
fix unauthenticated ( #2203 )
...
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-24 08:54:45 +02:00
Marcel Kaiser
2b590a1c33
fix: issue Button-with-'IconChevronDown'-in-'TableUpdateViewGroupButton'-has-incorrect-size ( #2201 )
...
changed button size
issue #3Button-with-'IconChevronDown'-in-'TableUpdateViewGroupButton'-has-incorrect-size-#1522
2023-10-24 08:35:29 +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
David Pham
f94886d150
Fix issue 2130: text overflow on setting member page ( #2192 )
2023-10-23 12:42:22 +02:00
Tom Avalexing
28e9b16ee6
Fix Boolean field for hotkey ( #2067 )
...
* Fix Boolean field for hotkey
* make via hook
* typo
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-23 11:43:09 +02:00
Pallavi Varshney
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
brendanlaschke
c80eb5c0b0
Show icons for navigate commands ( #2184 )
...
- show icons for navigate commands
2023-10-23 10:28:01 +02:00
Charles Bochet
42af74eb46
Build render ( #2188 )
...
* Build for arm and amd
* Add scripts
* Add scripts
2023-10-22 23:47:43 +02:00
Ruslan
a5fe256d7e
chore: inject enviroment at the ./front deployment phase ( #2174 ) ( #2179 )
...
* chore: inject enviroment at the deployment phase (#2174 )
* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL
* Upgrade Dockerfiles
* Add compute pg_database_url for render
* fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +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
Lucas Bordeau
f1670f0cf4
Feat/metadata datatable types ( #2175 )
...
* Handled new url v2 type
* Fixed refetch queries
* wip
* Ok delete but views bug
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 14:07:18 +02:00
Ujwal Kumar
598fda8f45
feat: add new object standard available section ( #2111 )
...
* feat: add new object standard available section
* Fix feedback comments received on PR
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 13:40:11 +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
David Pham
c90cf1eb8f
Fix issue 2126: DataTable '+' button dropdown positioning glitch ( #2150 )
...
* Fix issue 2126: DataTable '+' button dropdown positioning glitch
* Simplify code
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 12:51:53 +02:00
David Pham
9e9eca22a4
Fix issue 2151: Dropdown menu of header table does not close after hide column ( #2177 )
...
* Fix issue 2151: Dropdown menu of header table does not close after hide column
* Remove dropdown scope
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 12:07:50 +02:00
Rustam M
6d8effabbf
fix: value changes every render ( #2115 )
...
* fix: value changes every render
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 11:49:50 +02:00
Abhishek Thory
159d2978d0
Favorite: computeNewPosition fixed ( #2134 )
2023-10-21 11:31:32 +02:00
gitstart-twenty
dee9807eb3
Chore(front): Create Storybook tests for the DropdownMenu component ( #2157 )
...
* Chore(front): Create Storybook tests for the DropdownMenu component
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
* Fix the tests
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
* Simplify Dropdown
* Remove console.log
---------
Co-authored-by: Benjamin Mayanja V <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-20 21:19:43 +02:00
David Pham
eea7470571
Fix Issue 2127: DataTable column head menu is badly positioned ( #2135 )
...
* update dropdownPlacement and dropdownOffset
* use default position
2023-10-20 17:44:22 +02:00
Charles Bochet
943731fed8
Fix visual regressions
2023-10-20 00:04:51 +02:00
Abhishek Thory
08772b4456
1721/feature/drag and drop favorites ( #2097 )
...
* prisma schema updated: added index in favorite
* update abilitiy added for favorite
* update one favorite resolver added
* update on favorite mutation added
* updateFavoriteOrder added
* Draglist added in favorite
* nav item convert to div from button: because it was not working dragable with button
* changed index to position
* position added in getFavorites query
* added recoil state for favorites
* reordering updated according to new method
* Use accurate type
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-19 23:35:23 +02:00
Kirthi Bagrecha Jain
5ce8b4c73c
fix: favourite button background ( #2128 )
...
update:favourite button background
2023-10-19 17:54:36 +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
Charles Bochet
d0df7e4d3b
Update version to 0.1.5 ( #2123 )
...
* Update version to 0.1.5
* Temporariliy lower code coverage
2023-10-19 16:21:09 +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
2b8a81a05c
Created two new env variables ( #2120 )
...
* created the two env variables
* modify according to comments
2023-10-19 14:57:16 +02:00
Charles Bochet
c04f6bf371
Fix import style ( #2118 )
2023-10-19 12:05:31 +02:00
Arijit
e90301098a
Fix: hotkey scope not correctly set ( #2094 )
...
* technical input fix
* use previous hotkey instead for onblur
2023-10-18 19:46:21 +02:00