a352a351bf
by @Shuyinsama Squashed commit of the following: commit 0c05ff510e4bd0d7161c49245dd11e6abe882d96 Author: Matteo Pagliazzi <matteopagliazzi@gmail.com> Date: Sat Jun 27 19:41:58 2020 +0200 fix lint commit 2e1e1e4071d57fa2853a4a8f481c94bd5836037f Merge:cbc9af4ef5fc46d73b1dAuthor: Matteo Pagliazzi <matteopagliazzi@gmail.com> Date: Sat Jun 27 19:39:58 2020 +0200 Merge branch 'feature/Deleting-a-reward-asks-you-if-you-want-to-delete-the-task' of https://github.com/Shuyinsama/habitica into Shuyinsama-feature/Deleting-a-reward-asks-you-if-you-want-to-delete-the-task commitfc46d73b1dAuthor: Patrick van Zadel <Shuyinsama@users.noreply.github.com> Date: Sat Jun 27 18:54:08 2020 +0200 Renamed keys and fixed a check in the modal commitec5b765f5cAuthor: Patrick van Zadel <Shuyinsama@users.noreply.github.com> Date: Sat Jun 27 18:45:25 2020 +0200 Renamed translation keys commitf0837dc571Author: Patrick van Zadel <patrickvanzadel@eleven.nl> Date: Tue Jun 23 23:06:59 2020 +0200 Added the task type to the "Delete" alert window so it now asks if you want to delete the task of type Edited the "Delete this ..." button in the edit task modal to represent the task type
Habitica Client
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your unit tests
npm run test:unit
Lints and fixes files
npm run lint
Customize configuration
Storybook
Storybook is mainly used while working on UI-Components to see changes faster instead of using the website.
Start Storybook
npm run storybook:serve
This will start the storybook process, every *.stories.js-File is searched and added to the storybook overview.
Storybook Worklow
Usually when you working on component-name.vue you also create a component-name.stories.js file.
Example of the stories structure - Storybook Docs - CountBadge
Each function or example of this component will be put after storiesOf('Your Component', module),
in a separate .add('function of component', ...
Storybook Build
After each client build, storybook build is also triggered and will be available in dist/storybook