<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ainguva</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ainguva"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Ainguva"/>
	<updated>2026-07-25T08:58:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164833</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164833"/>
		<updated>2025-04-22T23:28:17Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
====Frontend====&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/App.tsx&amp;lt;/b&amp;gt; - Adding the new route and appropriate props.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Addition of API calls and appropriate state creation.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Removal of redundant sliders to edit permissions.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/utils/interfaces.ts&amp;lt;/b&amp;gt; - Addition of IAssignmentParticipantResponse interface.&lt;br /&gt;
&lt;br /&gt;
====Backend====&lt;br /&gt;
*&amp;lt;b&amp;gt;app/controllers/api/v1/participants_controller.rb&amp;lt;/b&amp;gt; - Adding the participant role as part of authorization.&lt;br /&gt;
*&amp;lt;b&amp;gt;app/helper/participant_helper.rb&amp;lt;/b&amp;gt; - Adding participant to the permissions map which manages changes to permission due to change in role.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document:&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164832</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164832"/>
		<updated>2025-04-22T23:28:00Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
====Frontend====&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/App.tsx&amp;lt;/b&amp;gt; - Adding the new route and appropriate props.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Addition of API calls and appropriate state creation.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Removal of redundant sliders to edit permissions.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/utils/interfaces.ts&amp;lt;/b&amp;gt; - Addition of IAssignmentParticipantResponse interface.&lt;br /&gt;
&lt;br /&gt;
====Backend====&lt;br /&gt;
*&amp;lt;b&amp;gt;app/controllers/api/v1/participants_controller.rb&amp;lt;/b&amp;gt; - Adding the participant role as part of authorization.&lt;br /&gt;
*&amp;lt;b&amp;gt;app/helper/participant_helper.rb&amp;lt;/b&amp;gt; - Adding participant to the permissions map which manages changes to permission due to change in role.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document:&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164831</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164831"/>
		<updated>2025-04-22T23:27:12Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Manage Participant Frontend Integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
====Frontend====&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/App.tsx&amp;lt;/b&amp;gt; - Adding the new route and appropriate props.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Addition of API calls and appropriate state creation.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Removal of redundant sliders to edit permissions.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/utils/interfaces.ts&amp;lt;/b&amp;gt; - Addition of IAssignmentParticipantResponse interface.&lt;br /&gt;
&lt;br /&gt;
====Backend====&lt;br /&gt;
*&amp;lt;b&amp;gt;app/controllers/api/v1/participants_controller.rb&amp;lt;/b&amp;gt; - Adding the participant role as part of authorization.&lt;br /&gt;
*&amp;lt;b&amp;gt;app/helper/participant_helper.rb&amp;lt;/b&amp;gt; - Adding participant to the permissions map which manages changes to permission due to change in role.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document:&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164830</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164830"/>
		<updated>2025-04-22T23:24:22Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Manage Participant Frontend Integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
====Frontend====&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/App.tsx&amp;lt;/b&amp;gt; - Adding the new route and appropriate props.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Addition of API calls and appropriate state creation.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Removal of redundant sliders to edit permissions.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/utils/interfaces.ts&amp;lt;/b&amp;gt; - Addition of IAssignmentParticipantResponse interface.&lt;br /&gt;
&lt;br /&gt;
====Backend====&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document:&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164829</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164829"/>
		<updated>2025-04-22T23:23:49Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* List of changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/App.tsx&amp;lt;/b&amp;gt; - Adding the new route and appropriate props.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Addition of API calls and appropriate state creation.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Removal of redundant sliders to edit permissions.&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/utils/interfaces.ts&amp;lt;/b&amp;gt; - Addition of IAssignmentParticipantResponse interface.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document:&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164827</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164827"/>
		<updated>2025-04-22T23:20:43Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Future Scope */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* The TA role is to be added post merge of the TA feature.&lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164826</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164826"/>
		<updated>2025-04-22T23:18:52Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164825</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164825"/>
		<updated>2025-04-22T23:18:30Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164824</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164824"/>
		<updated>2025-04-22T23:18:21Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 750px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 300px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164823</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164823"/>
		<updated>2025-04-22T23:18:02Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 1000px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
Edit - Users and Participants table can be updated&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
Delete&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164822</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164822"/>
		<updated>2025-04-22T23:17:00Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implemented Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
1) App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
2) interfaces.ts&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
3) AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
- Add&lt;br /&gt;
[[File: E2540-addparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
- Edit - Users and Participants table can be updated&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
- Delete&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
4) EditParticipantModal.tsx&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
5) participant_controller.rb&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164819</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164819"/>
		<updated>2025-04-22T23:14:13Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Implemented Changes ====&lt;br /&gt;
