cddc92c00f
Display workflow visualizer on show page ( #6894 )
...
- Removed the route I previously used to visualize workflows
- Created another tab in the `<ShowPageRightContainer />` component in
which we display the visualizer
Questions:
- Should I use a feature flag to hide the feature?
Closes #6858
2024-09-05 16:41:36 +02:00
7e03419c16
Serverless function improvements ( #6769 )
...
- add layer for lambda execution
- add layer for local execution
- add package resolve for the monaco editor
- add route to get installed package for serverless functions
- add layer versioning
2024-09-02 15:25:20 +02:00
f7c99ddc7a
Create new steps in workflow editor ( #6764 )
...
This PR adds the possibility of creating new steps. For now, only
actions are available. The steps are stored on the server, and the
visualizer is reloaded to include them.
Selecting a step opens the right drawer and shows its details. For now,
it's only the id of the step, but in the future, it will be the
parameters of the step.
In the future we'll want to let users add steps at any point in the
diagram. As a consequence, it's crucial to be able to walk in the tree
that make the steps to find the correct place where to put the new step.
I wrote a function that returns where the new step should be inserted.
This function will become recursive once we get branching implemented.
Things to mention:
- Reactflow needs every node and edge to have a unique identifier. In
this PR, I chose to use steps' id as nodes' id. That way, it's easy to
move from a node to a step, which helps make operations on a step
without resolving the step's id from the node's id.
2024-08-30 15:51:36 +02:00
747a1549e9
fix: defaultHomePagePath to be last visited page or alphatically first active object with the name ( #6629 )
...
### ISSUE
- Closes #6612
- Closes #6125
- Closes #5949
- Closes #6652
### Description
- [x] need to check changes in jest test.
- [x] fallback to alphabetically firstActiveObject with the name if no
last visited exist
https://github.com/user-attachments/assets/dd11480b-c47f-4393-9857-8a55467061e3
- [x] fallback to last visited page with the last visited view by
default if no views would have toggled with subNav or viewChangeDropdown
it will fallback to INDEX or if no INDEX view then zero position view,
works with both subNavViewBar and viewChangeDropdown.
https://github.com/user-attachments/assets/33e97e55-2aa2-4c45-a3ab-fc8e43f4964c
https://github.com/user-attachments/assets/d1db76a2-da59-4cd2-81bf-d6119408fbbf
- [x] lastVisited view across the objects have been persisted so now
navigating back from x object to y or z to x will open always last
visited view and defaults to index or zero position view.
https://github.com/user-attachments/assets/70a01a11-a7ef-4031-926e-02923551466c
- [x] lastVisited Page with view has been persisted across the
workspace, scope is per workspace so jumping between workspace will also
work to have lastvisited object of particular workspace.
https://github.com/user-attachments/assets/25107339-8ec1-4421-9f6e-1da43b8f4816
- [x] when lastVisitedObject has been deactivated and going back from
settings should have a fallback Object that is alphabetically First
activeObject.
https://github.com/user-attachments/assets/6b24a933-b139-49ac-82b2-eac5e4848516
- [x] Creation of new View of **anyType** should also get persist and
that should get lastVisitedObject with View in case the user leaves from
there right away.
https://github.com/user-attachments/assets/80ff7114-051d-4e9b-ab58-0e1e3a7d328c
- [x] Similarly deleted view also works.
https://github.com/user-attachments/assets/cb0b8043-fba4-4a66-941d-b3fa0a57eb22
- [x] fixed active subnav background when opening object directly with
root path **/** , it wasn't showing active subNav background.
Before:
https://github.com/user-attachments/assets/db341c4a-f1f9-43c4-9838-37d1a1f5ab8e
Fixed:
https://github.com/user-attachments/assets/0f0fd492-bc5d-4efe-b695-bee4e3f41d4e
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-28 17:15:54 +02:00
5d8162dc09
Added hotkeyScopes to serverless functions in settings ( #6710 )
...
Fixes #6656
Is this the right way to implement keyboard listeners?
Please let me know, I'll make the changes accordingly.
:)
https://github.com/user-attachments/assets/af71d340-ead9-4659-81e6-a440522a194f
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-23 16:54:21 +02:00
5404a8ba2d
fixes #6499 alignment issue on workspace switcher ( #6589 )
...
fix #6499
- fix the size of workspace switcher to 32px from 40px

- fix alignment issues

---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-16 15:31:04 +02:00
08c7947b3b
Use twentyORM in Timeline messaging ( #6595 )
...
- Remove raw queries and replace them by using `twentyORM`
- Refactor into services and utils
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-15 10:15:32 +02:00
774cb554f4
removed @blocknote/core from dependencies ( #6580 )
...
Fixes #6564 & #6561
@FelixMalfait
Removed @blocknote/core from dependencies
https://github.com/user-attachments/assets/ef6acfff-2945-4062-a35c-21dd108a4345
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-08-08 15:44:09 +02:00
74229a80c8
Fix broken tests batch 2 ( #6573 )
...
As title
2024-08-08 11:16:59 +02:00
e2b42ee6c9
Allow free access for configuration using billing
2024-08-04 01:37:53 +02:00
281bf689fa
Make api name editable and add expiry ( #6473 )
...
Fixes #6302
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-08-02 13:31:06 +02:00
1b0759ef2f
Fix post merge revamp navigation bar ( #6297 )
...
Closes #6285
@charlesBochet Also added some more utils for our component state v2.
2024-07-19 14:24:47 +02:00
4a67cfa1c3
feat: Revamp navigation bar ( #6031 )
...
closes : #4428
Testing for fetchMoreRecords is pending, along with component tests
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-07-16 14:38:17 +02:00
b8f33f6f59
5095 move onboardingstatus computation from frontend to backend ( #5954 )
...
- move front `onboardingStatus` computing to server side
- add logic to `useSetNextOnboardingStatus`
- update some missing redirections in
`usePageChangeEffectNavigateLocation`
- separate subscriptionStatus from onboardingStatus
2024-06-28 17:32:02 +02:00
b26fd00a40
5663 i should be able to accept an invite even if i have an inactive workspace ( #5839 )
...
- make invitation and reset password available on every page
- add a sleep after setKeyPair as tokens are sometimes not updated when
redirecting to Index
- refactor sleep
2024-06-13 11:47:00 +02:00
3986824017
5623 add an inviteteam onboarding step ( #5769 )
...
## Changes
- add a new invite Team onboarding step
- update currentUser.state to currentUser.onboardingStep
## Edge cases
We will never display invite team onboarding step
- if number of workspaceMember > 1
- if a workspaceMember as been deleted
## Important changes
Update typeorm package version to 0.3.20 because we needed a fix on
`indexPredicates` pushed in 0.3.20 version
(https://github.com/typeorm/typeorm/issues/10191 )
## Result
<img width="844" alt="image"
src="https://github.com/twentyhq/twenty/assets/29927851/0dab54cf-7c66-4c64-b0c9-b0973889a148 ">
https://github.com/twentyhq/twenty/assets/29927851/13268d0a-cfa7-42a4-84c6-9e1fbbe48912
2024-06-12 21:13:18 +02:00
9f6a6c3282
5622 add a syncemail onboarding step ( #5689 )
...
- add sync email onboarding step
- refactor calendar and email visibility enums
- add a new table `keyValuePair` in `core` schema
- add a new resolved boolean field `skipSyncEmail` in current user
https://github.com/twentyhq/twenty/assets/29927851/de791475-5bfe-47f9-8e90-76c349fba56f
2024-06-05 18:16:53 +02:00
9080981990
5509 remove flash on intermediate verify step when sign in with sso ( #5526 )
...
- remove flash on /verify
- remove flash on signInUp
- remove useless redirections and hooks
- Remove DefaultHomePage component
- Move redirections to /objects/companies in PageChangeEffect
- add useShowAuthModal hooks and tests
- add usePageChangeEffectNaviteLocation hooks and tests
- fix refresh token expired produces blank screen
2024-05-25 10:36:59 +02:00
0e525caf01
Implement <ScrollRestoration /> ( #5086 )
...
### Description
Implement <ScrollRestoration />
### Refs
[https://github.com/twentyhq/twenty/issues/4357 ](https://github.com/twentyhq/twenty/issues/4183 )
### Demo
https://github.com/twentyhq/twenty/assets/140154534/321242e1-4751-4204-8c86-e9b921c1733e
Fixes #4357
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
2024-05-17 16:36:28 +02: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
afb9b3e375
Prefetching views and favorites ( #4421 )
...
* wip
* Push
* Complete work on prefetch
* Add comment
* Fix
* Fix
* Fix
* Fix
* Remove dead code
* Simplify
* Fix tests
* Fix tests
* Fix according to review
* Fix according to review
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-15 18:35:40 +01:00
ec384cc791
Implement eager load relations on graphqlQueries ( #4391 )
...
* Implement eager load relations on graphqlQueries
* Fix tests
* Fixes
* Fixes
2024-03-10 23:42:23 +01:00
f1b3d1537a
Load views on user load and read in cache ( #3552 )
...
* WIP
* Poc
* Use cached root query + remove proloaded views state
* Fix storybook test + fix codegen
* Return default schema if token is absent, unauthenticated if token is invalid
* Use enum instead of bool
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-22 16:00:16 +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
5f7442cf23
Add jest tests for twenty-front ( #2983 )
...
* Add jest tests for twenty-front
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix tests
---------
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 >
2023-12-15 10:53:20 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00