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

Converting GreetStudentsButton, AddSpecialUserButton and AddAdminButton into functional components #5473

Conversation

Aminehassou
Copy link
Contributor

With reference to #5393

What this PR does

Converts greet_students_button.jsx, add_special_user_button.jsx and add_admin_button.jsx into functional components
Affected Pages:

  • /courses/[institution_name]/[course_name]/home (for greet_students_button.jsx)
  • /settings (for add_special_user_button.jsx and add_admin_button.jsx, admin-only)

Videos

Before greet_students_button.jsx

before.refactor.GreetStudentsButton.mp4

After greet_students_button.jsx

after.refactor.GreetStudentsButton.mp4

Before add_special_user_button.jsx

before.refactor.AddSpecialUserButton.mp4

After add_special_user_button.jsx

after.refactor.AddSpecialUserButton.mp4

Before add_admin_button.jsx

before.refactor.AddAdminButton.mp4

After add_admin_button.jsx

after.refactor.AddAdminButton.mp4

@ragesoss ragesoss merged commit 93b925c into WikiEducationFoundation:master Aug 2, 2023
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.

2 participants