Commit 6d6db0f7 authored by Anton Koch's avatar Anton Koch

Merge branch '24-edit-grid-dimensions---systems-frontend' into 'master'

new add/delete cell/colums GUI for mosys (desktop) (#24)

Closes #24

See merge request !110
parents 65094da7 6b5d02d1
Pipeline #50483 passed with stage
in 2 minutes and 23 seconds
Subproject commit 8e702a4ab0be9c3b85f3605457d3ae20edc4f61f
Subproject commit ea50bbf7e69486227ae1831970f46af93c5e8980
Subproject commit b786174eeebd4fe5a13385708ee977e412df3e06
Subproject commit ed8d3a92a8db79d934ecaa2e6c34bcb056b2d419
......@@ -5,7 +5,7 @@ const mosys = {
state: {
sourcesTabName: '',
showSources: false,
showAddCells: false,
// showAddCells: false,
showEditingCells: false,
selectedCells: [],
editingCells: [],
......@@ -15,13 +15,15 @@ const mosys = {
currentTimeline: undefined,
sourceCellInput: undefined,
editGrid: false,
dimensions: {}
},
getters: {
getEditGrid: state => state.editGrid,
getSourceCellInput: state => state.sourceCellInput,
getNewCell: state => state.newCell,
getShowSources: state => state.showSources,
getShowAddCells: state => state.showAddCells,
// getShowAddCells: state => state.showAddCells,
getSelectedCells: state => state.selectedCells,
getEditingCells: state => state.editingCells,
getShowEditingCells: state => state.showEditingCells,
......@@ -30,6 +32,9 @@ const mosys = {
getCurrentTimeline: state => state.currentTimeline
},
mutations: {
toggleGridEdit (state) {
state.editGrid = !state.editGrid
},
setSourceCellInput (state, value) {
state.sourceCellInput = value
},
......@@ -71,6 +76,7 @@ const mosys = {
hideSources: (state) => {
state.showSources = false
},
/*
showAddCells: (state) => {
state.showAddCells = true
if (state.showAddCells) {
......@@ -85,7 +91,7 @@ const mosys = {
},
hideAddCells: (state) => {
state.showAddCells = false
},
}, */
showEditingCells: (state) => {
state.showEditingCells = true
if (state.showEditingCells) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment