Skip to content

Commit

Permalink
chore: Catchup commit to push in
Browse files Browse the repository at this point in the history
  • Loading branch information
vkraucunas committed Nov 26, 2020
1 parent 196f032 commit 75266d0
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 15 deletions.
9 changes: 5 additions & 4 deletions apps/lineup/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
module.exports = {
root: true,
env: {
node: true
node: true,
},
extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
parserOptions: {
parser: "babel-eslint"
parser: "babel-eslint",
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
}
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"comma-dangle": "off",
},
};
1 change: 1 addition & 0 deletions apps/lineup/src/components/PickerBtn.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div :id="id">
<button type="button">{{ name }}</button>
<select></select>
</div>
</template>

Expand Down
19 changes: 15 additions & 4 deletions apps/lineup/src/store/framework/functions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
export const funcs = [
export default [
{
id: 0,
id: "func0",
name: "Work",
subtypes: ["Independent", "Collaborative"]
}
subtypes: ["Independent", "Collaborative"],
},
{ id: "func1", name: "Cooking" },
{ id: "func2", name: "Storage" },
{
id: "func3",
name: "Gaming",
subtypes: ["Independent", "Collaborative"],
},
{ id: "func4", name: "Eating" },
{ id: "func5", name: "Relaxing", subtypes: ["Independent", "Group"] },
{ id: "func6", name: "Gardening", subtypes: ["Food", "Nonfood"] },
{ id: "func7", name: "Hobbies", subtypes: ["V", "J", "Shared", "Jim"] },
];
5 changes: 5 additions & 0 deletions apps/lineup/src/store/framework/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import values from "./values";
import powerUps from "./powerUps";
import funcs from "./functions";

module.exports = { values, funcs, powerUps };
1 change: 1 addition & 0 deletions apps/lineup/src/store/framework/powerUps.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default [{ id: "powerUp0", name: "Urgent", action: "*2" }];
14 changes: 7 additions & 7 deletions apps/lineup/src/store/framework/values.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const values = [
{ id: 0, name: "Safety", "max-val": 6 },
{ id: 1, name: "QOL - Function", "max-val": 5 },
{ id: 2, name: "QOL - Comfort", "max-val": 4 },
{ id: 3, name: "Eco conscious", "max-val": 3 },
{ id: 4, name: "Aesthetic", "max-val": 3 },
{ id: 5, name: "Money Saving", "max-val": 3 }
export default [
{ id: "val0", name: "Safety", "max-val": 6 },
{ id: "val1", name: "QOL - Function", "max-val": 5 },
{ id: "val2", name: "QOL - Comfort", "max-val": 4 },
{ id: "val3", name: "Eco conscious", "max-val": 3 },
{ id: "val4", name: "Aesthetic", "max-val": 3 },
{ id: "val5", name: "Money Saving", "max-val": 3 },
];
4 changes: 4 additions & 0 deletions apps/lineup/src/views/Add.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ export default {
width: 50%;
margin: 0 auto 0 0;
}
.md-field {
margin-bottom: 1.5rem;
}
}
</style>

0 comments on commit 75266d0

Please sign in to comment.