-
Notifications
You must be signed in to change notification settings - Fork 97
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
fix: separated vestingSchedule #458
fix: separated vestingSchedule #458
Conversation
separated vestingSchedule into cliffYears and vestingYears updated prisma tables for Share and Options to separate vestingSchedule into cliffYears and vestingYears with respectable trpc types and updated Shares and Options modal to separate vestingSchedule into two columns cliffYears and vestingYears
Thank you for following the naming conventions for pull request titles! 🙏 |
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.
Thanks for submitting this PR @Alfredoeb9.
There are some build errors
You can always make sure the build works by running pnpm build
fixed build errors, had to remove vestingSchedule from GET request on getSharesProcedure and getOptionsProcedure and replace with cliffYears and vestingYears
…oeb9/captable into separate-vesting-schedule
removed vestingSchedule at server level and replaced with cliffYears and vestingYears as vestingSchedule was separted into two fields
updated default value from empty string to 0 as default types for fields are numbers
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.
Looks like we have additional build errors @Alfredoeb9
https://github.com/captableinc/captable/actions/runs/10035838246/job/27732505821?pr=458
c29f11a
to
41e3560
Compare
Fixed build errors mentioned above and tested build and passed with npm build command and with docker compose up --build |
Getting inconsistent webpack build errors when running docker compose up nuking branch and setting up again I nuked my local project and cloned again ran docker compose up and still received same webpack error as above. I nuked the local project again and cloned, I then reverted back one commit when I did not see webpack errors from screenshot, ran docker compose up and received same webpack error. I nuked the local project again and cloned, I then reverted back two commits when I did not see the webpack errors from screenshot, ran docker compose up and received same webpack error. With these findings i'm not sure what could have caused the error on screenshot. |
After updating docker application, I am no longer seeing random webpack errors and application is running as expected locally. Successful build on pnpm build and docker compose up --build |
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 Completed
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.
🚀
Issue
Issue: #454
Description
separated vestingSchedule into cliffYears and vestingYears
updated prisma tables for Share and Options to separate vestingSchedule into cliffYears and vestingYears with respectable trpc types and updated Shares and Options modal to separate vestingSchedule into two columns cliffYears and vestingYears