habitica/website/client
Aleksey eaad244181 Refactoring & Fix: editing group and challenges from user dashboard (#11418)
* Refactoring & Feature: edit/delete group and challenge tasks

- Remove showOption from tasks props
- Pass all needed data to task for understand in mapGetter function which controls we should show
- Improve current solution with edit and delete logic

* Fix: this in template

* Fix & Test: extend tests, fix can Edit/Delete functions

* Fix: allow user edit challenge tasks on dashboard

* Fix: test case after code change

* fix import path

* Fix:

- Extend canEdit and canDelete functions with admin role
- Clarify canEdit and canDelete conditions
- Extend test cases
2019-11-16 18:36:27 +01:00
..
public move static files & fixes 2019-10-15 18:45:20 +02:00
scripts fix(client scripts): add output and fix linting 2019-10-24 14:29:47 +02:00
src Refactoring & Fix: editing group and challenges from user dashboard (#11418) 2019-11-16 18:36:27 +01:00
tests/unit Refactoring & Fix: editing group and challenges from user dashboard (#11418) 2019-11-16 18:36:27 +01:00
.browserslistrc old client structure 2019-10-01 11:44:38 +02:00
.eslintrc.js misc, fix client tests 2019-10-15 15:32:53 +02:00
babel.config.js misc, fix client tests 2019-10-15 15:32:53 +02:00
package-lock.json Merge pull request #11527 from HabitRPG/dependabot/npm_and_yarn/website/client/eslint-plugin-vue-6.0.0 2019-11-11 11:23:27 +01:00
package.json Merge pull request #11527 from HabitRPG/dependabot/npm_and_yarn/website/client/eslint-plugin-vue-6.0.0 2019-11-11 11:23:27 +01:00
postcss.config.js misc, fix client tests 2019-10-15 15:32:53 +02:00
README.md old client structure 2019-10-01 11:44:38 +02:00
vue.config.js fix svg path 2019-10-15 18:49:15 +02:00

new_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

See Configuration Reference.