You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our web application features a sorting function that allows users to sort table entries by subject. While this is a valuable feature, we aim to enhance user experience by expanding the sorting functionality. The goal is to enable users to sort table entries by multiple criteria, including assignment name, given date, and due date.
Task:
Modify the existing sorting functionality in the table.ts file to include sorting options for assignment name, given date, and due date.
Implement user-friendly sorting controls, such as buttons or dropdown menus, to allow users to select their desired sorting criteria.
Ensure that the sorting function is responsive and accurately sorts table entries based on the selected criteria.
Test the sorting feature thoroughly to ensure it functions correctly.
Example Code (for reference):
// Existing sorting function in table.ts
const sortBySubject = () => {
formDataArray.sort((a, b) => {
return a.subject.localeCompare(b.subject);
});
updateLocalStorageAndTable();
};
// Add similar functions for sorting by assignment name, given date, and due date
const sortByAssignmentName = () => {
// Implement sorting logic here
// ...
updateLocalStorageAndTable();
};
// Repeat the process for sorting by given date and due date
// ...
Skills Required: TypeScript, Javascript, HTML, Frontend Development
Expected Outcome:
Users should be able to sort table entries by assignment name, given date, and due date using user-friendly sorting controls.
Getting Started:
Fork this repository.
Clone the forked repository to your local machine.
Create a new branch for this issue using the format: feature/enhance-sorting.
Implement the changes as described above.
Push your changes to your forked repository.
Create a pull request to merge your changes into the main repository.
Notes:
This enhancement will make our web application more versatile and user-friendly.
If you have any questions or need assistance, feel free to reach out.
Your contribution to enhancing the sorting feature will greatly benefit our users and improve the overall usability of our web application. Thank you for taking on this task!
The text was updated successfully, but these errors were encountered:
SwayamBadhe
changed the title
Enhance Sorting Feature: Allow Sorting by Assignment Name, Given Date, and Due Date
Enhance Sorting Feature in table.ts: Allow Sorting by Assignment Name, Given Date, and Due Date
Oct 9, 2023
Description:
Currently, our web application features a sorting function that allows users to sort table entries by subject. While this is a valuable feature, we aim to enhance user experience by expanding the sorting functionality. The goal is to enable users to sort table entries by multiple criteria, including assignment name, given date, and due date.
Task:
Modify the existing sorting functionality in the table.ts file to include sorting options for assignment name, given date, and due date.
Implement user-friendly sorting controls, such as buttons or dropdown menus, to allow users to select their desired sorting criteria.
Ensure that the sorting function is responsive and accurately sorts table entries based on the selected criteria.
Test the sorting feature thoroughly to ensure it functions correctly.
Example Code (for reference):
Skills Required: TypeScript, Javascript, HTML, Frontend Development
Expected Outcome:
Users should be able to sort table entries by assignment name, given date, and due date using user-friendly sorting controls.
Getting Started:
Fork this repository.
Clone the forked repository to your local machine.
Create a new branch for this issue using the format: feature/enhance-sorting.
Implement the changes as described above.
Push your changes to your forked repository.
Create a pull request to merge your changes into the main repository.
Notes:
This enhancement will make our web application more versatile and user-friendly.
If you have any questions or need assistance, feel free to reach out.
Your contribution to enhancing the sorting feature will greatly benefit our users and improve the overall usability of our web application. Thank you for taking on this task!
The text was updated successfully, but these errors were encountered: