You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note functionality implemented: duplicate check added at time of addition, deletion improvement to create specific delete button, better formatting of note box. adding some additional functionality to ComponentDisplay.vue to hide the tutorial if it is a) the first time the tut has been opened, and b) the user activates a component
Copy file name to clipboardExpand all lines: src/components/ComponentDisplay.vue
+69-52Lines changed: 69 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -114,70 +114,44 @@
114
114
style="width: 250px; background-color: #fd5f00"
115
115
/>
116
116
</q-dialog>
117
+
117
118
<!-- some irregularity (delete event listener firing on bkspc/del) with the modal when stored locally, so modal open stored in state, and triggers to local reflect only stateful change.-->
<pclass="title">Adding notes to {{ this.activeComponent }}</p>
122
123
<divclass="noteContainer">
123
-
<liv-for="(note, index) in this.componentMap[this.activeComponent].noteList":key="note"@click="deleteNote">
124
-
Note #{{index}}:
125
-
<divclass="noteblock">{{ note }}</div>
126
-
</li>
127
-
</div>
128
-
<q-formclass="formBox"autofocus>
129
-
<q-input
130
-
v-model="noteText"
131
-
label="Add your note here"
132
-
filled
133
-
dark
134
-
max-height=15%
135
-
autofocustrue
136
-
></q-input>
137
-
<q-btn
138
-
color="secondary"
139
-
label="Submit Note"
140
-
type="submit"
141
-
:disable="noteText.length > 0 ? false : true"
142
-
@click="submitNote"
143
-
/>
144
-
</q-form>
145
-
</div>
146
-
</div>
147
-
</q-dialog>
148
-
<!-- some irregularity (delete event listener firing on bkspc/del) with the modal when stored locally, so modal open stored in state, and triggers to local reflect only stateful change.-->
0 commit comments