-
Notifications
You must be signed in to change notification settings - Fork 280
User based onboarding #2070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
User based onboarding #2070
Conversation
d3284b9 to
9bfc4d8
Compare
| const [selectedFramework, setSelectedFramework] = | ||
| useState<FrameworkDefinition | null>(null) | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not reuse the PageTrackingWrapper component we use in the other onboarding instead of this useEffect?
71ff099 to
acc7cda
Compare
acc7cda to
545320c
Compare
| ALTER TABLE "latitude"."document_logs" ALTER COLUMN "source" SET DATA TYPE "latitude"."log_source" USING "source"::"latitude"."log_source";--> statement-breakpoint | ||
| ALTER TABLE "latitude"."provider_logs" ALTER COLUMN "source" SET DATA TYPE "latitude"."log_source" USING "source"::"latitude"."log_source";--> statement-breakpoint | ||
| ALTER TABLE "latitude"."evaluation_results" ALTER COLUMN "source" SET DATA TYPE "latitude"."log_source" USING "source"::"latitude"."log_source";--> statement-breakpoint | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| // Should be Feb 28, 2025 | ||
| expect(result).toEqual(new Date(2025, 1, 28)) | ||
| }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these tests are removed? How are related?
| const lastDayOfMonth = new Date(adjustedYear, adjustedMonth + 1, 0).getDate() | ||
| const clampedDay = Math.min(renewalDay, lastDayOfMonth) | ||
|
|
||
| return new Date(adjustedYear, adjustedMonth, clampedDay) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh is related with this but looks unrelated to onboarding
andresgutgon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review cursed enum migration and 👍
Moved the Onboarding completion tracking from Workspace to User. Now, every new user will go through the Onboarding! Independently of Workspace.