Giter Site home page Giter Site logo

assignment-tracker-using-typescript-'s People

Contributors

swayambadhe avatar

assignment-tracker-using-typescript-'s Issues

Enhance Sorting Feature in table.ts: Allow Sorting by Assignment Name, Given Date, and Due Date

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:

  1. Modify the existing sorting functionality in the table.ts file to include sorting options for assignment name, given date, and due date.

  2. Implement user-friendly sorting controls, such as buttons or dropdown menus, to allow users to select their desired sorting criteria.

  3. Ensure that the sorting function is responsive and accurately sorts table entries based on the selected criteria.

  4. 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:

  1. Fork this repository.

  2. Clone the forked repository to your local machine.

  3. Create a new branch for this issue using the format: feature/enhance-sorting.

  4. Implement the changes as described above.

  5. Push your changes to your forked repository.

  6. 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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.