Thomas Trompette
39076df922
Fix version status colored tag + fix trash icon hover ( #8618 )
...
As title
Closes
- https://discord.com/channels/1130383047699738754/1306250586668404736
- https://discord.com/channels/1130383047699738754/1305934421529985055
2024-11-20 18:42:57 +01:00
Thomas Trompette
2773974459
Add disable state to variable tag component ( #8586 )
...
- add hover on variables
- add disable state with readonly props
Disabled
<img width="284" alt="Capture d’écran 2024-11-19 à 16 12 10"
src="https://github.com/user-attachments/assets/19b21429-8500-4cdc-9914-22a7968beb64 ">
Normal
<img width="284" alt="Capture d’écran 2024-11-19 à 16 12 30"
src="https://github.com/user-attachments/assets/bc3be00f-944d-488c-bf05-a9f7b9f134c4 ">
2024-11-19 17:15:32 +00:00
Thomas Trompette
ba1c094775
Fix select filter eq ( #8594 )
...
Fix
https://discord.com/channels/1130383047699738754/1308384008043757640/1308384008043757640
2024-11-19 18:12:08 +01:00
Thomas Trompette
cdf0240ccb
Fix active navigation tab + quick workflows fixes ( #8567 )
...
- Active navigation tab hovered in show page
- remove timeline tab + rename workflow tab
- remove {{variable}} placeholder
- fix margin
- Workflow Runs and Versions show page title
<img width="807" alt="Capture d’écran 2024-11-18 à 18 23 12"
src="https://github.com/user-attachments/assets/688dfc67-362e-4f04-b436-3ff94d7e3e4a ">
2024-11-19 10:55:25 +00:00
Thomas Trompette
a0200e6d91
Fix workspace favorites in storybook ( #8519 )
...
- create mock page when user not logged in
- add mocks when user logged in
Reset password story
<img width="1073" alt="Capture d’écran 2024-11-15 à 16 49 31"
src="https://github.com/user-attachments/assets/5d70d587-8094-47ad-8029-d8c729bd298d ">
Record Index page story
<img width="1073" alt="Capture d’écran 2024-11-15 à 16 49 58"
src="https://github.com/user-attachments/assets/421772a9-62ee-4563-b492-5158db31fb9b ">
Reset password page
<img width="1031" alt="Capture d’écran 2024-11-15 à 16 50 18"
src="https://github.com/user-attachments/assets/2d1cb119-5e34-49d0-9cfa-2b856a96f39c ">
2024-11-18 12:08:05 +01:00
Thomas Trompette
54b28ff7ed
Enable workflow testing + fix header ( #8512 )
...
- clean execution header
- enable test on workflows + add snack bar
- display snack bar error if workflow cannot be tested
Behaviour still need to be validated by @Bonapara
<img width="880" alt="Capture d’écran 2024-11-15 à 12 16 36"
src="https://github.com/user-attachments/assets/1dab0c3b-157c-449f-aee7-4c8cf2e369a6 ">
<img width="880" alt="Capture d’écran 2024-11-15 à 12 16 48"
src="https://github.com/user-attachments/assets/16279611-0a58-4fe6-b117-0192714a6d5c ">
2024-11-15 18:38:39 +01:00
Thomas Trompette
a2a272fed4
Add crud actions ( #8500 )
...
Adding update / delete / find actions
Update and delete are not really different than creation.
Find uses the same logique as for graphql filters.
Expected formats are:
Filter
```
{
"and": [
{
"name": {
"eq": "salut"
}
},
{
"employees": {
"eq": "0"
}
}
]
}
```
Order
`[ { "name": 'AscNullsFirst' } ]`
2024-11-15 10:10:00 +01:00
Thomas Trompette
faeea2b887
Create record action ( #8460 )
...
- Add create record action
- Migrate all step name => action in a common folder
- Separate types
2024-11-13 15:21:40 +01:00
Thomas Trompette
813c57fba6
Create workflow setup command ( #8406 )
...
Steps to enable workflows:
- enable feature flags
- run metadata sync
- run this command
If the feature flag is not true, the command will fail. Which will be
useful to prevent seeding a wrong workspace.
Including a little fix for send email aciton error
2024-11-08 12:40:11 +01:00
Thomas Trompette
117e502e80
Clean available fields in variable dropdown ( #8371 )
...
As title
We do not want relations yet in picker
2024-11-06 16:54:23 +01:00
Thomas Trompette
be8141ce5e
Infer function input in workflow step ( #8308 )
...
- add `inputSchema` column in serverless function. This is an array of
parameters, with their name and type
- on serverless function id update, get the `inputSchema` + store empty
settings in step
- from step settings, build the form
TODO in next PR:
- use field type to decide what kind of form should be printed
- have a strategy to handle object as input
https://github.com/user-attachments/assets/ed96f919-24b5-4baf-a051-31f76f45e575
2024-11-05 14:57:06 +01:00
Thomas Trompette
74291e531c
Fix storybook tests ( #8260 )
...
Before
<img width="717" alt="Capture d’écran 2024-10-31 à 16 58 34"
src="https://github.com/user-attachments/assets/b8ec61f3-11c2-497f-9e4f-183b7989fb59 ">
After
<img width="717" alt="Capture d’écran 2024-10-31 à 16 58 14"
src="https://github.com/user-attachments/assets/8e0a1fbf-19c4-4cd0-ab7b-58ebb5ded1f5 ">
Before
<img width="586" alt="Capture d’écran 2024-10-31 à 16 57 59"
src="https://github.com/user-attachments/assets/eb6caf91-3953-4a8f-a847-17a50cc40d02 ">
After
<img width="586" alt="Capture d’écran 2024-10-31 à 16 57 29"
src="https://github.com/user-attachments/assets/9eee3502-66b4-41c9-a924-b5d3ddb921e3 ">
2024-10-31 17:19:44 +01:00
Thomas Trompette
f5bde0251b
Put back object type in settings form ( #8234 )
...
Before
<img width="673" alt="Capture d’écran 2024-10-31 à 11 15 27"
src="https://github.com/user-attachments/assets/78d81f5b-88c0-40b7-8901-104365ecdd49 ">
After
<img width="673" alt="Capture d’écran 2024-10-31 à 11 15 07"
src="https://github.com/user-attachments/assets/9427da22-a75b-4257-b948-28807b110b26 ">
2024-10-31 10:27:54 +00:00
Thomas Trompette
c7c16f7114
Fix date picker size ( #8216 )
...
<img width="760" alt="Capture d’écran 2024-10-30 à 16 54 19"
src="https://github.com/user-attachments/assets/b9b0f717-d93e-48d4-9df5-b817eab5b704 ">
2024-10-30 17:34:05 +01:00
Thomas Trompette
409def8431
Fix manual trigger output schema ( #8150 )
...
- add schema for manual trigger
- split into sub functions
- handle case with no variables
2024-10-28 17:42:09 +00:00
Thomas Trompette
2ba98ddadd
Handle NBSP in tiptap parsing ( #8148 )
...
Tiptap uses non breaking spaces between nodes (like variables). Those
html characters are not properly handles in emails. Replacing by regular
spaces during parsing.
I tried to fix it in settings but looks like this is only for preserving
those nbsp and not for removal (see
https://github.com/ueberdosis/tiptap/pull/254 )
2024-10-28 15:50:14 +01:00
Thomas Trompette
2e73d020a3
Text area using variables ( #8034 )
...
- Adding multiline props to component
- Update design and logic accordingly
- Fix hotkey scope for right drawer
https://github.com/user-attachments/assets/65ff9641-71a4-4828-a62b-e09327b63150
2024-10-25 12:55:56 +00:00
Thomas Trompette
2e8b8452c1
Add available variables dropdown ( #7964 )
...
- Add variable dropdown
- Insert variables on click
- Save variable as `{{stepName.object.myVar}}` and display only `myVar`
https://github.com/user-attachments/assets/9b49e32c-15e6-4b64-9901-0e63664bc3e8
2024-10-23 18:32:10 +02:00
Thomas Trompette
f338d01b4f
Build code introspection service ( #7760 )
...
Starting to use ts-morph to retrieve function parameters
2024-10-17 15:08:42 +02:00
Thomas Trompette
e811bae10e
Execute variables in action input ( #7715 )
...
- send context from all previous steps rather than unique payload
- wrap input data in settings into input field
- add email into send email action settings
- update output shape
<img width="553" alt="Capture d’écran 2024-10-15 à 15 21 32"
src="https://github.com/user-attachments/assets/0f5ed004-0d6e-4a59-969b-a5710f3f3985 ">
<img width="761" alt="Capture d’écran 2024-10-15 à 15 20 09"
src="https://github.com/user-attachments/assets/ac140846-c383-483b-968a-eab469b76785 ">
2024-10-16 14:32:06 +02:00
Thomas Trompette
c91a8c6abf
Check if relation before trying to input relation label ( #7605 )
...
Bug introduced by https://github.com/twentyhq/twenty/pull/7363
Input value was not set during edition for field that were not relations
Fixed
<img width="893" alt="Capture d’écran 2024-10-11 à 16 53 56"
src="https://github.com/user-attachments/assets/511077c6-5dff-49a1-b058-24a83d998dcf ">
2024-10-11 17:11:11 +02:00
Thomas Trompette
9a77386917
Fix workflow statuses ( #7555 )
...
Event was not emitted after first version insertion. So initial status
was not set.
Also adding workflow related objects to timeline activities.
2024-10-10 15:36:33 +02:00
Thomas Trompette
c055d167f2
Make workflow objects read only in frontend ( #7545 )
...
Expected behavior:
- workflows can be added and deleted. Only name field is editable
- versions and runs cannot be added nor deleted. No fields are editable
Added two new utils for those needs:
- `isReadOnlyObject` the similar logic between remote objects, versions
and runs
- `isFieldReadonlyFromObjectMetadataName` to easily block field edition
from object context
2024-10-10 15:29:43 +02:00
Thomas Trompette
10fa6e1a6f
Add margin bottom to all navigation drawer items ( #7544 )
...
<img width="259" alt="Capture d’écran 2024-10-09 à 15 43 39"
src="https://github.com/user-attachments/assets/4ddf2ca6-73a6-4d18-9ec6-83b30d66514f ">
<img width="259" alt="Capture d’écran 2024-10-09 à 15 43 49"
src="https://github.com/user-attachments/assets/a2c82fba-954a-4104-9a83-427d11644567 ">
2024-10-09 16:20:24 +02:00
Thomas Trompette
cbdd09b00e
Fix advanced settings animation ( #7497 )
...
As title
2024-10-08 17:14:50 +02:00
Thomas Trompette
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
Thomas Trompette
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
Thomas Trompette
b5d1486830
Fix currency input ( #7469 )
...
Fix https://github.com/twentyhq/twenty/issues/7458
2024-10-07 15:00:47 +02:00
Thomas Trompette
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
Thomas Trompette
ca027d6772
Add output to workflow run ( #7276 )
...
Example of output stored for following workflow:
<img width="244" alt="Capture d’écran 2024-09-27 à 11 18 06"
src="https://github.com/user-attachments/assets/722bfa96-2dd1-41f7-ab87-d39584ac9efc ">
Output:
```
{"steps": [
{"type": "CODE", "result": {"email": "test@twenty.com "}},
{"type": "SEND_EMAIL", "result": {"success": true}}
]}
```
2024-09-30 18:45:44 +02:00
Thomas Trompette
6736ca784b
Update clean view command + add dry run to favorite backfill ( #7268 )
...
Clean favorites associated with activities
2024-09-26 15:00:47 +02:00
Thomas Trompette
49b5e53ceb
Add index key to tasks and notes views ( #7241 )
...
Missing INDEX key for some tasks and notes views. We need it to backfill
favorites.
2024-09-25 11:51:25 +02:00
Thomas Trompette
bb875b1ea8
Fix lambda creation ( #7201 )
...
As title
2024-09-23 14:28:22 +02:00
Thomas Trompette
c8c1890ad7
Safely parse phone numbers before display ( #7186 )
...
Timeline activity properties are stored as string rather than array.
Adding a safe parsing in front. Would be better to also update in
backend but doing this as a quick fix
2024-09-20 17:40:12 +02:00
Thomas Trompette
8964d26d5b
Clean views without object metadata ( #7153 )
...
Add command for cleaning + clean on object deletion
2024-09-19 18:13:07 +02:00
Thomas Trompette and Charles Bochet
b1cb8998f8
Backfill workspace favorites ( #7122 )
...
- command to backfill workspace favorites
- create workspace favorites on workspace activation
- create workspace favorites on demo seed
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-09-18 18:26:55 +02:00
Thomas Trompette
741a969cc1
Add fail on metadata cache miss ( #7118 )
...
- avoid failing when missing cache (used for command)
- remove unused load cache function. Cache will be always re-created
when trying to fetch if not existing
2024-09-18 15:40:24 +02:00
Thomas Trompette
78d8df6a68
Add workspace favorites behind feature flag ( #6904 )
...
- make member nullable on favorites
- add potential relation with view entity
- add a new type of favorite list in front : workspace favorite
- build a new component for retrieving workspace favorite to display +
refacto the existing one
Bonus:
- removing activities seed since this is deprecated
2024-09-05 16:41:06 +02:00
Thomas Trompette
44ff55f550
Enable payload without status update ( #6881 )
...
As title
2024-09-03 17:24:29 +02:00
Thomas Trompette
50a65ef46b
Add workflow query hooks ( #6876 )
...
Workflow version :
- prevent status to be update manually
- prevent creation / deletion in another status than draft
- prevent creation if a draft already exists
Workflow:
- prevent statuses to set manually
WorkflowRun:
- prevent all manual operations
2024-09-03 17:07:22 +02:00
Thomas Trompette
329e7364a4
Prevent workflow version from bad update ( #6848 )
...
Closes https://github.com/twentyhq/twenty/issues/6840
- Add query-hooks folder in common. Will be followed by hooks for
workflows and runs
- When updating a version, ensure the status is draft and that the
status is not manually updated
2024-09-02 16:20:20 +02:00
Thomas Trompette
a3ea0acd1a
Set statuses on workflows ( #6792 )
...
Add listener to keep status on workflows up to date:
- version draft => statuses should contain draft
- version active => statuses should contain active
- version deactivated => if no version active, statuses should contain
deactivated
Renaming also the endpoints because it was not reflecting the full
behaviour.
Finally, adding a new status Archived for versions. Will be used when a
version is deactivated, but is not the last published version anymore.
It means this version cannot be re-activated.
2024-08-30 18:06:04 +02:00
Thomas Trompette
8982a5833c
Bump version to 0.24 ( #6789 )
...
As title
2024-08-29 18:22:48 +02:00
Thomas Trompette
ff1adb06b2
Add workflow statuses ( #6765 )
...
Following figma updates
https://www.figma.com/design/PNBfTgOVraw557OXChYagk/Explo?node-id=21872-7929&t=DOUzd6rzwr6lprcs-0
- No activity targets for workflow entities for now
- Adding a direct relation between workflow run et workflow
- Adding a status on the version (draft, active, deactivated)
- Adding a list of statuses on workflow
- publishedVersionId => lastPublishedVersionId
Also adding:
- the endpoint to deactivate a version
2024-08-28 14:53:25 +02:00
Thomas Trompette
9f69383aa2
Add function execution throttler ( #6742 )
...
Add throttler service to limit the number of function execution
2024-08-27 18:56:47 +02:00
Thomas Trompette
0a7700351f
Update workflow version struct ( #6716 )
...
We want to avoid the nested structure of active pieces. Steps to execute
will now be separated from the trigger. It will be an array executed
sequentially.
For now a step can only be an action. But at some point it will also be
a branch or a loop
2024-08-22 17:59:16 +02:00
Thomas Trompette
be50a6256f
Check workflow version is valid before publishing ( #6702 )
...
Fix https://github.com/twentyhq/twenty/issues/6670
2024-08-21 17:56:33 +02:00
Thomas Trompette
663acd56e4
Trigger workflow run manually ( #6696 )
...
Fix https://github.com/twentyhq/twenty/issues/6669
- create a commun function `startWorkflowRun` that both create the run
object and the job for executing the workflow
- use it in both the `workflowEventJob` and the `runWorkflowVersion`
endpoint
Bonus:
- use filtering for exceptions instead of a util. It avoids doing a try
catch in all endpoint
2024-08-21 17:41:26 +02:00
Thomas Trompette
6927f46e1c
Migrate to workspace services ( #6628 )
...
As title
2024-08-14 18:46:36 +02:00
Thomas Trompette
9e7714e627
Add workflow run entity ( #6622 )
...
- create a workflow run every time a workflow is triggered in
not_started status. This status will be helpful later for once workflows
will be scheduled
- update run status once workflow starts running
- complete status once the workflow finished running
- add a failed status if an error occurs
2024-08-14 18:27:32 +02:00
Thomas Trompette
0f75e14ab2
Create default view for workflows + fix task and note targets ( #6620 )
...
As title
2024-08-14 12:04:41 +02:00
Thomas Trompette
39512a779e
Fix storybook tests ( #6594 )
...
As title
2024-08-09 19:39:16 +02:00
Thomas Trompette
ab12d9e8da
Fix perf tests storybook ( #6584 )
...
As title
2024-08-08 21:43:02 +02:00
Thomas Trompette
a0e5ca44ba
Fix last batch of jest tests ( #6582 )
...
As title
2024-08-08 15:53:17 +02:00
Thomas Trompette
74229a80c8
Fix broken tests batch 2 ( #6573 )
...
As title
2024-08-08 11:16:59 +02:00
Thomas Trompette and Weiko
12e55fd5b7
Bump version to 0.23.1 ( #6567 )
...
As title
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-08-07 17:09:30 +02:00
Thomas Trompette
9a0c9672a0
Fix createdBy and activity tests ( #6569 )
...
As title
2024-08-07 16:21:06 +02:00
Thomas Trompette and Weiko
2abb6adb61
Build exceptions and handler ( #6459 )
...
Adding exceptions and handler for auth services.
Tested with:
- Workspace creation
- Workspace signup
- Workspace invitation
- Reset password
- Adding email account
- Impersonation
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-08-07 11:42:49 +02:00
Thomas Trompette
1ed31d9d68
Force order in navigation panel for notes and tasks ( #6557 )
...
As title. Tasks and Notes order sometimes change
2024-08-06 18:24:33 +02:00
Thomas Trompette
67c41251fb
Make bool fields editable again ( #6551 )
...
As title
2024-08-06 13:50:55 +02:00
Thomas Trompette and Félix Malfait
277c51d58e
Add note and task target relation creation for customs ( #6515 )
...
As title
Urgent bug to fix, I will take the time to refacto this code next week
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-08-02 18:04:32 +02:00
Thomas Trompette
0c036efcc4
Remove duplicated index from view picker ( #6514 )
...
<img width="815" alt="Capture d’écran 2024-08-02 à 15 15 51"
src="https://github.com/user-attachments/assets/0b192091-39f9-46c4-80b8-3c1a97f00480 ">
2024-08-02 15:18:29 +02:00
Thomas Trompette
950882d9fa
Fix title padding and style on task and attachment ( #6509 )
...
Fix https://github.com/twentyhq/twenty/issues/5923
<img width="593" alt="Capture d’écran 2024-08-02 à 12 09 24"
src="https://github.com/user-attachments/assets/a1c84060-9b32-4780-beb7-f44b85e49d07 ">
<img width="593" alt="Capture d’écran 2024-08-02 à 12 09 29"
src="https://github.com/user-attachments/assets/641cab31-723c-4253-9c3c-00fef70f2d06 ">
<img width="593" alt="Capture d’écran 2024-08-02 à 12 09 33"
src="https://github.com/user-attachments/assets/ba2adcb6-7651-4288-91f3-304d13c3e7bd ">
2024-08-02 15:01:54 +02:00
Thomas Trompette
931a19260f
Fix label fonts in timeline events ( #6511 )
...
As title
2024-08-02 14:53:59 +02:00
Thomas Trompette
8c8f192765
Trigger workflow on database event ( #6480 )
...
- Add global listener on database event
- Fetch event listener associated
- Trigger associated workflow
Also updated the runner so it expects the input to be in the payload
rather than the trigger
2024-08-01 11:57:44 +02:00
Thomas Trompette
68e3730be1
Fix base graphql error message ( #6457 )
...
Display error message instead of name
<img width="762" alt="Capture d’écran 2024-07-30 à 15 51 07"
src="https://github.com/user-attachments/assets/a6b49254-a99e-42fc-8704-089f38bf8e7b ">
2024-07-30 15:55:57 +02:00
Thomas Trompette
e3496a19b5
Move folder ( #6451 )
...
Fix folder mistake
2024-07-30 14:16:23 +02:00
Thomas Trompette
ee14f25996
Add enable workflow trigger endpoint ( #6443 )
...
Basic endpoint that only returns a boolean currently and overrides the
previous listener.
2024-07-30 14:00:37 +02:00
Thomas Trompette and Charles Bochet
515d6fb1c5
Filter out by error code + invert filtering ( #6432 )
...
As title
Instance of not working well.
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-29 16:18:23 +02:00
Thomas Trompette and Charles Bochet
3060eb4e1e
Handle query runner errors ( #6424 )
...
- Throw service error from query runner
- Catch in resolver factories
- Map to graphql errors
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-27 12:27:04 +02:00
Thomas Trompette
368f142f3a
Delete cache version on reset db ( #6426 )
...
As title
2024-07-27 11:54:03 +02:00
Thomas Trompette
ce68f8ac79
Add workflow and version as standard object ( #6412 )
...
As title
Hidden behind a feature flag.
2024-07-25 18:33:11 +02:00
Thomas Trompette
34cbba5fd8
Add interceptors for auto-resolvers ( #6270 )
...
Services exceptions are not catch when the endpoint comes from an
auto-resolver.
We want to remove auto-resolver but it requires to implement pagination
by ourselves.
As a quick fix, here are interceptors that will trigger the exception
handler.
I had a hard time making it generic so I finally added one interceptor
for each since this is not supposed to stay
2024-07-16 10:49:18 +02:00
Thomas Trompette
4183e5460d
Use return await to catch exceptions ( #6109 )
...
So the exceptions are handled properly and filtered in sentry
2024-07-03 11:14:28 +02:00
Thomas Trompette
bb627a91e2
Use invalid field input error for invalid object metadata input ( #6083 )
...
As title
2024-07-01 16:33:48 +02:00
Thomas Trompette
a15884ea0a
Add exceptions for metadata modules ( #6070 )
...
Class exception for each metadata module + handler to map on graphql
error
TODO left :
- find a way to call handler on auto-resolvers nestjs query (probably
interceptors)
- discuss what should be done for pre-hooks errors
- discuss what should be done for Unauthorized exception
2024-07-01 13:49:17 +02:00
Thomas Trompette and Lucas Bordeau
9a4a2e4ca9
Fix links chip design ( #5963 )
...
Fix https://github.com/twentyhq/twenty/issues/5938 and
https://github.com/twentyhq/twenty/issues/5655
- Make sure chip count is displayed
- Fix padding
- Fix background colors, border
- Add hover and active states
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-06-21 16:15:17 +02:00
Thomas Trompette
68e20c0e87
Add disabled style on non-draggable menu items ( #5974 )
...
Closes https://github.com/twentyhq/twenty/issues/5653
<img width="256" alt="Capture d’écran 2024-06-20 à 17 19 44"
src="https://github.com/twentyhq/twenty/assets/22936103/c9d7e58f-818b-44f2-8aa4-4d85c8e1b6be ">
<img width="231" alt="Capture d’écran 2024-06-20 à 17 20 03"
src="https://github.com/twentyhq/twenty/assets/22936103/5e981e93-9d59-403a-bb6b-0ff75151ace2 ">
2024-06-21 14:42:48 +02:00
Thomas Trompette
ff21396bc6
[Bug] Put back subject is email right drawer ( #5955 )
...
Fix https://github.com/twentyhq/twenty/issues/5903
2024-06-19 14:48:09 +02:00
Thomas Trompette
96da777107
Handle no concurrency option ( #5952 )
...
Fix error in local `teamConcurrency must be an integer between 1 and
1000`
2024-06-19 11:54:11 +02:00
Thomas Trompette
d045bcbb94
Add http status to graphql errors ( #5896 )
...
Graphql errors are not properly filtered by our handler. We still
receive errors like `NOT_FOUND` in sentry while they should be filtered.
Example
[here](https://twenty-v7.sentry.io/issues/5490383016/?environment=prod&project=4507072499810304&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&statsPeriod=7d&stream_index=6 ).
We associate statuses with errors in our map
`graphQLPredefinedExceptions` but we cannot retrieve the status from the
error.
This PR lists the codes that should be filtered.
To test:
- call `findDuplicates` with an invalid id
- before, server would breaks
- now the error is simply returned
2024-06-19 10:39:09 +02:00
Thomas Trompette
6b1548ebbe
Add loader and transition for details page tabs ( #5935 )
...
Closes https://github.com/twentyhq/twenty/issues/5656
https://github.com/twentyhq/twenty/assets/22936103/3e4beea2-9aa9-4015-bb99-ee22adb53b63
2024-06-18 18:38:14 +02:00
Thomas Trompette
de2b0527a3
Fix secondaryLinks field input ( #5911 )
...
PR https://github.com/twentyhq/twenty/pull/5785/files broke links
update.
Also, dropdown "Add link" will be displayed only if a link is already
added. Otherwise, it should be a normal input.
2024-06-17 18:09:46 +02:00
Thomas Trompette
dba0b28eae
Fix verticale line timeline activity ( #5894 )
...
Before
<img width="400" alt="Capture d’écran 2024-06-17 à 10 23 17"
src="https://github.com/twentyhq/twenty/assets/22936103/01408d7b-9a6c-4a21-9f08-c8cf304e2ea0 ">
After
<img width="400" alt="Capture d’écran 2024-06-17 à 10 05 39"
src="https://github.com/twentyhq/twenty/assets/22936103/df384726-bbf9-4828-ad47-d1c91724947d ">
2024-06-17 11:54:04 +02:00
Thomas Trompette
00d2294728
Add label to mocked connections ( #5858 )
...
<img width="865" alt="Capture d’écran 2024-06-13 à 17 48 03"
src="https://github.com/twentyhq/twenty/assets/22936103/2d313448-fbd5-4ff1-a65b-afd4df86117a ">
2024-06-13 18:56:55 +02:00
Thomas Trompette
007e0e8b0e
Fix event value elipsis ( #5840 )
...
<img width="400" alt="Capture d’écran 2024-06-12 à 14 41 08"
src="https://github.com/twentyhq/twenty/assets/22936103/12d333a9-16ce-45f3-a1eb-060bf77bae96 ">
<img width="400" alt="Capture d’écran 2024-06-12 à 16 47 53"
src="https://github.com/twentyhq/twenty/assets/22936103/6e154936-82d6-4e19-af4c-e6036b01dd04 ">
<img width="400" alt="Capture d’écran 2024-06-12 à 16 52 48"
src="https://github.com/twentyhq/twenty/assets/22936103/6440af6b-ea40-4321-942a-a6e728a78104 ">
2024-06-12 17:30:59 +02:00
Thomas Trompette
1208fed7b3
Add endpoint to create postgres credentials ( #5767 )
...
First step for creating credentials for database proxy.
In next PRs:
- When calling endpoint, create database Postgres on proxy server
- Setup user on database using postgresCredentials
- Build remote server on DB to access workspace data
2024-06-07 14:45:24 +02:00
Thomas Trompette
9567103d5f
Remove check unique position ( #5760 )
...
Currently position can be the same for records displayed in a board
view.
Removing unicity check until we find a new startegy.
2024-06-06 11:00:46 +02:00
Thomas Trompette
c5d5d18347
Remove checkbox padding ( #5733 )
...
Regression has been introduced by this PR
https://github.com/twentyhq/twenty/pull/4883
Production
<img width="885" alt="Capture d’écran 2024-06-04 à 14 51 19"
src="https://github.com/twentyhq/twenty/assets/22936103/ad6d8490-815c-485a-b9c0-945aa7fba45c ">
After fix
<img width="885" alt="Capture d’écran 2024-06-04 à 14 51 41"
src="https://github.com/twentyhq/twenty/assets/22936103/72fd6094-21c2-4737-bd20-0faf9adceb38 ">
2024-06-04 15:02:19 +02:00
Thomas Trompette
25f4e44aec
Add backfill position job by workspace ( #5725 )
...
- Removing existing listener that was backfilling created records
without position
- Switch to a job that backfill all objects within workspace
- Adapting `FIND_BY_POSITION` so it can fetch objects without position.
Currently we needed to input a number
2024-06-04 14:10:58 +02:00
Thomas Trompette
b1f12d7257
Fix input position backfill ( #5731 )
...
Some objects do not have position field so they should not be backfilled
2024-06-04 13:26:40 +02:00
Thomas Trompette
2886664b62
Backfill position when not input ( #5696 )
...
- refactor record position factory and record position query factory
- override position if not present during createMany
To avoid overriding the same positions for all data in createMany, the
logic is:
- if inserted last, use last position + arg index + 1
- if inserted first, use first position - arg index - 1
2024-06-03 15:18:01 +02:00
Thomas Trompette
9fd761dd10
Remove else if on position calculation ( #5691 )
...
As title
2024-05-31 14:31:37 +02:00
Thomas Trompette
fbd8714c76
Make positions possibly negatives ( #5690 )
...
Closes https://github.com/twentyhq/twenty/issues/5427
2024-05-31 14:17:49 +02:00
Thomas Trompette
fe941c64be
Build empty state for remote tables ( #5652 )
...
Remote tables could be in an empty state because:
- either we do not have data, which is normal
- either the connexion is broken (issue with the server, table requires
updates...)
Apollo throws errors but these will quickly disappear and do not provide
any tips to the user on how handle those.
This PR adds a new empty state placeholder for remote objects, that will
be display when the record list is empty. It will provide a link to the
settings page.
<img width="1512" alt="Capture d’écran 2024-05-30 à 11 49 33"
src="https://github.com/twentyhq/twenty/assets/22936103/fc2dd3cc-e90b-4033-b023-83ac9ff2a70b ">
2024-05-31 11:24:42 +02:00
Thomas Trompette
c60a3e49cd
Catch query timeout exceptions ( #5680 )
...
Query read timeouts happen when a remote server is not available. It
breaks:
- the remote server show page
- the record table page of imported remote tables
This PR will catch the exception so it does not go to Sentry in both
cases.
Also did 2 renaming.
2024-05-31 10:39:35 +02:00
Thomas Trompette
ebb1aa0377
Add label to remote server ( #5637 )
...
Added label on remote server entity.
Also added the possibility to update schema.
<img width="688" alt="Capture d’écran 2024-05-28 à 15 36 31"
src="https://github.com/twentyhq/twenty/assets/22936103/c9786122-8459-4876-833e-c9a1d7d27829 ">
2024-05-28 15:54:57 +02:00
Thomas Trompette
ae6d5afdfc
Add missing stripe tables ( #5621 )
...
As title
Still adding not working tables / columns commented so we know why these
are not available.
2024-05-28 11:32:57 +02:00
Thomas Trompette
18fafbdeb5
Rename findAvailableTables endpoint ( #5557 )
...
As title
2024-05-24 10:57:46 +02:00
Thomas Trompette
fede721ba8
Add sorter for distant tables ( #5546 )
...
As title
2024-05-23 22:36:50 +02:00