3df4b78e38
Fix dropdown menu header ( #4835 )
...
Fix an issue I add introduced by removing "position:static" and an other
regression from https://github.com/twentyhq/twenty/issues/4366
2024-04-05 10:31:08 +02:00
e784dc8a98
chore: enable no-console eslint rule for tests and stories ( #4816 )
...
Re-enables no-console eslint rule in stories and tests files:
- In stories, use `action` from '@storybook/addon-actions' or `fn` from
'@storybook/test' instead of console.
- In tests, console methods can be mocked like this:
`global.console.error = jest.fn()`.
2024-04-04 18:36:39 +02:00
c5349291c8
chore: setup twenty-ui absolute path alias ( #4732 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
- Setup `@ui/*` as an internal alias to reference `twenty-ui/src`.
- Configures twenty-front to understand the `@ui/*` alias on development
mode, so twenty-ui can be hot reloaded.
- When building on production mode, twenty-front needs twenty-ui to be
built beforehand (which is automatic with the `dependsOn` option).
- Configures twenty-front to understand the `@ui/*` alias when launching
tests, so there is no need to re-build twenty-ui for tests.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-04-04 15:38:01 +02:00
04c06e3f91
fix: isIconDisplayedOnHoverOnly marked as required ( #4805 )
...
Fix PR #4676 , `isIconDisplayedOnHoverOnly` should be provided or not
marked as required
2024-04-04 14:38:54 +02:00
9d2bb33646
fix: Add isIconStatic prop item to allow the icons to be always rendered statically ignoring hover behaviour ( #4676 )
...
Fix #4653
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-04-04 14:05:56 +02:00
8ae6af6bd7
refactor: move createState to twenty-ui ( #4716 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2024-04-01 13:22:51 +02:00
a3e5cf37b0
chore: upgrade Nx to v18.1.3 ( #4706 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
- Upgrades dependencies and applies automatic config migrations with the
command: `npx nx migrate nx` (see
https://nx.dev/nx-api/nx/documents/migrate )
- Fixes lint errors after upgrading `@typescript-eslint`
Note: it was not possible (for now) to migrate Nx to the latest stable
version (v18.2.1) because it upgrades Typescript to v5.4.3, which seems
to cause a bug on install when Yarn tries to apply its native patches.
Might be a bug on the Yarn side.
2024-04-01 13:16:50 +02:00
5d07b6347e
refactor: move Tabler Icon exports to twenty-ui ( #4727 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
2024-04-01 13:15:47 +02:00
7f3623239a
4410-feat(front): Implement Confirmation Prompt for Multiple Record Deletion ( #4514 )
...
* feat: implement confirmation prompt
* feat: remove prop drilling and introduce recoil state
* chore: fix eslint issues
* feat: set record text according to length of records
* chore: fix eslint issues
* refactor: made changes according to code review
* fix: show delete according to singular and plural records.
* fix: eslint issues
* feat: show number of selected records
* style: fix positioning of actionbar
* feat: display ConfirmationModal seperately
* chore: remove recoil state and use usestate instead
* chore: minor change
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-29 18:18:21 +01:00
da12710fe9
feat: multi-workspace (frontend) ( #4232 )
...
* select workspace component
* generateJWT mutation
* workspaces state and hooks
* requested changes
* mutation fix
* requested changes
* user workpsace delete call
* migration to drop and createt user workspace
* revert select props
* add DropdownMenu
* seperate multi-workspace dropdown as component
* Signup button displayed accurately
* update seed data for multi-workspace
* lint fix
* lint fix
* css fix
* lint fix
* state fix
* isDefined check
* refactor
* add default workspace constants for logo and name
* update migration
* lint fix
* isInviteMode check on sign-in/up
* removeWorkspaceMember mutation
* import fixes
* prop name fix
* backfill migration
* handle edge cases
* refactor
* remove migration query
* delete user on no-workspace found condition
* emit workspaceMember.deleted
* Fix event class and unrelated fix linked to a previously missing dependency
* Edit migration (I did it in prod manually)
* Revert changes
* Fix tests
* Fix conflicts
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-20 14:43:41 +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
235e71ca02
Update backdrop-filter in OverlayBackground.ts ( #4436 )
...
* Update backdrop-filter in OverlayBackground.ts
* Fix backdrop-filter in OverlayBackground.ts
* Update opacity of menu item, to be constantly 0
* Fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-15 17:19:27 +01:00
fbc7e6ab6e
4364-feat(front): Display tags in multi-select picker ( #4419 )
...
* feat: add tags in multi select picker
* feat: display MenuItemLeftContent if no color passed
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-14 17:59:11 +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
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
4f4ce1c655
fix: updated NavigationDrawerItem icon stroke width from sm to md ( #4331 )
2024-03-07 08:25:11 +01:00
6bb7042a68
Select Field Input Menu scrollable and add Select Field in Filter and Sort ( #3656 )
...
* - fix Select Option Menu scrollable and added search
- add select field in filter and sort operation
* Fix lint
* Fix post merge
* Fix select filter
* Fix
* Remove duplicated search input
* fix turn object into query
* Rename search inputs
* Remove debounced for options
* Simplify option filter
* Rename option to MenuItemSelectTag
* Fix test
* Infer type from field metadata item
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-05 17:41:41 +01:00
6ec0e5e995
feat: adjust navigation drawer design ( #4242 )
...
Closes #3969 , Closes #4240
2024-02-29 16:49:23 +01:00
6ad3880696
feat: apply RecordDetailSection style on RecordDuplicatesSection and … ( #4241 )
...
feat: apply RecordDetailSection style on RecordDuplicatesSection and add stories
Closes #3963 , Closes #4240
2024-02-29 14:10:07 +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
11581ca9c3
feat: create Settings/Accounts/Calendars page ( #4090 )
...
* feat: create Settings/Accounts/Calendars page
Closes #4059
* docs: add SettingsAccountsCalendars stories
* refactor: add SettingsNavigationDrawerItem component
2024-02-20 19:28:15 +01:00
82e9f28383
fix: Fixed LinkedIn links with unicode ( #3953 )
...
* fix: Fixed LinkedIn links with unicode
* feat: Added checkUrlType and getDisplayValueByUrlType util functions
2024-02-20 14:22:26 +01:00
6fb0099eb3
3969 Adjusted Sidebar ( #3971 )
...
* Label fix
* changes done
* Revert "Label fix"
This reverts commit 1233b5809993da454bc84286746ef4ef18934e2e.
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-02-19 23:01:17 +01:00
ece4dc95bd
3970-label fix ( #3974 )
...
label fix
2024-02-16 09:45:37 +01:00
3cbf958a1c
GH-3652 Add forgot password on sign-in page ( #3789 )
...
* Remove auth guard from password reset email endpoint
* Add arg for GQL mutation and update its usage
* Add forgot password button on sign-in page
* Generate automated graphql queries
* Move utils to dedicated hook
* Remove useless hook function
* Split simple hook methods
* Split workspace hook
* Split signInWithGoogle hook
* Split useSignInUpForm
* Fix error in logs
* Add Link Button UI Component
* Add storybook doc
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-02-09 17:37:44 +01:00
7d898f89a9
3696 add emails tab empty state on shows ( #3702 )
...
* empty inbox
* fix No Files alignment
* add animation when exiting the screen
* update calendar settings to be singular
2024-01-31 12:18:47 +01:00
c8e4d0ab9a
Board compact view and Company Picker for opportunity special case ( #3713 )
...
* Re-enabled board compact mode
* Add specific case for opportunity to display company picker
* Add infinite scroll
* Remove useEffect
* Fix
* Fix
2024-01-31 11:37:03 +01:00
e951fb70f8
Add board Action bar and context menu ( #3680 )
...
* Add board Action bar and context menu
* Fix according to review
2024-01-30 09:21:02 +01:00
ba038a4a83
fixed issue Refine Settings Layout ( #3429 )
...
* fixed issue Refine Settings Layout
* fixed width and issue
* Fix according to review
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-17 15:54:52 +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
161c4f8910
#3489 sidebar label in one line ( #3490 )
...
* #3489 sidebar in one line
* remove tooltip from sidebar label
2024-01-16 22:19:14 +01:00
bf67f07291
Fix zindex contextmenu ( #3460 )
...
fix zindex contextmenu
2024-01-15 18:23:13 +01:00
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
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
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
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
ffcdace113
2980-Fix: CommandGroup background ( #2985 )
...
* 2980-fix: CommandGroup background
* Box Shadow fix
* suggested color fixes
* Fix related to design dicussion: add border + make everything background secondary
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-19 15:41:58 +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
a10f353a4c
feat: redirect to Plan Required page if subscription status is not active ( #2981 )
...
* feat: redirect to Plan Required page if subscription status is not active
Closes #2934
* feat: navigate to Plan Required in PageChangeEffect
* feat: add Twenty logo to Plan Required modal
* test: add Storybook story
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-14 12:39:22 +01:00
ed2cd408bf
Use SelectableList in RelationPicker, SingleEntitySelectBase and MultipleEntitySelect ( #2949 )
...
* 2747-fix: conditional updation of selectedItemId
* 2747-fix: bug in toggling
* 2747-feat: SingleEntitySelectBase list changed to SelectableList
* 2747-feat: MultipleEntitySelect use SelectableList
* Fix lint
* 2747-fix: onEnter property fix for SingleEntitySelectBase
* 2747-fix: onEnter property fix for MultipleEntitySelect
* yarn fix in twenty-front
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-14 12:10:58 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00