3171d0c87b
feat: address composite field ( #4492 )
...
Added new Address field input type.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-28 16:50:38 +01:00
4a493b6ecf
New view picker ( #4610 )
...
* Implement new view picker
* Complete feature
* Fixes according to review
2024-03-22 15:04:17 +01:00
cfb0cce9b8
Refactor Views by cleaning the code, relying on apolloCache and improving performances ( #4516 )
...
* Wip refactoring view
* Post merge conflicts
* Fix review
* Add create view capability
* Fix create object missing view
* Fix tests
2024-03-20 14:21:58 +01:00
017b09ba35
Blocknote custom slash menu ( #4517 )
...
blocknote v12, cleaned up blockschema & specs, added custom slash menu
2024-03-20 08:38:05 +01:00
feebc45d31
Fix storybook tests on IconPicker ( #4510 )
2024-03-15 21:47:07 +01:00
8c0680b918
Setup the foundation for Twenty UI library. ( #4423 )
...
* feat: create a separate package for twenty-ui, extract the pill component with hard-coded theme values into it, and use the component inside twenty-front to complete the setup
* feat: extract the light and the dark theme into twenty-ui and update the AppThemeProvider component inside twenty-front to consume themes from twenty-ui
* fix: create a decorator inside preview.tsx to provide a default theme to storybook development server
* fix: remove redundant type declarations and revert back the naming convention for theme declarations
* fix: introduce a default value for pill label within the story for development server
* fix: introduce the nx script into package.json for twenty-ui and resolve imports for theme type within the package
* fix: remove the pill component from the twenty-front package along with the story for it
* fix: revert the package versions to those before running the nx cli command for storybook init
* feat: update readme to include details for building the ui library and starting the storybook development server
* fix: include details about twenty-ui inside jest.config for twenty-front to complete front-jest job
* - Added preview head for font
- Added theme addon for light/dark switch
- Added ComponentDecorator
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-13 14:21:18 +01:00
4704ef829e
fix: Standardize labels casing ( #4388 )
...
Standardize labels casing
2024-03-11 17:15:22 +01:00
7231ea1e72
Fix: Inline Phone Field Menu ( #4383 )
...
* #4343 fix: phone menu display on page
* Add the possibility to send width as %
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-11 16:38:37 +01:00
581dfafe11
Renamed nullable utils into isDefined and isUndefinedOrNull ( #4402 )
...
* Renamed nullable utils into isDefined and isUndefinedOrNull
2024-03-11 14:28:57 +01:00
86c0f311f5
Introduce ComponentState ( #4386 )
...
* Proof of concept ComponentState
* Migrate to createState and createFamilyState
* Refactor
* Fix
* Fix tests
* Fix lint
* Fix tests
* Re-enable coverage
2024-03-09 11:31:00 +01:00
17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements ( #4354 )
...
* ESLint rule: only take explicit boolean predicates in if statements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix frontend linter errors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix jest
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix lint on new code
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
2024-03-09 10:48:19 +01:00
40bea0d95e
feat: add Settings Object Edit identifiers form ( #4300 )
...
* feat: add Settings Object Edit identifiers form
Closes #3836
* fix: fix wrong imports after renaming directories
2024-03-08 21:55:30 +01:00
40a3b7d849
Added CurrencyFieldInput design ( #4254 )
...
* #4123 CurrencyFieldInput design is ready
* resolved comment and currency code
* resolved design comment
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-08 21:30:45 +01:00
eabece6918
TextInput height fix ( #4327 )
...
changed text input height to 32px
2024-03-07 15:37:27 +01:00
a892d0f653
feat: add Object Edit Settings section with Object preview ( #4216 )
...
* feat: add Object Edit Settings section with Object preview
Closes #3834
* fix: fix preview card stories
* test: improve getFieldDefaultPreviewValue tests
* test: add getFieldPreviewValueFromRecord tests
* test: add useFieldPreview tests
* refactor: rename and move components
* fix: restore RecordStoreDecorator
2024-02-29 11:23:56 -03:00
9ca3dbeb70
39 create subscription and success modale ( #4208 )
...
* Init add choose your plan page component
* Update price format
* Add billing refund trial duration env variable
* Add billing benefits
* Add Button
* Call checkout endpoint
* Fix theme color
* Add Payment success modale
* Add loader to createWorkspace submit button
* Fix lint
* Fix dark mode
* Code review returns
* Use a resolver for front requests
* Fix 'create workspace' loader at sign up
* Fix 'create workspace' with enter key bug
2024-02-28 19:51:04 +01:00
f543191552
TWNTY-3825 - ESLint rule: const naming ( #4171 )
...
* ESLint rule: const naming
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* refactor: Reverts changes on `twenty-server`
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
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: KlingerMatheus <klinger.matheus@gitstart.dev >
2024-02-25 13:52:48 +01:00
1b04dfe3c6
feat: find duplicate objects init ( #4038 )
...
* feat: find duplicate objects backend init
* refactor: move duplicate criteria to constants
* fix: correct constant usage after type change
* feat: skip query generation in case its not necessary
* feat: filter out existing duplicate
* feat: FE queries and hooks
* feat: show duplicates on FE
* refactor: should-skip-query moved to workspace utils
* refactor: naming improvements
* refactor: current record typings/parsing improvements
* refactor: throw error if existing record not found
* fix: domain -> domainName duplicate criteria
* refactor: fieldNames -> columnNames
* docs: add explanation to duplicate criteria collection
* feat: add person linkedinLinkUrl as duplicate criteria
* feat: throw early when bot id and data are empty
* refactor: trying to improve readability of filter criteria query
* refactor: naming improvements
* refactor: remove shouldSkipQuery
* feat: resolve empty array in case of empty filter
* feat: hide whole section in case of no duplicates
* feat: FE display list the same way as relations
* test: basic unit test coverage
* Refactor Record detail section front
* Use Create as input argument of findDuplicates
* Improve coverage
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 19:12:21 +01:00
3d809d5317
feat: add Display calendar settings ( #4164 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
* feat: add Display calendar settings
Closes #4068
* feat: add 12h/24h in Format option labels
* fix tests
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:50:32 +01:00
a993155fb0
feat: add Color calendar setting ( #4141 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:34:56 +01:00
15510c9fbe
Added beta tag in email ( #4098 )
...
#4040 added beta tag
2024-02-21 17:09:36 +01:00
0d41023edd
Activity Editor hot key scope management ( #3568 )
...
* on click focus on activity body editor
* acitivity editor hot key scope added
* classname prop added escape hot key scope call back added
* passing containerClassName prop for activity editor
* hot key scope added
* console log cleanup
* activity target escape hot key listener added
* tasks filter hot key scope refactor
* scope renaming refactor
* imports order linting refactor
* imports order linting refactor
* acitivity editor field focus state and body editor text listener added
* logic refactor removed state for activity editor fields focus
* removed conflicting click handler of inline cell creating new scope
* linting and formatting
* acitivity editor field focus state and body editor text listener added
* adding text at the end of line
* fix duplicate imports
* styling: gap fix activity editor
* format fix
* Added comments
* Fixes
* Remove useListenClickOutside, state, onFocus and onBlur
* Keep simplifying
* Complete review
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-13 21:38:53 +01:00
7eaf56f566
Fix IconPicker broken storybook tests ( #3884 )
2024-02-08 15:14:22 +01:00
ee7e8b9ab2
Hide default selected icon from search ( #3752 )
...
* #3748 hide default selected icon from search
* change the type of icon array
* #3752 resolved comment in icon picker
2024-02-05 15:08:11 +01:00
d667bc4a90
Changed upload button border to medium ( #3744 )
...
#3715 changed upload button border to medium
2024-02-01 17:21:48 +01:00
389c263e2e
Design fixes + hide email tab if not a company or a person ( #3720 )
...
Design fixes + hide email tab
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-31 16:55:04 +01:00
f68de1a299
Board improvements ( #3694 )
...
* New board improvements
* Improve board
* Fix
2024-01-30 15:24:03 +01:00
3d6f1f1230
Fix FloatingButton to behave like FloatingIconButton in a group. ( #3524 )
...
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-23 18:54:12 +01:00
8864528d55
Center InternalDatePicker Clear button ( #3265 )
...
* Center InternalDatePicker Clear button
* Add back Clear button padding
* Center date picker clear button through props
* Refactor StyledButtonContainer padding
* Refactor StyledButtonContainer to extend MenuItem
* Use custom date picker Clear button implementation
* Undo MenuItem changes
* Refactor new date picker code
* Refactor datepicker solution
* Rename StyledButtonContent to StyledButton
* Remove unnecessary menu-item class
2024-01-17 12:05:16 +01:00
8c96acc2a3
Improved Floating Button Icon style ( #3428 )
...
* Improved Floating Button Icon style
* Improve Floating Button Icon style #3420
2024-01-14 15:36:16 +01:00
3ad032cdc1
Fix 3 bugs ( #3391 )
...
* Fix Favorites
* Fix opportunities
2024-01-11 21:34:56 +01:00
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
d1b2ac0a6e
Fix shadow to light ( #3359 )
2024-01-10 13:17:31 -03:00
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
96264e264c
Refactor recoil v4 ( #3266 )
...
* Refactor recoil v4
* Fix ci
2024-01-05 19:18:22 +01:00
81a1666946
fixed button padding ( #3260 )
2024-01-05 16:50:52 +01:00
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
f36fa9aa14
feat: improve menuitem btn design ( #3152 )
...
feat: add LightIconButtonGroup
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:15:38 +01:00
8483cf0b4b
POC: chore: use Nx workspace lint rules ( #3163 )
...
* chore: use Nx workspace lint rules
Closes #3162
* Fix lint
* Fix lint on BE
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:07:25 +01:00
b0d3e6d8d3
3157 refactor scoped states to move to v3 ( #3180 )
...
* renaming
* renaming
* create getDropdownScopeInjectors
* update useDropdown
* create internal hooks folder
* update record-table states to be scoped states
* update record-table selectors to be scoped selectors
* create utils scope injector
* refactor record-table wip
* refactor record-table wip
* wip
* inject scopeId in selectors
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update internal hooks
* update internal hooks
* update internal hooks
* update internal hooks
* update useTableColumns
* update states and hooks
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* fix scopeId not in context
* fix lint errors
* fix error in story
* fix errors: wip
* fix errors
* fix error
* fix jest test
* fix scopeId not defined
* fix jest test
* Bug fixes
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 19:45:14 +01:00
97f83b55b0
Added a clear/reset button in InternalDateInput to reset/unschedule events ( #3154 )
...
* Added a clear/reset button in InternalDateInput to reset/unschedule events
* Added clearable prop to <InternalDateInput /> and fixed some design mistakes
* Removed unnecessary code that was used during debugging
* Replaced button with <MenuItem /> component
* Fixed null date in ObjectFilterDropdownDateSearchInput
* Moved clear context call from DateInput to DateFieldInput
* Removed useless props
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-29 15:15:08 +01:00
81a18cd751
fix: fix disabled Button and IconButton primary accents background co… ( #3165 )
...
fix: fix disabled Button and IconButton primary accents background color and opacity
Fixes #3135
2023-12-28 15:47:15 +01:00
801177531b
Fix and enhance storybook:modules:tests ( #3107 )
...
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Remove unnecessary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix email thread story
* Re-enable storybook:modules
* Fix
---------
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-12-21 19:45:47 +01:00
e9bc13b5fa
Refactor recoil scope states ( #3097 )
...
* Refactor recoil scope states
* Complete refactoring
* Fix
2023-12-21 14:25:18 +01:00
6c30556d00
feat: add Settings/Accounts/Emails/Inbox Settings visibility section ( #3077 )
...
* feat: add Settings/Accounts/Emails/Inbox Settings page
Closes #3013
* feat: add Settings/Accounts/Emails/Inbox Settings synchronization section
Closes #3014
* feat: add Settings/Accounts/Emails/Inbox Settings visibility section
Closes #3015
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-20 16:09:47 +01:00
58f781b0a8
fix: fix Relation field form select labels display ( #3081 )
...
Fixes #3080
2023-12-19 18:13:15 +01:00
1eb5bebaf7
feat: select default Unit for Currency field ( #2996 )
...
Closes #2347
Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home >
2023-12-15 11:01:06 +01:00
468744298b
Fix hook bug ( #2995 )
...
* Fix hook bug
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-14 18:54:23 +01:00
73e03dd0c4
Fix bug IconPicker
2023-12-14 14:41:51 +01:00
8916dee352
Fix Icon Lazy Loading ( #2984 )
...
Fix Icon picker
2023-12-14 12:13:02 +01:00