Commit Graph

144 Commits

Author SHA1 Message Date
Thaïs
09a2a656e2
feat: display identifier field in Object Detail page for custom objects (#3329)
* feat: display identifier field in Object Detail page for custom objects

Closes #3301

* fix: show Name as object label identifier by default

* Minor improvements

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-12 12:11:09 +01:00
Thaïs
0dc39db314
feat: detach records from Relation field card in Show Page (#3350)
* feat: detach records from Relation field card in Show Page

Closes #3128

* Fix TS

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-12 12:10:42 +01:00
Irfan K
9ecc3bdbf2
fixed Object settings font weight fixes (#3332)
* fixed Object settings font weight fixes

* fixed Object settings font weight fixes
2024-01-12 10:02:20 +01:00
Charles Bochet
10fd67ba32
Fix relation creation bug + enable favorite for custom objects (#3392)
* Fix relation creation bug

* Fix vale CI

* Fix comment bug
2024-01-11 22:46:43 +01:00
Charles Bochet
3ad032cdc1
Fix 3 bugs (#3391)
* Fix Favorites

* Fix opportunities
2024-01-11 21:34:56 +01:00
Thaïs
985c2f321e
feat: add link to relation filtered table in Record Show Page (#3261)
* feat: add link to relation filtered table in Record Show Page

Closes #3125

* refactor: use generateFindManyRecordsQuery for optimization

* Fixes from review

* Minor fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-11 20:51:06 +01:00
Lucas Bordeau
e2bdf0ce45
Recursively turn relation connection into records (#3334)
* Use new ObjectRecordConnection

* Use new records without connection in GraphQLView

* Added playwright for storybook tests

* Fixed lint

* Fixed test and tsc

* Fixed storybook tests

* wip tests

* Added useMapConnectionToRecords unit test

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 20:27:59 +01:00
gitstart-twenty
299bed511f
Filter the opportunities "Point of contact" field (#3191)
* Filter the opportunities "Point of contact" field

Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-11 20:26:11 +01:00
Charles Bochet
99247fb689
Fix activity target bug (#3390) 2024-01-11 20:18:54 +01:00
Neerajkumar
2c8c22a979
refactor: make search case-insensitive (#3388) 2024-01-11 20:05:45 +01:00
Charles Bochet
2e571976fb Fix regression on RecordInlineCellContainer 2024-01-11 18:20:06 +01:00
Sagar Jariwala
4b97625f37
fix: fixed overflowing text on record show page (#3372) 2024-01-11 18:08:31 +01:00
Thomas Trompette
6bae6fcdce
Migrate record table to scope map (#3363)
* Migrate record table to scope map

* Update record scope id to record id

* Remove todos and fix edit mode

* Fix perf

* Fix tests

* Fix tests

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 17:44:40 +01:00
Deepak Kumar
c8aec95325
GH-3183 Add sub actions to quick actions in ActionBar (#3339)
* convert quick action into a dropdown

* GH-3183 import icons

* GH-3183 display dummy sub-actions in dropdown

* Migrate to new Dropdown API

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 13:49:36 +01:00
GARY
afacec6994
Finish Implementing Select/MultiSelect #3166 (#3226)
* Fixed #3166

* refactor: improve generateEmptyFieldValue function

- Optimize handling of MultiSelect and Select cases
- Provide a default value for Select based on FieldSelectValue
- Enhance code readability and maintainability

* Fixed #3166

- Introduce MultiSelect-specific logic with a backend support check
- Implement Select-specific logic with a default value
- Throw an error for unhandled FieldMetadataType

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 12:00:11 +01:00
Arthur EICHELBERGER
c6ae480856
feat(signup): allow to block signup (#3209)
* feat(signup): allow to block signup

* feat(signup): update environment variable documentation

* test: update auth service tests

* feat(signup): prevent user from reaching out the sign up page

* Fix lint

* Fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 11:48:14 +01:00
gitstart-twenty
66a054ac21
Add tests for modules/object-record/object-sort-dropdown (#3366)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-11 11:23:17 +01:00
gitstart-twenty
93a9eb0e3c
Add tests for modules/object-record/hooks (#3361)
* Add tests for `modules/object-record/hooks`

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

* Remove temporary changes

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

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 10:37:09 +01:00
gitstart-twenty
ebe8698910
Increase test coverage for /modules/ui (#3314)
* Increase test coverage for `/modules/ui`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>

* Fix tests

* Fix tests

* Fix

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 08:51:36 +01:00
Jeong Min Cho
a791d1f5ba
Sort Metadata Fields by Custom Status and Creation Date (#3254)
* Added sortFields function and used on active and disabled metadataFields

* Added a sortFieldMetadataItem and used parseDate instead of vanila Date

* Added tests for sortFieldMetadataItem (#3253)

* Applied sortFieldMetadataItem (#3253)
2024-01-10 18:47:19 +01:00
Charles Bochet
49f66fec70
Fix vite build config (#3358)
* Fix vite build config

* Fix vite build config

* Fix vite build config

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2024-01-10 17:42:11 +01:00
Kanav Arora
d1b2ac0a6e
Fix shadow to light (#3359) 2024-01-10 13:17:31 -03:00
Brendan
4f9ea78258
Fixed I shouldn't be able to remove myself from a workspace #3330 (#3349)
* correct delete workspace member condition

* fix lit error
2024-01-10 15:48:32 +01:00
Thomas Trompette
2713285a0f
Migrate dropdown to scope map (#3338)
* Migrate dropdown to scope map

* Run lintr

* Move Dropdown Scope internally

* Fix

* Fix lint

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-10 15:46:37 +01:00
Lucas Bordeau
fbf7496fab
Added eslint config in vite-plugin-checker (#3321) 2024-01-10 09:43:24 +01:00
Charles Bochet
11bf03bbea Fix Bug Tasks Page not switching tab 2024-01-09 23:06:13 +01:00
Charles Bochet
a9ac14439f Fix phone input bug 2024-01-09 18:48:59 +01:00
Thomas Trompette
ebf7688e3d
Migrate tab list to scope map (#3333)
* Migrate tab list to scope map

* Return state to hook and let client subscribe to state

* Run prettier

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-09 17:01:27 +01:00
Charles Bochet
8d2758ee5e Reactivate Select in emptyValue generation 2024-01-09 15:12:59 +01:00
Charles Bochet
47ac97dd25
Fix Select (#3327) 2024-01-09 14:58:14 +01:00
Thaïs
0b505288f2
feat: add Relation field card feature flag (#3311)
Related to #3123
2024-01-09 12:46:03 +01:00
Thaïs
ed06cc0310
feat: add Relation Field Card plus button in Show Page (#3229)
Closes #3124
2024-01-09 10:29:01 +01:00
Lucas Bordeau
dc94d26997
Fixed create task bug (#3308) 2024-01-08 20:56:38 +01:00
Charles Bochet
67b14824a4
Implement select v1 (#3312)
* Implement select v1

* Implement select v1
2024-01-08 20:55:45 +01:00
Lucas Bordeau
71034849d3
Added vite-plugin-checker to twenty-front (#3289)
* Added vite-plugin-checker to twenty-front

* Installed vite-plugin-checker globally
2024-01-08 12:01:58 +01:00
Charles Bochet
96264e264c
Refactor recoil v4 (#3266)
* Refactor recoil v4

* Fix ci
2024-01-05 19:18:22 +01:00
Kanav Arora
8455e15443
Behaviour Fix on new record addition (#3113)
* Delete record if no company added

* EditMode on First column of new row added

* Fix

* Minor fixes

* Passed scopeId

* Changed FieldInputs to accept onChange handler

* Removed getFieldType

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 18:01:51 +01:00
brendanlaschke
9def3d5b57
Activity editor add File block (#3146)
* - added file block

* fised auth useeffect

* - add cmd v for file block

* remove feature flag for attachment upload in blockeditor

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 17:42:50 +01:00
Suman Sahoo
81a1666946
fixed button padding (#3260) 2024-01-05 16:50:52 +01:00
rakan makhashin
036c8c0b36
Fixed user exist checking with trimmed email input #3195 (#3251) 2024-01-05 15:13:05 +01:00
Charles Bochet
f7034d6e7d
Embrace nx monorepo structure with root package.json (#3255)
* Upgrade to node 18.17.1 and regroup dependencies in root package.json

* Sort package.json

* Fix lint

* Migrate zapier
2024-01-05 14:59:58 +01:00
Charles Bochet
618d9678b5 Fix lint issue on record table 2024-01-05 11:35:54 +01:00
Jordan Sussman
f3cbed8fec
3185 / Fix NavigationDrawer Overflow (#3187)
* fix side nav for short viewports

* remove uneeded justify-content in leu of overflow-y addition

* undo last commit to leave justify-content in for submenus

* move overflow-y to StyledContainer

* move overflow-y to items container

* remove problematic overflow to allow scrollable nav sections
2024-01-05 11:25:28 +01:00
Lakshay saini
dc76333b81
feat: add Settings/Accounts/Emails/Inbox Setting Contact auto-creation (#3188)
Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
2024-01-05 07:25:05 -03:00
Suman Sahoo
e50b62df8f
Loading more UI updated (#3198)
* style update

* inlcude box as a table element

* Ui

Loading more fixed

* changes

tbody added with ref
with margin and padding with theme variables

* Remove unused react fragment

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 11:07:49 +01:00
Thaïs
db46dd4497
feat: add RecordRelationFieldCardSection (#3176)
Closes #3123

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 11:02:02 +01:00
gitstart-twenty
80c1c9aacc
Increase test coverage for /modules/views (#3211)
* Increase test coverage for `/modules/views`

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

* fix failing test

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

* Refactor into smaller tests

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

* Refactor according to review

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

* fix linter

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

* Fix unknown

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 09:58:19 +01:00
rakan makhashin
db17d46af3
trimming email input in validation #3195 (#3246) 2024-01-05 09:37:06 +01:00
Lucas Bordeau
b112b74022
Feat/activities custom objects (#3213)
* WIP

* WIP - MultiObjectSearch

* WIP

* WIP

* Finished working version

* Fix

* Fixed and cleaned

* Fix

* Disabled files and emails for custom objects

* Cleaned console.log

* Fixed attachment

* Fixed

* fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 09:08:33 +01:00
Charles Bochet
c15e138d72
Fix nx lint setup (#3234)
* Fix nx lint setup

* Fixes

* Fixes

* Add missing metadata

Fixes

Fix

Fixes

* Fix
2024-01-04 16:39:57 +01:00