Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chrynn/todolist


https://github.com/chrynn/todolist

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# List

Create list application. Design is in **list.xd** file, which can be opened in
[Adobe XD](https://www.adobe.com/products/xd.html).

## Project setup

```bash
# install
npm ci
# serve with hot-reload for development
npm run serve
```

## Requirements

- DONE - List data should be stored in
[localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- DONE - List should be sortable by either string value (a-z) or by added date
(newest first)

- DONE - List item should display the delete button on mouse over
- DONE - New item # should be equal to maximum number from list plus 1 (starting
from 1)

- DONE - Each item should keep track of when the item was added
- DONE - Search bar should have multiple functionality

- DONE - Non-empty value can be cleared through the clear button, or by pressing
Escape key
- DONE - If searched string (case insensitive) is already present in the list, the
add button is disabled and appropriate item is marked as "Exact match"
- DONE - If no exact match is found, the add button is enabled and click on it or
press of Enter key should add the string to the list

- DONE - Search bar, list item and icons (svg files in assets) should be
individual components

- DONE - All components should use typescript for its `` part with
composition api (setup) and scss module for its `<style>` part DONE - All
colors should be defined in `_color.scss` file

## Libraries

The following libraries are available, you can import any utility you'll need.

- [date-fns](https://date-fns.org/) `import { } from "date-fns"`
- [lodash](https://lodash.com/) `import { } from "lodash"`