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

[Bootcamp] Refactor switches into one switch #155

Open
elouiestudent opened this issue Jul 7, 2022 · 0 comments
Open

[Bootcamp] Refactor switches into one switch #155

elouiestudent opened this issue Jul 7, 2022 · 0 comments
Labels
bootcamp Bootcamp Task enhancement New feature or request

Comments

@elouiestudent
Copy link
Contributor

elouiestudent commented Jul 7, 2022

Task Brief

  • Refactor the switches (ApproveSwitch, AvailableSwitch, PublicDisplaySwitch, NotificationSwitch) into two modular switches (AvailableSwitch and ApproveSwitch together, PublicDisplaySwitch and NotificationSwitch together)

Expected Deliverables

  • New classes called ConstraintSwitch (AvailableSwitch and ApproveSwitch together) and Switch (PublicDisplaySwitch and NotificationSwitch together) with the corresponding CSS from appropriate CSS files in the previous switches
  • Input arguments for new class should include the arguments from the original switches and the corresponding API path called when the switch value changes

Estimated Completion Time

2 hours

Reviewers

@elouiestudent @jackiey321

@elouiestudent elouiestudent added enhancement New feature or request bootcamp Bootcamp Task labels Jul 7, 2022
@fahadhamdan1 fahadhamdan1 self-assigned this Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootcamp Bootcamp Task enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants