WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
385 stars 600 forks source link

Form panel migration #5875

Closed FreakForever closed 4 days ago

FreakForever commented 5 days ago

NOTE: Please review the pull request process before opening your first PR: https://github.com/WikiEducationFoundation/WikiEduDashboard/blob/master/CONTRIBUTING.md#pull-request-process

What this PR does

This PR is to migrate the class component of form_panel.jsx to modern functional component by initialising hooks.

Screenshots

Before: < add a screenshot of the UI before your change >

WhatsApp July 2 Image (1)

After: < add a screenshot of the UI after your change >

Open questions and concerns

< anything you learned that you want to share, or questions you're wondering about related to this PR > i have hard coded the Panel tag for dry running purpose as i found difficult to pass the props from that component to my form_panel.jsx. Therefore my after ui component is slightly mismatching the old UI. Please help me in that case.