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

refactor: migrate off modal paragon depreciation components #654

Merged
merged 10 commits into from
Dec 1, 2022

Conversation

Mashal-m
Copy link
Contributor

@Mashal-m Mashal-m commented Sep 29, 2022

Ticket

Migrate off deprecated Paragon components

Migrated off Modal deprecated components into latest modals

Confirmation Modal Before

ConfirmationBox before

Confirmation Modal After

ConfirmationBox after

Success Modal Before

success modal before

Success Modal After

SucessModal after

ID verification Before

idVerfication before

ID verification After

Screenshot 2022-10-04 at 11 59 27 PM

@openedx-webhooks
Copy link

Thanks for the pull request, @Mashal-m! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

⚠️ We can't start reviewing your pull request until you've submitted a signed contributor agreement or indicated your institutional affiliation. Please see the CONTRIBUTING file for more information. If you've signed an agreement in the past, you may need to re-sign. See The New Home of the Open edX Codebase for details.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Sep 29, 2022
@Mashal-m Mashal-m changed the title refactor: worked on modal paragon depreciation component and changed… refactor: migrate off modal paragon depreciation components Sep 29, 2022
@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Base: 38.75% // Head: 38.78% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (1d1956b) compared to base (a6a1d94).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
+ Coverage   38.75%   38.78%   +0.03%     
==========================================
  Files         110      110              
  Lines        2281     2279       -2     
  Branches      622      620       -2     
==========================================
  Hits          884      884              
+ Misses       1312     1310       -2     
  Partials       85       85              
Impacted Files Coverage Δ
...ount-settings/delete-account/ConfirmationModal.jsx 80.64% <ø> (-1.18%) ⬇️
...c/account-settings/delete-account/SuccessModal.jsx 100.00% <ø> (ø)
src/id-verification/IdVerificationPage.jsx 100.00% <100.00%> (+15.38%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Mashal-m Mashal-m closed this Oct 4, 2022
@Mashal-m Mashal-m reopened this Oct 4, 2022
@arbrandes
Copy link
Contributor

@Mashal-m, sprint check: do you mind resolving conflicts and squashing your commits?

@Mashal-m Mashal-m merged commit e347b3f into master Dec 1, 2022
@Mashal-m Mashal-m deleted the mashal-m/paragon-deprecations branch December 1, 2022 06:51
PKulkoRaccoonGang pushed a commit to PKulkoRaccoonGang/frontend-app-account that referenced this pull request Dec 11, 2022
)

* refactor:  worked on modal paragon depreciation component and changed them into latest paragon modals

* refactor:  migrate off  modal paragon depreciation components

* fix: fix eslint and commit message

* fix: units tests were not working, its fixed

* test: add unit tests in modal

* test: add unit tests in id verfication modal

* refactor: convert test cases from enzyme to react testing library

* refactor: remove empty file
moonesque pushed a commit to edSPIRIT/frontend-app-account that referenced this pull request Nov 11, 2023
)

* refactor:  worked on modal paragon depreciation component and changed them into latest paragon modals

* refactor:  migrate off  modal paragon depreciation components

* fix: fix eslint and commit message

* fix: units tests were not working, its fixed

* test: add unit tests in modal

* test: add unit tests in id verfication modal

* refactor: convert test cases from enzyme to react testing library

* refactor: remove empty file
dcoa pushed a commit to eduNEXT/frontend-app-account that referenced this pull request Dec 4, 2023
)

* refactor:  worked on modal paragon depreciation component and changed them into latest paragon modals

* refactor:  migrate off  modal paragon depreciation components

* fix: fix eslint and commit message

* fix: units tests were not working, its fixed

* test: add unit tests in modal

* test: add unit tests in id verfication modal

* refactor: convert test cases from enzyme to react testing library

* refactor: remove empty file
dcoa added a commit to eduNEXT/frontend-app-account that referenced this pull request Dec 15, 2023
* chore: update dependencies to alpha version

* fix: migrated functions to arrow functions to fix linting

* Paragon form component deprecations (openedx#612)

* refactor: removed deprecated paragon components from CoachingToggle and used alternatives

* refactor: removed deprecated paragon components from ConfirmationModal and used alternatives

* refactor: removed deprecations from EditableField and created separate component for SelectField

* refactor: updated DemographicsSection to use new select component

* refactor: removed deprecations from EmailField and used alternatives

* refactor: removed deprecated Input from CoachingConsentForm

* refactor: removed deprecated Input from DemographicsSection

* refactor: removed deprecated Input from SummaryPanel component

* refactor: removed deprecated CheckBox and used Form.CheckBox

* refactor: fixed unit tests

* refactor: changes based on PR reviews

* fix: linting issue

* refactor:  migrate off  modal paragon depreciation components (openedx#654)

* refactor:  worked on modal paragon depreciation component and changed them into latest paragon modals

* refactor:  migrate off  modal paragon depreciation components

* fix: fix eslint and commit message

* fix: units tests were not working, its fixed

* test: add unit tests in modal

* test: add unit tests in id verfication modal

* refactor: convert test cases from enzyme to react testing library

* refactor: remove empty file

* fix: downgrade paragon to 21.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants