Skip to content

Commit 384238a

Browse files
handled merge conflicts with full team
Faraz Moallemi [email protected] Sean Grace [email protected] Nicholas Schillaci [email protected]
2 parents b414a91 + 32c589a commit 384238a

File tree

7 files changed

+53
-28
lines changed

7 files changed

+53
-28
lines changed

src/components/CodeSnippet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Description:
3-
Dynamically renders Code Snippet in Footer
3+
Dynamically renders Code Snippet in Dashboard
44
Functionality includes: Displays children components and (nested) HTML elements in order of selection.
55
-->
66

src/components/ComponentDetails.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ i
8484
font-size 8px
8585
margin 5px
8686
87-
// styling for the entire footer
87+
// styling for the entire dashboard
8888
.q-footer
8989
transition-timing-function ease-in
9090
transition .2s
9191
background $subsecondary
9292
93-
// changes the footer toolbar height
93+
// changes the dashboard toolbar height
9494
.q-toolbar
9595
min-height 25px !important
9696
padding 0 6px !important

src/components/ComponentDisplay.vue

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ Description:
3333
<div class="component-title">
3434
<p>{{ componentData.componentName }}</p>
3535
</div>
36-
<p> Elements in Component: </p>
37-
<p
38-
v-for="htmlElement in componentMap[componentData.componentName]
39-
.htmlList"
40-
:key="htmlElement"
41-
>
42-
{{ htmlElement.text }}
43-
</p>
36+
<div class="component-html-info">
37+
<p>Elements in Component:</p>
38+
<p
39+
class="list-of-elements"
40+
v-for="htmlElement in componentMap[componentData.componentName]
41+
.htmlList"
42+
:key="htmlElement"
43+
>
44+
{{ htmlElement.text }}
45+
</p>
46+
</div>
4447
<q-menu context-menu>
4548
<q-list color="black" class="menu">
4649
<q-item clickable v-ripple v-close-popup @click="handleAddChild">
@@ -402,6 +405,28 @@ export default {
402405
line-height: 1.2;
403406
z-index: -1;
404407
}
408+
/* .component-html-info {
409+
position: relative;
410+
font-size: 16px;
411+
top: -18px;
412+
left: 2px;
413+
color: black;
414+
-webkit-text-stroke: 0.4px white;
415+
font-weight: 800;
416+
line-height: 1.2;
417+
z-index: -1;
418+
} */
419+
.component-html-info {
420+
display: flex;
421+
/* flex-basis: auto; */
422+
flex-direction: column;
423+
/* flex-wrap: wrap; */
424+
/* justify-content: center; */
425+
/* flex-flow: column wrap; */
426+
/* align-content: stretch; */
427+
/* align-items: flex-start; */
428+
font-weight: 800;
429+
}
405430
.component-children {
406431
position: relative;
407432
top: 0rem;

src/components/Footer.vue renamed to src/components/Dashboard.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Description:
3-
Displays OverVue's footer containing Code Snippet, component details (TBD), Project Tree, and HTML Elements tabs
3+
Displays OverVue's dashboard containing Code Snippet, component details (TBD), Project Tree, and HTML Elements tabs
44
Functionality includes: opening/closing drawer, deselecting active html, and
55
toggling to html elements tab during component creation
66
-->
@@ -13,7 +13,7 @@ Description:
1313
</q-btn>
1414
<q-toolbar-title>Dashboard</q-toolbar-title>
1515
</q-toolbar>
16-
<q-card id="footer-cards">
16+
<q-card id="dashboard-cards">
1717
<q-tabs
1818
v-model="tab"
1919
dense
@@ -67,7 +67,7 @@ export default {
6767
},
6868
methods: {
6969
...mapActions(['setActiveHTML']),
70-
// toggles open/close action of footer drawer
70+
// toggles open/close action of dashboard drawer
7171
openBottomDrawer () {
7272
// 15in mb pro - 1027 px 3.75
7373
// big screens 2.5
@@ -85,23 +85,23 @@ export default {
8585
}
8686
}
8787
},
88-
// toggles footer to "html" tab when existing component is not in focus
88+
// toggles dashboard to "html" tab when existing component is not in focus
8989
watch: {
9090
activeComponent: function () {
91-
// console.log('watching activeComponent in Footer');
91+
// console.log('watching activeComponent in Dashboard');
9292
if (this.activeComponent === '' && this.selectedElementList.length !== 0) {
9393
this.tab = 'html'
9494
}
9595
},
96-
// toggles footer to "html" tab if component name has value & elements are in queue
96+
// toggles dashboard to "html" tab if component name has value & elements are in queue
9797
componentNameInputValue: function () {
9898
// console.log('watching componentNameInputVal')
9999
if (this.componentNameInputValue !== '' && this.selectedElementList.length !== 0 && this.activeComponent === '') {
100100
// console.log(this.selectedElementList)
101101
this.tab = 'html'
102102
}
103103
},
104-
// toggles footer to "html" tab if elements are added to queue on component creation
104+
// toggles dashboard to "html" tab if elements are added to queue on component creation
105105
selectedElementList: function () {
106106
// console.log('watching selectedElementList')
107107
if (this.activeComponent === '' && this.selectedElementList.length !== 0) {
@@ -122,14 +122,14 @@ i {
122122
margin: 5px;
123123
}
124124
125-
// styling for the entire footer
125+
// styling for the entire dashboard
126126
.q-footer {
127127
transition-timing-function: ease-in;
128128
transition: 0.2s;
129129
background: $subsecondary;
130130
}
131131
132-
// changes the footer toolbar height
132+
// changes the dashboard toolbar height
133133
.q-toolbar {
134134
min-height: 25px !important;
135135
padding: 0 6px !important;
@@ -174,7 +174,7 @@ i {
174174
background: black;
175175
}
176176
177-
#footer-cards {
177+
#dashboard-cards {
178178
height: 100%;
179179
border-radius: 0px;
180180
background: #737578;

src/components/DashboardVuexStore.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ i
6262
font-size 8px
6363
margin 5px
6464
65-
// styling for the entire footer
65+
// styling for the entire Dashboard
6666
.q-footer
6767
transition-timing-function ease-in
6868
transition .2s
6969
background $subsecondary
7070
71-
// changes the footer toolbar height
71+
// changes the Dashboard toolbar height
7272
.q-toolbar
7373
min-height 25px !important
7474
padding 0 6px !important

src/components/Tree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Description:
3-
Displays project tree in Footer
3+
Displays project tree in Dashboard
44
Functionality includes: formating componentMap object to displaying in tree form
55
-->
66

src/layouts/MyLayout.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Description:
3-
Displays OverVue application layout including undo/redo button, openProject, saveProject, and exportProject, side panels, and footer
3+
Displays OverVue application layout including undo/redo button, openProject, saveProject, and exportProject, side panels, and dashboard
44
Functionality includes: Toolbar to the left that can be toggled open/closed and undo/redo functionality
55
-->
66

@@ -37,13 +37,13 @@ Description:
3737
<q-page-container>
3838
<router-view />
3939
</q-page-container>
40-
<Footer />
40+
<Dashboard/>
4141
</q-layout>
4242
</template>
4343

4444
<script>
4545
import HomeSideDropDown from '../components/HomeSideDropDown'
46-
import Footer from '../components/Footer'
46+
import Dashboard from '../components/Dashboard'
4747
import CreateComponent from '../components/CreateComponent'
4848
import ExportProjectComponent from '../components/ExportProject'
4949
import SaveProjectComponent from '../components/SaveProjectComponent'
@@ -59,7 +59,7 @@ export default {
5959
},
6060
components: {
6161
HomeSideDropDown,
62-
Footer,
62+
Dashboard,
6363
CreateComponent,
6464
ExportProjectComponent,
6565
SaveProjectComponent,

0 commit comments

Comments
 (0)