e662f6ccb3
fix: fixed shortcuts population ( #7016 )
...
This PR fixes #6776
Screenshots:
<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/ca061c30-ddb7-40ff-8c54-8b0d85d40864 ">
---------
Co-authored-by: sid0-0 <a@b.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-08 17:39:41 +02:00
711ff5d957
fix: Filter chips lacks width for longer values ( #7025 )
...
## Description
Closes #7018
- When given longer values, filter chips break-spaces and lack
sufficient width
- As a result, a design overhaul is given to `StyledBar` and
`StyledChipcontainer` components.
## Before
- on Desktop
<img width="1575" alt="Screenshot 2024-09-15 at 1 19 00 AM"
src="https://github.com/user-attachments/assets/f8464c35-01f5-4ad8-8af9-839cd8fa779d ">
- On mobile viewport
<img width="436" alt="Screenshot 2024-09-15 at 1 19 26 AM"
src="https://github.com/user-attachments/assets/8ca3e56f-691f-4064-9886-26d561710d61 ">
<img width="430" alt="Screenshot 2024-09-15 at 1 19 54 AM"
src="https://github.com/user-attachments/assets/3250a19c-f10e-48ac-98a8-f836da0ce53e ">
## After
- On desktop
<img width="1575" alt="Screenshot 2024-09-15 at 1 20 41 AM"
src="https://github.com/user-attachments/assets/0cd08c83-3261-495d-8b63-3f8c4f7fe802 ">
- On mobile viewport
<img width="435" alt="Screenshot 2024-09-15 at 1 25 38 AM"
src="https://github.com/user-attachments/assets/ad5d309c-f34f-4001-87bc-96915e9ad484 ">
https://github.com/user-attachments/assets/0b4ff758-3b6e-4bd5-8247-6b096fa7d1c0
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-08 17:39:28 +02:00
78a7c73308
Fix relation direction on show page
2024-10-08 17:20:23 +02:00
cbdd09b00e
Fix advanced settings animation ( #7497 )
...
As title
2024-10-08 17:14:50 +02:00
fcd60be110
Fix filtered INDEX view not loading ( #7501 )
...
## Context
We have recently merged a refactoring of our view module. However, one
case was forgotten which is to test our dynamic filtering logic.
It is currently possible to pass unsaved filters through the URL and
these filters will be applied to the currentView through
`QueryParamsFiltersEffect`. This component was saving filters but also
listening to them through useGetCurrentView hook.
## How
1) I'm removing this infinite loop by directly loading currentViewId
through the right recoil atom.
Bonus: I'm also removing the unmounting logic which seems wrong to me as
unsaved filters are mounted on a specific view, there is no need to
remove them while switching views in my opinion.
2024-10-08 16:52:15 +02:00
098551b7b8
fix: Invite by email table overflows in mobile viewport ( #7273 )
...
##Description
- This PR solves the issue #7253
- Made the invite table mobile friendly for all media width
## Before
https://github.com/user-attachments/assets/458bd47d-38fb-4ddc-a996-c1bb3908d014
<img width="439" alt="Screenshot 2024-09-27 at 1 30 52 AM"
src="https://github.com/user-attachments/assets/2a0ba6a2-c0f6-42bb-b74d-3a3147f2e7e7 ">
## After
<img width="440" alt="Screenshot 2024-09-27 at 1 34 11 AM"
src="https://github.com/user-attachments/assets/d31fdeba-574a-4cd0-a61a-bb5fba656109 ">
https://github.com/user-attachments/assets/7a4f6f9a-7fef-42f1-a226-59a1d73767f4
> [!Note]
> I've added 2 implementations and if either doesn't follow design rules
then it can be changed-
> - Made the trash icon `accent danger`
> - When emails are long, given scroll for ease of convience.
---------
Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
2024-10-08 16:48:15 +02:00
10e75174f5
Fix: Adjust chevron alignment to the right edge ( #7438 )
...
This pull request addresses the alignment issue of the chevron icon,
ensuring that it is positioned correctly on the right edge.
Fixes [#7403 ](https://github.com/twentyhq/twenty/issues/7403 )

---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: ehconitin <nitinkoche03@gmail.com >
2024-10-08 16:42:13 +02:00
be171e84d7
Fix create task ( #7498 )
...
Fixing issue introduced by [Add Skeleton loading for side
panel](https://github.com/twentyhq/twenty/pull/7394/files#top ):
https://github.com/user-attachments/assets/6c8e299c-d663-4aa7-83ed-ca7041cd15e7
2024-10-08 16:20:34 +02:00
e042711f34
Fixes on messaging and calendar ( #7485 )
...
Fix syncedAt no longer been set on message sync.
Fix calendar data model:
- Add `syncedAt` to `CalendarChannelWorkspaceEntity`
- Move `recurringEventExternalId` from `CalendarEventWorkspaceEntity` to
`CalendarChannelEventAssociationWorkspaceEntity` since the id is
relative to one channel
Fix save queries on calendar sync after regression.
2024-10-08 13:44:16 +02:00
66ec70f776
Fix hover advanced settings ( #7488 )
...
<img width="264" alt="Capture d’écran 2024-10-08 à 12 12 59"
src="https://github.com/user-attachments/assets/a01621ef-d7e8-44d1-b301-9579ab632a60 ">
2024-10-08 13:36:20 +02:00
4156d7821c
Ability to filter by composite's subfields ( #6832 )
...
# This PR
- Fix #6425
See https://github.com/twentyhq/twenty/issues/7188 because there's some
more work to do.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-08 11:25:42 +02:00
fbb5b3dfd4
Fix settings navigation advanced design ( #7472 )
...
This PR moved the settings navigation to the left and bottom
https://github.com/twentyhq/twenty/pull/7130
Updating the logic to:
-remove logic that move the existing
-add the setting icon to absolute
<img width="264" alt="Capture d’écran 2024-10-07 à 18 04 05"
src="https://github.com/user-attachments/assets/b848a5dd-50e9-48c2-bb50-1dcffa9481ac ">
<img width="264" alt="Capture d’écran 2024-10-07 à 18 04 11"
src="https://github.com/user-attachments/assets/3812929c-dce0-410b-8caa-3ea1210af958 ">
2024-10-07 18:19:00 +02:00
b5d1486830
Fix currency input ( #7469 )
...
Fix https://github.com/twentyhq/twenty/issues/7458
2024-10-07 15:00:47 +02:00
ce676f699d
Add opened section ( #7265 )
...
When object is not part of the workspace favorite list, we want to show
it in the "opened section" while its record page is accessed.
This PR:
- adds a new component `NavigationDrawerOpenedSection`
- makes workflow versions and runs not system object + creates a
prefilled view index for these
- do not create workspace favorites for these so these do not appear in
the workspace section
<img width="1129" alt="Capture d’écran 2024-09-26 à 11 45 25"
src="https://github.com/user-attachments/assets/c84d773c-0bef-4dce-b66a-55d7d00b0fb6 ">
2024-10-07 13:45:29 +02:00
2bc7974da9
fix: Improve Usability of Adding Options via Return Key for Multi-Select Field ( #7450 )
...
Fixes #6602
This is the approach that I followed based on these comments
https://github.com/twentyhq/twenty/issues/6602#issuecomment-2356870311 ,
https://github.com/twentyhq/twenty/issues/6602#issuecomment-2330737907
- Create forward ref in `<TextInput>` component
- Create ref to select text in parent component
`<SettingsDataModelFieldSelectFormOptionRow>` and pass it to
`<TextInput>`
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-07 13:06:51 +02:00
e55bb3e5cd
Add missing currencies ( #7441 )
...
Related to #7038
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-05 11:47:56 +02:00
967e04fde3
fix: Minor bug in column scroll in mobile viewport ( #7448 )
...
> [!Note]
> - This PR fixes #7447
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-05 11:46:35 +02:00
4d67787fa2
Tab design improvements ( #7307 )
...
## What does this PR do?
Improve minimize tab design.
Fixes #7150
<img width="329" alt="Screenshot 2024-09-28 at 11 46 35 AM"
src="https://github.com/user-attachments/assets/84eb058f-845f-4866-8428-ed0c1df619a8 ">
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-05 11:39:12 +02:00
16f2033170
Feat : Toggle Eye Icon to Expand/Collapse Kanban Card ( #7396 )
...
This pull request implements the functionality to toggle the eye icon in
Kanban cards to expand or collapse the card details.
#7389
[toogle-button-in-kanban-card.webm](https://github.com/user-attachments/assets/3bc1a31c-4053-429a-95e7-aa98188c39e4 )
---------
Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-05 14:34:06 +05:30
316b80ed78
chore: update ProfilePictureUploader.tsx ( #7440 )
...
occured -> occurred
2024-10-05 10:10:04 +02:00
2472b3faaf
Diagnostics CI size issue
2024-10-05 09:57:39 +02:00
c73feb513a
fix: Center Functions Empty state ( #7378 )
...
## Description
- This PR fix #7012
- It changes the logic behind the rendering of `SettingsPageContainer`
component. Now, the component is only rendered when the page content is
not blank.
## Changes
| Before | After |
|--------|--------|
|

|

|
<details><summary>Details</summary>
<p>
This change aligns the behavior of the settings page with the existing
logic found on the `/rockets` page
<img
src="https://github.com/user-attachments/assets/d2b80fbc-83e4-4823-a708-6775e19a153a "/>
</p>
</details>
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-05 01:23:02 +02:00
d8c4af9279
Fix all broken CIs ( #7439 )
...
Fix all the broken CIs :p
This includes an ongoing effort to simplify test maintenance by having 1
unique source of truth about metadata and data mocks (that will later be
generated from a unique source of seeds: dev = demo = test)
Regressions:
- Unit line coverage: 60 > 55
- Storybook Pages branch coverage: 40 > 35
We will need to write tests to increase those coverage
- RelationFieldDisplay perf: 0.2ms to 0.22ms > We might have a
regression here
- Removed perf story about RawJSON > We will need to re-add it
2024-10-05 00:23:23 +02:00
ae2bd66f45
changed the createdByName to Twenty(Sample data). ( #7424 )
...
I changed the createdByName from' system' to 'Twenty(Sample Data)'.
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-04 18:57:15 +02:00
424c4890b0
fix: New Relation Design hot fix ( #7423 )
...
## Description
- This PR solves the issue #7353
- [x] Improved layout for mobile and desktop
- [ ] Added tooltip on hover
---------
Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-04 16:38:15 +02:00
8afa504b65
Add Skeleton loading for side panel ( #7394 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7112](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7112 ).
---
### Description
- To test you can use `await new Promise(r => setTimeout(r, 5000));`
line 74 of \`openCreateActivityDrawer.ts\`
- We added a recoil state to define the loading status
- Design points to note:
1 - We did not change the chip component styles because would be
unrelated to the issue can you confirm if you still need this change?

2- In Figma, the loading state shows the Chip rendering an initial name
before showing the loaded name, currently, we are rendering the correct
name while loading, the change that makes this possible is below

if we set it as null, the initial name would appear, but also the
previous data in the state would affect the UI, passing the
`activityObjectNameSingular` data allows us to clear the previous data,
and make the Chip instantly updated, let us know if this behavior is
fine, or if you still want an initial name to be rendered while is
loading.
3 - Currently, the loading state of the tabs does not affect the
selected tab (auto-defined by the component) should we change this logic
for all Tabs used in the app, or make this behavior optional by using
props?

### Demo
<https://www.loom.com/share/590df738a8ec41e6b64232bde237c01f?sid=7f8f4e40-ec82-4282-a43d-452a1cf27f4a >
### Refs
#7112
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu >
2024-10-04 11:41:05 +02:00
97eff774bd
Allow input and display of floats for Number fields ( #7340 )
...
### Description
- We added a decimal field for a Number Field type in the settings
- We updated the Number Field type create a form with decimals input
- We are not implementing the dropdown present on the Figma because it
seems not related
### Demo
<https://www.loom.com/share/18a8d4b712a14f6d8b66806764f8467f?sid=3fc79b46-ae32-46e3-8635-d0eee02e53b2 >
Fixes #6987
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu >
2024-10-04 10:45:25 +02:00
e3ed574420
minor fix - reset single entity search ( #7420 )
...
minor follow up fix #7285
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-03 22:31:03 +02:00
a946c6a33d
fix: validate emails in record-fields ( #7245 )
...
fix : #7149
Introduced a minimal field validation framework for record-fields.
Currently only shows errors for email field.
<img width="350" alt="image"
src="https://github.com/user-attachments/assets/1a1fa790-71a4-4764-a791-9878be3274f1 ">
<img width="347" alt="image"
src="https://github.com/user-attachments/assets/e22d24f2-d1a7-4303-8c41-7aac3cde9ce8 ">
---------
Co-authored-by: sid0-0 <a@b.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-03 18:55:29 +02:00
04579144ca
Kanban card creation followup ( #7285 )
...
@Bonapara #7002
@FelixMalfait #6316
;)
Naming could be improved, do let me know!
https://github.com/user-attachments/assets/b10c9120-644d-4943-bc65-ec0d62f9986f
2024-10-03 17:50:54 +02:00
5f9435c718
Search ( #7237 )
...
Steps to test
1. Run metadata migrations
2. Run sync-metadata on your workspace
3. Enable the following feature flags:
IS_SEARCH_ENABLED
IS_QUERY_RUNNER_TWENTY_ORM_ENABLED
IS_WORKSPACE_MIGRATED_FOR_SEARCH
4. Type Cmd + K and search anything
2024-10-03 17:18:49 +02:00
4c250dd811
Fixes #7220 : Remove primary banner icon when only one value present ( #7275 )
...
## Changes
- Added a check to make sure that we only indicate an entry is primary
if there is more than one value.
- The banner icon now only displays when there are either **2 or more
emails, phone numbers, or domains.**
## Emails


## Phones


## Domains


## Notes
This is my first time contributing so I am open to any feedback.
Co-authored-by: Keerat Kohli <kkeerat012@gmail.com >
2024-10-03 17:17:45 +02:00
8350e7d808
fix: Toggle not visible in light mode ( #7322 )
...
> [!Note]
> - This PR solves the issue #7321
> - Added a minor fix in color background of toggle
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-03 16:35:18 +02:00
62fe1d0e88
6653 serverless functions store and use environment variables in serverless function scripts ( #7390 )
...


2024-10-03 13:56:17 +02:00
3cd24d542b
Resolved Typescript console errors ( #7408 )
...
## Description
- This PR addresses the issues-
- #7404
- #7359
- and builds on the existing logic from PR #7360
- Handled the 4 Ts console errors
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-03 12:02:51 +02:00
da69317837
fix: zero showing in record cell and page ( #7384 )
...
This PR fixes zero being displayed as empty in record cell and show page
in currency field #6802
I checked graphql resquests and the data is stored in the correct form
(0 or null). The problem only lies in the front end and how the field is
null checked.
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-03 11:41:50 +02:00
b8e406c13a
Fixed button group spacing of dropdown button ( #7409 )
...
#7386
---------
Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
2024-10-03 02:41:24 +05:30
2e962f8e0e
Vertically center Kanban card titles in compact mode ( #7391 )
...
This PR addresses the issue of[ Kanban card titles not being vertically
centered in compact
mode](https://github.com/twentyhq/twenty/issues/7385 ). The following
changes have been made:
Updated CSS styles to ensure that titles are properly aligned vertically
within their respective cards when in compact mode.
Enhanced overall readability and aesthetics of the Kanban board.
#7385

Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
2024-10-03 01:52:45 +05:30
b39d262058
fix: replace defaultProps with default parameters in SpreadsheetImport ( #7406 )
...
This PR addresses https://github.com/twentyhq/twenty/issues/6827
React has deprecated the use of `defaultProps` on function components
and will remove support in a future major release. This commit replaces
the usage of `defaultProps` in the `SpreadsheetImport` component with
default parameters to fix the following warning:
**Changes:**
- Removed `SpreadsheetImport.defaultProps =
defaultSpreadsheetImportProps;`
- Merged `defaultSpreadsheetImportProps` with incoming `props` using
object spread syntax.
- Adjusted the component to use the merged props (`mergedProps`) instead
of `props`.
2024-10-02 20:30:39 +02:00
83e43366bb
Delete button in right drawer / side pannel ( #7200 )
...
fixes #7069
@Bonapara
https://github.com/user-attachments/assets/b1b57070-1ef4-4cc3-9907-028219245558
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-02 20:22:55 +02:00
35788af351
TWNTY-6808 - Ability to Filter by Creation Source ( #7078 )
...
### Description
- Ability to Filter by Creation Source
### Demo
LOOM:
<https://www.loom.com/share/dba9c3d37a4242fe90f977b1babffbde?sid=59b07c51-d245-43cc-bb38-7d898ef72878 >
### Refs
#6808
Fixes #6808
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-10-02 17:56:09 +02:00
23001ac17d
Settings Advanced Mode ( #7130 )
...
### Description
- We implemented the Advanced Mode state and used this on a section of
the settings sidebar
- in DefaultLayout.tsx, was updated because of the 64 + 16(container
size of IconTool + the margins)
### <https://jam.dev/c/29bcec70-0b7f-4afa-98e6-9755657cf09d >
### Refs
#6147
Fixes #6147
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
2024-10-02 17:04:07 +02:00
57eaa01d35
Adjust Floating Input Padding and Border Color ( #7328 )
...
This PR fix the padding and border color of floating text input #7286
The text area automatically has padding of 4px so I reset it to 0 and
adjusting container padding to 8px.
2024-10-02 09:39:46 +02:00
d7dd41e7e4
Changed condition on which 'Add task' button is displayed ( #7333 ) ( #7362 )
...
This PR addresses issue #7333 . It updates the condition for displaying
the 'Add task' button. The button is now only visible for the 'TODO'
section or when no 'TODO' block is present (i.e., there are no tasks in
this category).
Additionally, I removed the unused showAddButton, which is no longer
necessary due to the updated logic.


---------
Co-authored-by: Nitin Koche <nitinkoche03@gmail.com >
2024-10-02 08:58:51 +02:00
35361093bf
Delete workflow step ( #7373 )
...
- Allows the deletion of triggers and steps in workflows. If the
workflow can not be edited right now, we create a new draft version.
- The workflow right drawer can now render nothing. It's necessary to
behave that way because a deleted step will still be displayed for a
short amount of time in the drawer. The drawer will be filled with blank
content when it disappears.
https://github.com/user-attachments/assets/abd5184e-d3db-4fe7-8870-ccc78ff23d41
Closes #7057
2024-10-01 18:14:54 +02:00
3a0c32a88d
fix: Remove many to many relation option ( #7360 )
...
## Description
- This PR addresses the issue #7359
2024-10-01 15:58:19 +02:00
c505a8edd2
minor fix - fixed forwardRef and unique key console errors ( #7337 )
...
context - #7183
2024-10-01 15:53:59 +02:00
cde255a031
Add workflow email action ( #7279 )
...
- Add the SAVE_EMAIL action. This action requires more setting
parameters than the Serverless Function action.
- Changed the way we computed the workflow diagram. It now preserves
some properties, like the `selected` property. That's necessary to not
close the right drawer when the workflow back-end data change.
- Added the possibility to set a label to a TextArea. This uses a
`<label>` HTML element and the `useId()` hook to create an id linking
the label with the input.
2024-10-01 14:22:14 +02:00
0d570caff5
Fix cursor should not be pointer when record image identifier is not Editable ( #7320 )
...
- This PR solves the issue Cursor should not be "pointer" when record
image identifier is not editable #7277
---------
Co-authored-by: Sachin KS <mac@apples-MacBook-Air.local >
2024-10-01 09:02:13 +02:00
06d4ba92e5
increase export feature page size ( #7341 )
...
## Context
Now that we have improved performances, we can increase the export
feature page size from 30 to 200 (and probably above if results are
good). This should be ok since we are only querying the first level of
an object and omit relations.
I've moved this value to a constant.
2024-09-30 15:45:17 +02:00