Charles Bochet
03204021cb
Refactor onboarding user vars to be absent when user is fully onboarded ( #6531 )
...
In this PR:
- take feedbacks from: https://github.com/twentyhq/twenty/pull/6530 /
https://github.com/twentyhq/twenty/pull/6529 /
https://github.com/twentyhq/twenty/pull/6526 /
https://github.com/twentyhq/twenty/pull/6512
- refactor onboarding uservars to be absent when the user is fully
onboarded: isStepComplete ==> isStepIncomplete
- introduce a new workspace.activationStatus: CREATION_ONGOING
I'm retesting the whole flow:
- with/without BILLING
- sign in with/without SSO
- sign up with/without SSO
- another workspaceMembers join the team
- subscriptionCanceled
- access to billingPortal
2024-08-04 20:37:36 +02:00
Charles Bochet
76185c2f68
Add command to backfill new onboarding user vars ( #6526 )
...
As per our guideline to maintain a smooth migration to the new minor
versions, this command is backfilling existing workspaces with the 3
userVars used to keep track of user onboarding:
```
ONBOARDING_CONNECT_ACCOUNT_COMPLETE = 'ONBOARDING_CONNECT_ACCOUNT_COMPLETE',
ONBOARDING_INVITE_TEAM_COMPLETE = 'ONBOARDING_INVITE_TEAM_COMPLETE',
ONBOARDING_CREATE_PROFILE_COMPLETE = 'ONBOARDING_CREATE_PROFILE_COMPLETE',
```
2024-08-04 01:04:13 +02:00
martmull and Charles Bochet
7cd5427589
Fix onboarding status performance issues ( #6512 )
...
Updated the onboardingStatus computation to improve performances
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-04 00:33:33 +02:00
Weiko
5870979bfa
Fix missing encoding in workspace-logo, members, person ( #6510 )
2024-08-02 15:18:48 +02:00
rostaklein and Weiko
a424c63476
file storage workspace id prefix ( #6230 )
...
closes https://github.com/twentyhq/twenty/issues/6155
just an idea, i guess this could work well, but im open for discussion
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-08-01 18:07:22 +02:00
Charles Bochet
ae7821ce70
Fast follows on new task/note behaviors ( #6477 )
...
In this PR, I'm fixing two issues that we have faced:
- computing a rich text first line in case of the first block content is
not a text
- migrating existing timelineActivities tied to tasks / notes to
linked-tasks / linked-notes during migration command
2024-07-31 17:49:56 +02:00
80c0fc7ff1
Activity as standard object ( #6219 )
...
In this PR I layout the first steps to migrate Activity to a traditional
Standard objects
Since this is a big transition, I'd rather split it into several
deployments / PRs
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/012e2bbf-9d1b-4723-aaf6-269ef588b050 ">
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: bosiraphael <71827178+bosiraphael@users.noreply.github.com >
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Faisal-imtiyaz123 <142205282+Faisal-imtiyaz123@users.noreply.github.com >
Co-authored-by: Prateek Jain <prateekj1171998@gmail.com >
2024-07-31 15:36:11 +02:00
Marie
b8496d22b6
Do not add 'https' prefix while migrating domainName if source url is empty ( #6471 )
2024-07-31 12:03:49 +02:00
Marie
7fe00b163e
Add logs and fix timestamps in migrate domain command ( #6468 )
2024-07-31 11:23:19 +02:00
bosiraphael and Charles Bochet
cd4263f7fd
6431 create new field activationStatus inside workspace table ( #6439 )
...
Closes #6431
- create new field `activationStatus`
- create migration commands
- add logic to update `activationStatus` on workspace activation and on
stripe subscriptionStatus change
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-30 12:36:39 +02:00
Marie
8e35edad30
Migrate domainName field from text type to links type ( #6410 )
...
Closes #5759 .
2024-07-30 11:47:37 +02:00
1529148c04
Updated MessageChannelSyncStatus enum: changed COMPLETED to ACTIVE ( #5965 )
...
Fixes #5961
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-25 21:17:55 +02:00
Marie
082d55beac
[fix] Migrated links field should be standard ( #6387 )
...
Fixing script + ading logs to sync-metadata
2024-07-24 12:16:14 +02:00
Charles Bochet
6c34ef9a14
Simplify ORM ( #6373 )
...
This PR refactors the ORM-Manager to simplify and unify the datasource
creation. I'm deprecating all usages if InjectWorkspaceDatasource and
InjectWorkspaceRepository as we can't be sure they are up-to-date
2024-07-23 14:13:16 +02:00
Marie
8d33264a7d
Migrate fields of deprecated type LINK to type LINKS ( #6332 )
...
Closes #5909 .
Adding a command to migrate fields of type Link to fields of type Links,
including their data.
2024-07-23 09:57:30 +02:00