Skip to content
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

Milo/duplicate plan button #707

Merged
merged 6 commits into from
Feb 25, 2024
Merged

Milo/duplicate plan button #707

merged 6 commits into from
Feb 25, 2024

Conversation

yijen-sun
Copy link
Contributor

@yijen-sun yijen-sun commented Feb 11, 2024

Description

Added duplicate plan button that creates a copy of the current plan as a new plan.
Disabled the Add Plan button and the Duplicate Plan button on guest mode when the maximum number of plans (5) has been reached. This is because the local storage that guest data is stored on is limited and will cause issues lol

Screen.Recording.2024-02-11.at.3.38.36.PM.1.1.mov

Closes #690
Closes #692

Type of change

Please tick the boxes that best match your changes.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • This requires a run of yarn install
  • This has migration changes and requires a run of yarn dev:migration:run

How Has This Been Tested?

Please describe how you tested this PR (both manually and with tests) Provide instructions so we can reproduce.

Manually tested

Checklist:

  • I have run the production builds in docker for the frontend/backend and ensure things run fine. Check README of repo on how to run if not sure.
  • I have performed a self-review of my own code
  • I have commented my code where needed
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I've run the end to end tests
  • Any dependent changes have been merged and published in downstream modules

Copy link

vercel bot commented Feb 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graduatenu-frontend-v2 ❌ Failed (Inspect) Feb 16, 2024 8:14pm

@AngelaZQ1
Copy link
Contributor

404k additions 💀

46mb.json Outdated Show resolved Hide resolved
ls.json Outdated Show resolved Hide resolved
packages/frontend/components/Plan/DuplicatePlanButton.tsx Outdated Show resolved Hide resolved
packages/frontend/pages/home.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@KobeZ123 KobeZ123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@Suraj-Ram Suraj-Ram merged commit ffa5114 into main Feb 25, 2024
6 of 7 checks passed
@Suraj-Ram Suraj-Ram deleted the milo/duplicate-plan-button branch February 25, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement new duplicate plan designs Duplicate Plan
4 participants