&lt;br /&gt;
** App.tsx &lt;br /&gt;
* The path now correctly points to the new participants page as opposed to the older one while also passing the right props in the router.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-routes.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
** AssignmentParticipants.tsx &lt;br /&gt;
* The appropriate fetch calls have been added to populate the participants table from the DB using the backend APIs namely fetchParticipants, fetchUsers, fetchAssignements. It is filtered by assignment due to how it can be accessed through the Assignments Table.&lt;br /&gt;
&lt;br /&gt;
[[File: E2540-fetchcalls.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
* A new interface, IAssignmentParticipantResponse has been added to structure the response data in the interfaces.ts file. &lt;br /&gt;
[[File: E2540-interface.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
* The participants state contains the following parameters which is stored and used while fetching, editing or deleting the table.&lt;br /&gt;
[[File: E2540-participantstate.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
* The code to using the static data has been replaced by API calls for add, edit and delete as seen below.&lt;br /&gt;
- Add&lt;br /&gt;
[[File: E2540-addparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
- Edit - Users and Participants table can be updated&lt;br /&gt;
[[File: E2540-editparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
- Delete&lt;br /&gt;
[[File: E2540-deleteparticipant.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
* The permission sliders in the edit modal (seen in the below screenshot) which were a redundant feature has been removed as authorization role (Participant, Reader, Reviewer, Submitter, Mentor) automatically updates the permissions the user has. &lt;br /&gt;
[[File: E2540-sliders.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
* The backend was changed to incorporate &amp;quot;participant&amp;quot; as a role in participants_controller.rb and participants_helper.rb to manage permissions.&lt;br /&gt;
[[File: E2540-backend.png | 250px]]&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-backend.png&amp;diff=164818</id>
		<title>File:E2540-backend.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-backend.png&amp;diff=164818"/>
		<updated>2025-04-22T23:13:57Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-sliders.png&amp;diff=164817</id>
		<title>File:E2540-sliders.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-sliders.png&amp;diff=164817"/>
		<updated>2025-04-22T23:12:22Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-deleteparticipant.png&amp;diff=164816</id>
		<title>File:E2540-deleteparticipant.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-deleteparticipant.png&amp;diff=164816"/>
		<updated>2025-04-22T23:11:19Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-editparticipant.png&amp;diff=164815</id>
		<title>File:E2540-editparticipant.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-editparticipant.png&amp;diff=164815"/>
		<updated>2025-04-22T23:10:13Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-addparticipant.png&amp;diff=164814</id>
		<title>File:E2540-addparticipant.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-addparticipant.png&amp;diff=164814"/>
		<updated>2025-04-22T23:09:06Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-participantstate.png&amp;diff=164813</id>
		<title>File:E2540-participantstate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-participantstate.png&amp;diff=164813"/>
		<updated>2025-04-22T23:06:38Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-interface.png&amp;diff=164808</id>
		<title>File:E2540-interface.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-interface.png&amp;diff=164808"/>
		<updated>2025-04-22T23:04:49Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-fetchcalls.png&amp;diff=164806</id>
		<title>File:E2540-fetchcalls.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-fetchcalls.png&amp;diff=164806"/>
		<updated>2025-04-22T23:01:45Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-routes.png&amp;diff=164804</id>
		<title>File:E2540-routes.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-routes.png&amp;diff=164804"/>
		<updated>2025-04-22T22:56:59Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164793</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=164793"/>
		<updated>2025-04-22T22:40:30Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Future Scope */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review.This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Sequence_diagram.png|400px|]]&lt;br /&gt;
&lt;br /&gt;
*This sequence diagram illustrates the complete interaction flow between the User, the UI Component, and the Backend Controller during the process of opening and displaying the Participants page for an assignment in the Expertiza system.&lt;br /&gt;
&lt;br /&gt;
*The flow begins when the user selects an assignment, prompting the UI to request participant data from the backend. The backend processes this request and responds with a structured JSON payload. Once received, the frontend dynamically renders the participants table using an improved layout, potentially including grouped columns, collapsible sections, or enhanced filters.&lt;br /&gt;
&lt;br /&gt;
*The diagram emphasizes how the frontend and backend collaborate to display live participant information in a modernized, React-based interface, replacing previously hardcoded or static displays.&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one Assignment entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
====4. Backend ====&lt;br /&gt;
&lt;br /&gt;
Must add relevant for Backend here&lt;br /&gt;
&lt;br /&gt;
== Design principles ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
Must add relevant for Backend here&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
Must add relevant for backend&lt;br /&gt;
&lt;br /&gt;
== Implemented Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot button color of the &amp;quot;Add user&amp;quot; has to be changed according to the new design guidelines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the below screenshot, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons which should be removed&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 Before-remove-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
==== Implemented changes ====&lt;br /&gt;
* &amp;lt;b&amp;gt;Participants list page&amp;lt;/b&amp;gt;&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting were changed according to the new design guidelines. Pagination is implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted is also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-participant-list.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added for pagination&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025- E2540 - Pagination.png|500px]]&lt;br /&gt;
&lt;br /&gt;
This code was added to update the table according to the design document.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Table.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Add participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the button color of the &amp;quot;Add user&amp;quot; is changed to Red according to the new design guidelines and camel case has been changed to capitalize the first letter of the first word.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 after-add-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Add user&amp;quot; button to red.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add user.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Edit participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Save changes&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-edit-participant.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Save changes&amp;quot; button to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 E2540 - Edit participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Delete participants&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As seen in the screenshot below, the improper text and button formatting was changed according to the design guidelines, and the &amp;quot;Confirm&amp;quot; button was changed to red. The redundancy with the Cancel and X (close) buttons was also  removed.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 After-delete-modal.png |600px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Code snippets&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code was added to update the &amp;quot;Confirm&amp;quot; to red. The cancel button was removed to eliminate redundancy.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Delete participant.png|500px]]&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants. Shown in the demo video.&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions. Shown in the demo video.&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant. Shown in the demo video.&lt;br /&gt;
* Ensure the table has proper pagination. Shown in the demo video.&lt;br /&gt;
* Ensure the table text format has the correct font size and line height. As shown in the screenshot below, the table content has the proper font size, and the casing is correct.&lt;br /&gt;
[[File:Spring 2025 - E2540 Table-font-size-check.png | 700px]]&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* The frontend code requires refactoring to follow the design guidelines of expertiza. The structure of the code in the three files - AssignmentParticipants.tsx, ConfirmRemoveModal.tsx and EditParticipantModal.tsx must be changed such that the API calls are moved to the files which would handle add, edit and delete. Also the stylesheets (the .css files) must be moved to ensure it follows the pattern of the other features. &lt;br /&gt;
&lt;br /&gt;
* Enforce CRUD permissions of participants in backend.&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
You can find the demo video going over the features [https://youtu.be/Zxt6-GaokJA here]&lt;br /&gt;
&lt;br /&gt;
== Pull Requests ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Frontend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in the Backend of this project project through [].&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/AssignmentParticipants.tsx&amp;lt;/b&amp;gt; - Updated icon, text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/EditParticipantModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ConfirmRemoveModal.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
*&amp;lt;b&amp;gt;/src/pages/AssignmentParticipants/ParticipantsTable.tsx&amp;lt;/b&amp;gt; - Added new Table component and updated icon, text and button formatting&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This project has successfully modernized and integrated the Assignment Participants page in Expertiza by:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Linking frontend to backend&amp;lt;/b&amp;gt;: Replacing hard‑coded data with robust API calls to the Rails participant_controller, ensuring live, per‑assignment participant data is fetched and rendered dynamically.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;UI alignment&amp;lt;/b&amp;gt;: Updating table layouts, buttons, modals, and pagination to match the new design guidelines, improving consistency, readability, and user feedback.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;State &amp;amp; architecture improvements&amp;lt;/b&amp;gt;: Leveraging React+TypeScript, Redux Toolkit, and a custom API hook for clean state management and scalable component communication.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;b&amp;gt;Testing &amp;amp; validation&amp;lt;/b&amp;gt;: Performing thorough manual integration and UI tests (as shown in the demo video) to confirm correct CRUD operations, styling, and iconography across all participant flows.&lt;br /&gt;
&lt;br /&gt;
These changes not only deliver a smoother, more reliable participant management experience aligned with Expertiza’s collaborative learning objectives, but also establish a clear foundation for future enhancements—such as enforcing backend permissions, adding automated test suites, and extending participant features.&lt;br /&gt;
&lt;br /&gt;
== Relevant Links ==&lt;br /&gt;
&lt;br /&gt;
Pull Request that we worked on:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki that we referred to:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
Design Document&lt;br /&gt;
[https://github.com/AnvithaReddyGutha/reimplementation-front-end/blob/main/design_document.md]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Members ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Aryan Inguva&amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Maya Mei&amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;Shuba Shwetha Kalyanasundaram&amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163735</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163735"/>
		<updated>2025-04-08T02:32:16Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-1.-mentor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Mentor ===&lt;br /&gt;
&lt;br /&gt;
* Anvitha Gutha&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-2.-members&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Members ===&lt;br /&gt;
&lt;br /&gt;
* Aryan Inguva&lt;br /&gt;
* Maya Mei&lt;br /&gt;
* Shuba Kalyanasundaram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xi.-links&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Pull Request:&lt;br /&gt;
[https://github.com/expertiza/reimplementation-front-end/pull/79 Expertiza Pull Request #79]&lt;br /&gt;
&lt;br /&gt;
Demo Video:&lt;br /&gt;
&lt;br /&gt;
Previous Wiki:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163734</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163734"/>
		<updated>2025-04-08T02:31:53Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Sequence Diagram ==&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor text formatting changes, as well as removing some redundant buttons.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-1.-mentor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Mentor ===&lt;br /&gt;
&lt;br /&gt;
* Anvitha Gutha&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-2.-members&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Members ===&lt;br /&gt;
&lt;br /&gt;
* Aryan Inguva&lt;br /&gt;
* Maya Mei&lt;br /&gt;
* Shuba Kalyanasundaram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xi.-links&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Pull Request:&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/2901 Expertiza Pull Request #2901]&lt;br /&gt;
&lt;br /&gt;
Demo Video:&lt;br /&gt;
&lt;br /&gt;
Previous Wiki:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2490.1_Improving_Assignment_Participants_Management_UI_in_Expertiza &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163730</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163730"/>
		<updated>2025-04-08T02:31:06Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
=== Sequence Diagram ===&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text. Then, the edit/create form and the remove form has some minor&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-1.-mentor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Mentor ===&lt;br /&gt;
&lt;br /&gt;
* Anvitha Gutha&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-2.-members&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Members ===&lt;br /&gt;
&lt;br /&gt;
* Aryan Inguva&lt;br /&gt;
* Maya Mei&lt;br /&gt;
* Shuba Kalyanasundaram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xi.-links&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Pull Request:&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/2901 Expertiza Pull Request #2901]&lt;br /&gt;
&lt;br /&gt;
Demo Video:&lt;br /&gt;
[https://youtu.be/TjYkx6SSC0Y E2485 Review Bidding Feature Demo Video]&lt;br /&gt;
&lt;br /&gt;
Previous Wiki:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2151._Allow_reviewers_to_bid_on_what_to_review &amp;lt;u&amp;gt;Link&amp;lt;/u&amp;gt;]  &lt;br /&gt;
&lt;br /&gt;
Reference Link for Webservice Details:  &lt;br /&gt;
[https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2085._Allow_reviewers_to_bid_on_what_to_review &amp;lt;u&amp;gt;match_topics webservice link details&amp;lt;/u&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Guidance on Using Service Objects in Rails:&lt;br /&gt;
[https://www.toptal.com/ruby-on-rails/rails-service-objects-tutorial Rails Service Objects Tutorial]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xii.-references&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163725</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163725"/>
		<updated>2025-04-08T02:29:12Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-1.-mentor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Mentor ===&lt;br /&gt;
&lt;br /&gt;
* Anvitha Gutha&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-2.-members&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Members ===&lt;br /&gt;
&lt;br /&gt;
* Aryan Inguva&lt;br /&gt;
* Maya Mei&lt;br /&gt;
* Shuba Kalyanasundaram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xi.-links&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163723</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163723"/>
		<updated>2025-04-08T02:28:39Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
Most of the changes needed for this problem is for adding a new participant. In particular, there is not a dedicated form for creating a new participant, simply a button that fills in default information. The edit and remove forms need to also have some small formatting changes.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
The form for editing should be the same as for creating a participant, except that we change some text.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-1.-mentor&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Mentor ===&lt;br /&gt;
&lt;br /&gt;
* Anvitha&lt;br /&gt;
&amp;lt;span id=&amp;quot;x-2.-members&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Members ===&lt;br /&gt;
&lt;br /&gt;
* Aryan&lt;br /&gt;
* Maya&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;xi.-links&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163717</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163717"/>
		<updated>2025-04-08T02:26:53Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163714</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163714"/>
		<updated>2025-04-08T02:26:34Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
As seen below, there is improper text and button formatting. There is also a redundancy with the Cancel and X (close) buttons.&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
=== Add/Edit/Remove Participants ===&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163707</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163707"/>
		<updated>2025-04-08T02:22:51Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
As seen in the below screenshot, the icon, button and text formatting have to be changed according to the new guidelines. Also pagination must be implemented to ensure the component is only visible when the list of columns exceeds one full page. The new table component with the filter span adjusted must also be implemented.&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
==== Frontend/Backend Integration Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
&lt;br /&gt;
==== UI Tests ====&lt;br /&gt;
&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163695</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163695"/>
		<updated>2025-04-08T02:21:04Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
* Participants list page&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
* Edit participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163685</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163685"/>
		<updated>2025-04-08T02:19:16Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
Participants list page&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
Add participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 - Add_participants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
Edit participants&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540 -Edit_partcipants.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
The solution involves the following steps-&lt;br /&gt;
* Changing the code for the table element to use the new Table component from src/components/Table/Table.tsx. &lt;br /&gt;
* Fixing the search filter that appears above every table by adding code to change the span settings.&lt;br /&gt;
* Updating warning messages according to the guidelines.&lt;br /&gt;
* Updating text, icon and button formatting according to the design guidelines.&lt;br /&gt;
* Adjusting pagination to ensure the component is only visible when the list of columns exceeds one full page.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Tests ===&lt;br /&gt;
&lt;br /&gt;
The project will test different aspects of the frontend code in order to ensure the integration of the backend, as well as ensuring the proper formatting of the page.&lt;br /&gt;
&lt;br /&gt;
* Ensure the table shows participants&lt;br /&gt;
* Ensure role-based access to participants&lt;br /&gt;
* Ensure participants are properly updated/created with proper permissions&lt;br /&gt;
* Ensure the proper icon is used for editing a participant&lt;br /&gt;
* Ensure the proper icon is used for deleting a participant&lt;br /&gt;
* Ensure the table text format has the correct font size and line height&lt;br /&gt;
* Ensure the table has proper pagination&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163672</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163672"/>
		<updated>2025-04-08T02:06:34Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
Participants list page&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163671</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163671"/>
		<updated>2025-04-08T02:06:20Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Project Goals */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
* Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
* Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
Update the URLs of the API calls to properly integrate with the backend. There also needs to be logic to handle getting participants by user or by assignment.&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
Participants list page&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163668</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163668"/>
		<updated>2025-04-08T02:05:55Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the defects and improve the functionality in Expertiza of the Participants UI and integration. It will make the functionality smoother, more reliable, and align with Expertiza's collaborative learning objectives.&lt;br /&gt;
&lt;br /&gt;
The participants tab is linked to the Assignments tab and contains a table of participants in an assignment. It allows the user to add, delete and edit participants as well. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
There are 2 main goals for this project - &lt;br /&gt;
&lt;br /&gt;
- Appropriately integrating the frontend to the backend which currently fetches static data and is not connected to the backend robustly.&lt;br /&gt;
- Changing up the UI to match the novel standards set by the new version using the design document. It will involve formatting and using the recommended guidelines to implement parts of the page such as tables and table filtering.&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows the current API calls. Notice that one of the URLs is &amp;quot;participants/[type]/[id]&amp;quot;. This is intended to fetch the participants to put into the table. However, the closest URLs are either &amp;quot;participants/user/[id]&amp;quot; or &amp;quot;participants/assignment/[id]&amp;quot;. The URLs for applying CRUD to participants need to be updated to conform with the backend.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
Participants list page&lt;br /&gt;
&lt;br /&gt;
[[File:Spring 2025 - E2540_Participants_list_page.png |900px|]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163125</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163125"/>
		<updated>2025-04-03T22:09:16Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Explaining Expertiza&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
&lt;br /&gt;
Details of the project&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 500px]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163124</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163124"/>
		<updated>2025-04-03T22:09:08Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Explaining Expertiza&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
&lt;br /&gt;
Details of the project&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.png | 1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163123</id>
		<title>CSC/ECE 517 Spring 2025 - E2540 Integration of Assignment participant Frontend with participant controller Backend</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2540_Integration_of_Assignment_participant_Frontend_with_participant_controller_Backend&amp;diff=163123"/>
		<updated>2025-04-03T22:08:52Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Manage Participant Frontend Integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Explaining Expertiza&lt;br /&gt;
&lt;br /&gt;
=== Project Goals ===&lt;br /&gt;
&lt;br /&gt;
Details of the project&lt;br /&gt;
&lt;br /&gt;
== Proposed Changes ==&lt;br /&gt;
&lt;br /&gt;
=== Manage Participant Frontend Integration ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
The current implementation makes use of API calls to incorrect routes. This may be due to the frontend being implemented before the backend and wrong assumptions were made, or the backend's code has been updated without changing the frontend. In either case, the frontend needs to be properly integrated with the backend.&lt;br /&gt;
&lt;br /&gt;
[[File:E2540-before-ParticipantCode.jpg | 1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
=== Update Frontend UI ===&lt;br /&gt;
&lt;br /&gt;
==== Problem ====&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-before-ParticipantCode.png&amp;diff=163117</id>
		<title>File:E2540-before-ParticipantCode.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E2540-before-ParticipantCode.png&amp;diff=163117"/>
		<updated>2025-04-03T21:58:25Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162526</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162526"/>
		<updated>2025-03-25T00:44:59Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Implementation Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses &lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page in the reimplemented UI:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal &lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-TAmodal_after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal &lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA alert&lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Old-alert.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-alert-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
Icon change for adding TA:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Code_snippets_for_icons_-a.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Alert messages change:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-alerts.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
&lt;br /&gt;
Submissions Table &lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table&lt;br /&gt;
&lt;br /&gt;
Original UI &lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar &lt;br /&gt;
&lt;br /&gt;
Original UI&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Navbar-before.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Reimplemented UI&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
Please find the demo video going over the features at https://youtu.be/hhPBc9CfjSs&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
==== Non-task Specific ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Table.tsx&amp;lt;/b&amp;gt; - Updated table component to include a &amp;quot;disableGlobalFilter&amp;quot; option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/Courses.tsx&amp;lt;/b&amp;gt; - Updated text, table, and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseColumns.tsx&amp;lt;/b&amp;gt; - Updated text and table formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseCopy.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseDelete.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseEditor.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TA.tsx &amp;lt;/b&amp;gt; - Updated Icon, text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAColumns.tsx &amp;lt;/b&amp;gt; - Updated Icon&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAEditor.tsx &amp;lt;/b&amp;gt; - Updated Icon, button, text and warning message formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TADelete.tsx &amp;lt;/b&amp;gt; - Updated button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsHistoryView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsEntry.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsList.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/layout/Header.tsx &amp;lt;/b&amp;gt; - Removed the Assignments tab to add the Submissions tab under Manage.&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in this project through this pull request.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhancing TA UX: &amp;lt;/b&amp;gt; Improve user experience with editing and managing TAs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Backend Implementation/Integration of Submissions and Submissions History: &amp;lt;/b&amp;gt; Currently, the Submissions page uses mock data, as the backend is currently not developed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Implementation of Deleting TAs: &amp;lt;/b&amp;gt; While out of the scope of this project, the past project did not implement the deletion of TAs, so that feature is currently not available.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; More Robust Logging: &amp;lt;/b&amp;gt; With more standardized logging, the debugging process could be streamlined, as useful information can be shown in the console.&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162503</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162503"/>
		<updated>2025-03-25T00:26:06Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Demo Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-TAmodal_after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA alert (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Old-alert.png|800px]]&lt;br /&gt;
[[File:E2523-alert-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
Icon change for adding TA:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Code_snippets_for_icons_-a.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Alert messages change:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-alerts.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Navbar-before.png|500px]]&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
Please find the demo video going over the features at https://youtu.be/hhPBc9CfjSs&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
==== Non-task Specific ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Table.tsx&amp;lt;/b&amp;gt; - Updated table component to include a &amp;quot;disableGlobalFilter&amp;quot; option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/Courses.tsx&amp;lt;/b&amp;gt; - Updated text, table, and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseColumns.tsx&amp;lt;/b&amp;gt; - Updated text and table formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseCopy.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseDelete.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseEditor.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TA.tsx &amp;lt;/b&amp;gt; - Updated Icon, text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAColumns.tsx &amp;lt;/b&amp;gt; - Updated Icon&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAEditor.tsx &amp;lt;/b&amp;gt; - Updated Icon, button, text and warning message formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TADelete.tsx &amp;lt;/b&amp;gt; - Updated button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsHistoryView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsEntry.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsList.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/layout/Header.tsx &amp;lt;/b&amp;gt; - Removed the Assignments tab to add the Submissions tab under Manage.&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in this project through this pull request.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhancing TA UX: &amp;lt;/b&amp;gt; Improve user experience with editing and managing TAs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Backend Implementation/Integration of Submissions and Submissions History: &amp;lt;/b&amp;gt; Currently, the Submissions page uses mock data, as the backend is currently not developed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Implementation of Deleting TAs: &amp;lt;/b&amp;gt; While out of the scope of this project, the past project did not implement the deletion of TAs, so that feature is currently not available.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; More Robust Logging: &amp;lt;/b&amp;gt; With more standardized logging, the debugging process could be streamlined, as useful information can be shown in the console.&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162395</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162395"/>
		<updated>2025-03-24T21:36:37Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-TAmodal_after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA alert (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Old-alert.png|800px]]&lt;br /&gt;
[[File:E2523-alert-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
Icon change for adding TA:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Code_snippets_for_icons_-a.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Alert messages change:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-alerts.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Navbar-before.png|500px]]&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
==== Non-task Specific ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Table.tsx&amp;lt;/b&amp;gt; - Updated table component to include a &amp;quot;disableGlobalFilter&amp;quot; option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/Courses.tsx&amp;lt;/b&amp;gt; - Updated text, table, and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseColumns.tsx&amp;lt;/b&amp;gt; - Updated text and table formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseCopy.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseDelete.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseEditor.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TA.tsx &amp;lt;/b&amp;gt; - Updated Icon, text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAColumns.tsx &amp;lt;/b&amp;gt; - Updated Icon&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAEditor.tsx &amp;lt;/b&amp;gt; - Updated Icon, button, text and warning message formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TADelete.tsx &amp;lt;/b&amp;gt; - Updated button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsHistoryView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsEntry.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsList.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/layout/Header.tsx &amp;lt;/b&amp;gt; - Removed the Assignments tab to add the Submissions tab under Manage.&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in this project through this pull request.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhancing TA UX: &amp;lt;/b&amp;gt; Improve user experience with editing and managing TAs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Backend Implementation/Integration of Submissions and Submissions History: &amp;lt;/b&amp;gt; Currently, the Submissions page uses mock data, as the backend is currently not developed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Implementation of Deleting TAs: &amp;lt;/b&amp;gt; While out of the scope of this project, the past project did not implement the deletion of TAs, so that feature is currently not available.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; More Robust Logging: &amp;lt;/b&amp;gt; With more standardized logging, the debugging process could be streamlined, as useful information can be shown in the console.&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162394</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162394"/>
		<updated>2025-03-24T21:34:35Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-TAmodal_after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA alert (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Old-alert.png|800px]]&lt;br /&gt;
[[File:E2523-alert-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
Icon change for adding TA:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Code_snippets_for_icons_-a.png|500px]]&lt;br /&gt;
&lt;br /&gt;
Alert messages change:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-alerts.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Navbar-before.png|500px]]&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
==== Non-task Specific ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Pagination.tsx&amp;lt;/b&amp;gt; - Updated pagination component to only be visible if there is more than one page&lt;br /&gt;
* &amp;lt;b&amp;gt;src/components/Table/Table.tsx&amp;lt;/b&amp;gt; - Updated table component to include a &amp;quot;disableGlobalFilter&amp;quot; option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/Courses.tsx&amp;lt;/b&amp;gt; - Updated text, table, and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseColumns.tsx&amp;lt;/b&amp;gt; - Updated text and table formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseCopy.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseDelete.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;src/pages/Courses/CourseEditor.tsx&amp;lt;/b&amp;gt; - Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TA.tsx &amp;lt;/b&amp;gt; - Updated Icon, text and button formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAColumns.tsx &amp;lt;/b&amp;gt; - Updated Icon&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TAEditor.tsx &amp;lt;/b&amp;gt; - Updated Icon, button, text and warning message formatting&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/TA/TADelete.tsx &amp;lt;/b&amp;gt; - Updated button formatting&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsHistoryView.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsEntry.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;/src/pages/Submissions/SubmissionsTable/SubmissionsList.tsx &amp;lt;/b&amp;gt; - Added new Table component. Updated text and button formatting.&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
You can find the changes made in this project through this pull request.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhancing TA UX: &amp;lt;/b&amp;gt; Improve user experience with editing and managing TAs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Backend Implementation/Integration of Submissions and Submissions History: &amp;lt;/b&amp;gt; Currently, the Submissions page uses mock data, as the backend is currently not developed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Implementation of Deleting TAs: &amp;lt;/b&amp;gt; While out of the scope of this project, the past project did not implement the deletion of TAs, so that feature is currently not available.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; More Robust Logging: &amp;lt;/b&amp;gt; With more standardized logging, the debugging process could be streamlined, as useful information can be shown in the console.&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162113</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162113"/>
		<updated>2025-03-23T22:36:24Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after):&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-2-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Navbar-before.png|500px]]&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162112</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162112"/>
		<updated>2025-03-23T22:35:45Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after):&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-2-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|1000px]]&lt;br /&gt;
[[File:E2523-Navbar-before.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162111</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162111"/>
		<updated>2025-03-23T22:35:14Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
&lt;br /&gt;
Manage Courses (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
&lt;br /&gt;
Manage TA modal (Left: before, Right: after):&lt;br /&gt;
&lt;br /&gt;
[[File:Manage-ta-before.png|800px]]&lt;br /&gt;
[[File:E2523-task-2-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Add TA modal:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-2-manage-ta-add-before.png|800px]]&lt;br /&gt;
[[File:E2523-Manage-ta-add-after.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
Submissions Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-before.png|800px]]&lt;br /&gt;
[[File:Task3subafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-Submission-history-before.png|800px]]&lt;br /&gt;
[[File:Task3subhistafter.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navbar (Left: before, Right: after)&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|400px]]&lt;br /&gt;
[[File:E2523-Navbar-before.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
The enhancements implemented in this project have greatly improved the UI consistency, usability, and maintainability of the Expertiza platform. By reworking outdated components and aligning them with modern design guidelines, we ensured a cleaner, more user-friendly experience across different user roles.&lt;br /&gt;
The following pull requests were central to our reimplementation work:&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/70&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/72&lt;br /&gt;
* https://github.com/expertiza/reimplementation-front-end/pull/57&lt;br /&gt;
These PRs focused on restructuring table components, refining modal behavior, updating icons, enhancing accessibility, and ensuring overall alignment with the Expertiza design system. We successfully completed all assigned features and UI refinements while strictly adhering to the Expertiza design guidlines provided. This included updates to typography, spacing, component styling, and standardized interactions across the application.&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162014</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162014"/>
		<updated>2025-03-23T20:08:16Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Submissions Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subhistafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162010</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162010"/>
		<updated>2025-03-23T20:06:05Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
&lt;br /&gt;
[[File: Tablespanchange.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Submissions Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subhistafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162009</id>
		<title>CSC/ECE 517 Spring 2025 - E2523: Enhancing UI Consistency in Expertiza 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2025_-_E2523:_Enhancing_UI_Consistency_in_Expertiza_2&amp;diff=162009"/>
		<updated>2025-03-23T20:05:41Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: /* Task 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is an open-source project developed with Ruby on Rails with the purpose of providing a platform for students to learn from one another through peer review. This project provides the tools necessary for an instructor to manage courses and assignments, for which students can be assigned to teams and submit assignments. After submission, peer assessment allows for students to give feedback to each other, facilitating critical thinking and learning. Both the frontend and backend of Expertiza are currently going through reimplementations. In particular, the frontend is being developed in Typescript.&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
Expertiza is an open-source project, so many developers contribute to the project, and often with differing design choices. This UI project aims to provide more consistency between different pages and tools. In particular, the focus is on the Submissions and Courses pages, and subsequent pages/modals. The changes should reduce visual clutter and provide consistency between UI, making the interface much easier to use.&lt;br /&gt;
&lt;br /&gt;
== Functional Requirements ==&lt;br /&gt;
&lt;br /&gt;
==== Overall Requirements ====&lt;br /&gt;
&lt;br /&gt;
====== Merging Past Pull Requests ======&lt;br /&gt;
The UI changes that were changed in this project are done on top of three pull requests of the frontend reimplementation project, and thus, the tasks of this project were separated in accordance to these pull requests. These pull requests were [https://github.com/expertiza/reimplementation-front-end/pull/70| UI for Courses], [https://github.com/expertiza/reimplementation-front-end/pull/72| Reimplement add TA], and [https://github.com/expertiza/reimplementation-front-end/pull/57| UI for View Submissions].&lt;br /&gt;
&lt;br /&gt;
====== UI Design Guidelines ======&lt;br /&gt;
This project follows design guidelines shown in this document. All tables need to use the prebuilt Table component. This Table component uses a Pagination component, which allows users to select different pages of a table. However, this Pagination component should only be visible if there are more than one page. Another important guideline is the text formatting. Headings should follow camel case capitalization, while other text should capitalize only the first letter of the first word. Most changes done in this project are made to adhere to this guideline. Finally, the icons, buttons, and notifications all needed to follow particular styles provided in the design document.&lt;br /&gt;
&lt;br /&gt;
====== Non-task Specific Requirements ======&lt;br /&gt;
There are some requirements that are applied to components used by all three tasks.&lt;br /&gt;
* Pagination should only be visible if there is more than one page of entries.&lt;br /&gt;
* The Table component needs to include a “disableGlobalFilter” option&lt;br /&gt;
&lt;br /&gt;
==== Task 1 Requirements ====&lt;br /&gt;
Task 1 deals with the UI changes needed for UI for Courses. All of these changes are done to the Courses page.&lt;br /&gt;
* The page’s header needs to be updated to follow text formatting guidelines.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The date format used for the “Creation date” and “Updated date” should show the user’s local time and should not show seconds and milliseconds.&lt;br /&gt;
* The button for creating a course should be red, and contain the text “Create Course”.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
* Note: Manage TAs is part of task 2&lt;br /&gt;
&lt;br /&gt;
==== Task 2 Requirements ====&lt;br /&gt;
Task 2 deals with the UI changes needed for Reimplement add TA. All of these changes are done to the Manage TAs modal of the Courses page.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* The button for adding a TA should be updated.&lt;br /&gt;
* Confirmation buttons should be red.&lt;br /&gt;
* Error notification should use the Alert component.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Subsequent modals should also follow the same guidelines.&lt;br /&gt;
&lt;br /&gt;
==== Task 3 Requirements ====&lt;br /&gt;
Task 3 deals with the UI changes needed for UI for View Submissions.&lt;br /&gt;
* The table headers should follow non-header capitalization guidelines.&lt;br /&gt;
* The table should not use either the global or column filters.&lt;br /&gt;
* Text labels should follow non-header capitalization guidelines.&lt;br /&gt;
* Submission History should also follow the same guidelines&lt;br /&gt;
&lt;br /&gt;
== Technologies ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Frontend:&amp;lt;/b&amp;gt; React, TypeScript&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;State Management:&amp;lt;/b&amp;gt; React Hooks (useState, useEffect, useMemo, useCallback),  React Context API,  Redux Toolkit (with useDispatch, useSelector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Styling and UI: &amp;lt;/b&amp;gt; CSS Modules / SCSS, Bootstrap / React Bootstrap&lt;br /&gt;
&lt;br /&gt;
== Technical Design ==&lt;br /&gt;
&lt;br /&gt;
====1. Frontend ====&lt;br /&gt;
The application is developed using React with TypeScript, enforcing a strongly-typed, modular, and scalable architecture. The combination of TypeScript and React provides compile-time type checking and improved developer tooling such as autocompletion, interfaces, and error detection. This makes the codebase more maintainable and less prone to runtime errors.&lt;br /&gt;
&lt;br /&gt;
======Main Table Component: ======&lt;br /&gt;
* Serves as the central layout element for multiple modules like reviewer assignments, Teaching Assistant (TA) lists, and user management.&lt;br /&gt;
* Dynamically renders rows and columns based on props and external data.&lt;br /&gt;
* Incorporates reusable logic like sorting, filtering, pagination, and responsive design.&lt;br /&gt;
&lt;br /&gt;
=====Row Components:=====&lt;br /&gt;
* Represent individual units of data such as one TA entry or one review entry.&lt;br /&gt;
* Contain contextual actions like Delete, Edit, Confirm, Submit.&lt;br /&gt;
* Includes modal triggers or dynamic tooltips.&lt;br /&gt;
&lt;br /&gt;
=====Helper Components:=====&lt;br /&gt;
* Used for encapsulating business logic or UI elements such as tooltips, alert banners, loaders, and tag renderers.&lt;br /&gt;
* Commonly uses components like dropdown selectors, role toggles, and conditional status displays.&lt;br /&gt;
&lt;br /&gt;
=====Modal Components:=====&lt;br /&gt;
* Used for confirming actions like deletion, submission, or role changes.&lt;br /&gt;
* Tied closely to global state (e.g., Redux or Context) to remain consistent across modules.&lt;br /&gt;
&lt;br /&gt;
====2. State Management====&lt;br /&gt;
State management in this application is handled using a layered strategy, combining React Hooks, Context API, Redux Toolkit, and a custom API integration hook. This ensures a clean separation of concerns, scalable logic handling, and seamless component communication across the app.&lt;br /&gt;
&lt;br /&gt;
* React Hooks: useState, useEffect, useMemo, useCallback - For managing and optimizing local component state.&lt;br /&gt;
&lt;br /&gt;
* React Context API: Centralized state sharing for cross-component communication (used for shared data like authentication and user role).&lt;br /&gt;
&lt;br /&gt;
* REdux Toolkit(with React-Redux): Handles global state logic such as authentication, alert messages and persistent settings.&lt;br /&gt;
&lt;br /&gt;
* API Integration: Custom useAPI hook manages asynchronous API requests, error handling and response processing. All backend communication is abstracted here for clean separation of concerns.&lt;br /&gt;
&lt;br /&gt;
==== 3. Styling and UI ====&lt;br /&gt;
* SCSS / CSS Modules: Used for modular and scoped styling which promotes maintainable and reusable style definitions.&lt;br /&gt;
&lt;br /&gt;
* Bootstrap / React-Bootstrap: Provides consistent components like Button, Row, Col, and Modal aligned with Expertiza’s design system&lt;br /&gt;
&lt;br /&gt;
* CSS-inJS: Not used directly but alternatives like inline styles and component based styling via props are utilized in some components.&lt;br /&gt;
&lt;br /&gt;
* Custom Styles: Additional custom classes are used for tooltips, warning messages from controls and icon replacements to match the UI guidelines.&lt;br /&gt;
&lt;br /&gt;
== Design Principles ==&lt;br /&gt;
&amp;lt;b&amp;gt; Consistency: &amp;lt;/b&amp;gt; Ensures a uniform experience by maintaining consistent typography, color schemes, iconography, spacing, and component behavior across all views and tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Readability: &amp;lt;/b&amp;gt; Enhances user comprehension through a clean, structured layout, appropriate font sizes, adequate white space, and proper alignment of content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Simplicity: &amp;lt;/b&amp;gt; Reduces cognitive load by eliminating non-essential elements, minimizing the number of visible actions, and focusing user attention on primary content and controls.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Reusability: &amp;lt;/b&amp;gt; Promotes the reuse of modular table components and UI elements (like buttons, badges, or input fields) to reduce duplication and ensure uniform behavior throughout the application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Scalability: &amp;lt;/b&amp;gt; UI components are built in a modular and extensible way, allowing easy integration of additional features without breaking the existing design.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; Feedback &amp;amp; Visibility: &amp;lt;/b&amp;gt; Provides immediate feedback through hover states, alerts, and visual cues for actions like submission, deletion, or errors.&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
==== Task 1 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-course-before.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
No pagination if there is only one page&lt;br /&gt;
&lt;br /&gt;
[[File:E2523-task-1-courses-after-no-pagination.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Code snippet:&lt;br /&gt;
Global filter span in the Table component changed:&lt;br /&gt;
[[File: Tablespanchange.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Task 2 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
==== Task 3 ====&lt;br /&gt;
Before:&lt;br /&gt;
&lt;br /&gt;
After:&lt;br /&gt;
&lt;br /&gt;
Submissions Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Submissions History Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3subhistafter.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3navbarafter.png|200px]]&lt;br /&gt;
&lt;br /&gt;
Code Snippet:&lt;br /&gt;
&lt;br /&gt;
New Table:&lt;br /&gt;
&lt;br /&gt;
[[File:Task3-Code-Table.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
New Navbar:&lt;br /&gt;
&lt;br /&gt;
[[File:Codenavbar.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Demo Video ==&lt;br /&gt;
&lt;br /&gt;
== List of Changes ==&lt;br /&gt;
&lt;br /&gt;
== Pull Request ==&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
== Future Scope ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Drag-and-Drop Reordering: &amp;lt;/b&amp;gt; Enable users to reorder table rows (e.g., TA list or reviewers) for a more interactive experience.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Inline Editing: &amp;lt;/b&amp;gt; Add inline editing capabilities for certain fields like names or roles without opening modals.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Enhanced Alerts and Notifications: &amp;lt;/b&amp;gt; Use toast notifications or alert banners with auto-dismiss and action buttons for better UX.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt; Dark Mode Support: &amp;lt;/b&amp;gt; Introduce a toggle to switch between light and dark themes for user comfort.&lt;br /&gt;
&lt;br /&gt;
* Should add Maya's point&lt;br /&gt;
&lt;br /&gt;
== Project Mentor ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Anvitha Reddy Gutha &amp;lt;/b&amp;gt; &amp;lt;agutha@ncsu.edu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Team Members ==&lt;br /&gt;
* &amp;lt;b&amp;gt; Aryan Inguva &amp;lt;/b&amp;gt; &amp;lt;ainguva@ncsu.edu&amp;gt; &lt;br /&gt;
* &amp;lt;b&amp;gt; Maya Mei &amp;lt;/b&amp;gt; &amp;lt;gmei@ncsu.edu&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt; Shuba Shwetha Kalyanasundaram &amp;lt;/b&amp;gt; &amp;lt;skalyan3@ncsu.edu&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Tablespanchange.png&amp;diff=162008</id>
		<title>File:Tablespanchange.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Tablespanchange.png&amp;diff=162008"/>
		<updated>2025-03-23T20:04:24Z</updated>

		<summary type="html">&lt;p&gt;Ainguva: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ainguva</name></author>
	</entry>
</feed>