31 Commits

Author SHA1 Message Date
Guz
98163fdb09 fix(subTasks): Fixed subTaskLists not being properly updated.
Fix ´SubTaskList´ components not being properly rendered when a task was deleted.

Also added a `v-if` and `Lazy` prefix for ´SubTaskList´ components.
2022-02-17 10:00:41 -03:00
Guz
2856c49f31 chore(dev): removed development related code/info on the footer for the production branch. 2022-02-11 19:40:54 -03:00
Guz
a0cc7c04e5 refactor(storageListeners): Added to the Storage Management custom event's types/names as optionals parameter.
Added an optional parameter for the `storageManagement.ts` functions: `event`, which can be just a single string or an array of strings. It can be used/understand as a "better connection" of events that can happen to the localStorage and components and functions that depend on these events.

For example: now components like the `ProgressBar.vue` just need to listen to changes on tasks and sub-tasks states changes and not listen to every update on the localStorage.
2022-02-11 19:36:29 -03:00
Guz
7772dd2cb5 fix(SubTaskInput): Hotfix on SubTaskInput not working properly
Hotfix new subtasks not being added on tasks with the id bigger than `0`
2022-02-07 09:26:00 -03:00
Guz
7e6869d741 feat(storageSize): created sm.getSize() that returns the size of the localStorage JSON file. 2022-02-05 17:57:02 -03:00
Guz
93fd76e803 chrore(favicon): updated favicons. 2022-02-05 16:59:19 -03:00
Guz
5ac236baec refactor(metaInfo): added meta tags and information. 2022-02-05 14:22:05 -03:00
Guz
92050b5fb7 fix(pageStyle): improved the style of the application.
Improved the code of the page's style and improved the support for mobile devices.
2022-02-05 14:14:51 -03:00
Guz
aecb49e40a fix(logo): updated the app's logo 2022-02-01 16:50:26 -03:00
Guz
35c85fd3de feat(inputs): Created inputs to the user create custom tasks.
Created inputs for task and sub-tasks (`Task/TaskInput.vue`, `SubTask/SubTaskInput.vue`), enabling the creation of custom tasks and sub-tasks;

Removed debug buttons.
2022-02-01 11:44:04 -03:00
Guz
e522c42a8d fix(cursorTaskComp): checkbox now sets the cursor to pointer 2022-01-31 17:42:32 -03:00
Guz
9f6d6d186d feat(progressBar): added progress bar
Created a progress bar component `ProgressBar.vue` that independently tracks how many tasks and sub-tasks have been completed.
2022-01-31 12:20:08 -03:00
Guz
3091f63677 fix(subTaskState): subTask checking parent's state and not subTask's state 2022-01-30 20:59:44 -03:00
Guz
6ea20001e2 chore(types): added custom types for common objects/values. 2022-01-30 20:07:13 -03:00
Guz
7bd0e46f24 feat(subTasks): created SubTask and SubTaskList components.
Created the sub-tasks feature, now each Task component also has its sub-tasks and sub-task list, stored on LocalStorage parent object;
2022-01-30 17:53:48 -03:00
Guz
51c4618d9c fix(animations): animations played before necessary / on page load, files location;
Fixed animation being played right after pages load, created `.preventAnimLoad` (used on a parent element that's being loaded), and `.preventAnim` classes (used on the element with the animation to be prevented) to this;

Moved `TaskList.vue` and `TaskComp.vue` to Task (`components/Task`) for better organization.
2022-01-30 17:50:27 -03:00
Guz
6a5cf5edda style: code style in some files 2022-01-30 17:41:25 -03:00
Guz
e6d036784f feat(taskList): created task list and improved task component
Created the Task List component to handle and render the Task components dynamically;

Improved Task component to now be able to delete itself from the list / added task controls;

Task's state now are saved in LocalStorage;

Added animations to Task Components;
2022-01-29 11:46:57 -03:00
Guz
b2e4b822e8 debug: removed buttons used for debugging the task component 2022-01-29 11:39:50 -03:00
Guz
cfdab5b7a4 feat(storageManagement): added sm.remove(), function now find the value's nested path, created utils.ts.
Created the `sm.remove()` function that, as its name implies, removes a value inside of LocalStorage's data;

Functions on StorageManagement now uses the nested path to locate a value on the LocalStorage;

Added description to `sm.get()`;

Created `utils.ts` for common functions/utilities;
2022-01-29 11:37:56 -03:00
Guz
191dcad134 feat(tasks): Created the base of the Task Component 2022-01-28 11:15:07 -03:00
Guz
f78a89d81b fix(theme): changed and added colors
Updated the page's colors to follow the CatCupp pastel theme.
2022-01-28 11:07:41 -03:00
Guz
6f5ff36aac fix(storage and linting): hot-fix on storageManagemtn set function and formated code.
Simple fix on the `set` function on the storage management that caused the JSON file to be an invalid schema. Formated the code to follow the code style.
2022-01-26 13:01:45 -03:00
Guz
d1e966a7cc feat(dev, footer): added info about the storage file
Added when the memory/storage file was last updated to the footer and changed copyright from Project Lored to simply Lored.
2022-01-26 12:31:16 -03:00
Guz
468e0078f9 feat(storageManagement): added easy local storage management.
Created a simple library/functions to handle the JSON file used as memory on the browser's local storage, can handle errors, and can be reused in other projects without problems probably.

Version changed to 0.2.0
2022-01-26 12:28:22 -03:00
Guz
10baf039df fix(date-lib): hour display format.
Fixed how the readable hours are displayed, now something like 8:5 will be correctly displayed 08:05.
2022-01-26 12:23:24 -03:00
Guz
7bb6025c80 feat(devBuild): added app's version to the footer 2022-01-25 13:01:21 -03:00
Guz
6f3447e89c feat(date): added simple library/module to handle date related requests
Created a simple "shorthand" module to help get the current date easily.
2022-01-25 12:58:16 -03:00
Guz
be9460a8ce fix: logo and icons now changes depending on page's theme
Used a workaround using CSS to change what element is displayed when the page's theme is changed, now depending on the theme's classes (`.light-mode` and `.dark-mode`) instead of with `$colorMode.value`, apparently it's wasn't working properly when the page is loaded multiple times.
2022-01-19 18:43:07 -03:00
Guz
e3efc2df91 'tiny' fix: repository info, code style, and bugs.
- Updated repository information like README, License, and app's version to 0.1.0 for better versioning;

- (Possibly) fixed PWA and page theme features;

- Fixed linting code format.
2022-01-19 16:58:55 -03:00
Guz
a59f1d375d Setup completed.
Completed the main setup of the development environment of nuxt.js and created a simple boilerplate/temporary start page with theme functionality.
2022-01-17 18:54:03 -03:00