This commit is contained in:
@@ -219,7 +219,10 @@ RESEARCH
|
||||
|
||||
|
||||
|
||||
|
||||
------------------------ /WIKI ---------------------------
|
||||
|
||||
|
||||
todo: document that emojis can be used in any text field and key combo on windows is winkey-period
|
||||
-other os's too?
|
||||
todo: make the navigation pane sticky so it remembers the last setting of hidden or showing in large view size
|
||||
@@ -261,6 +264,9 @@ todo: ATTACHMENTS
|
||||
- Maybe thumbnail pictures in the UI for easier download when viewing the list of attachments
|
||||
- Consider ability to show attachment links / thumbnails at bottom of edit forms
|
||||
|
||||
todo: AFTER ATTACHMENTS
|
||||
- Go back and finish off wiki image attachment UI and code
|
||||
|
||||
|
||||
TODO: PRIORITIZE THE FOLLOWING BLOCK AND move INTO appropriate STAGES
|
||||
(these items came up looking through the raven priority 1 cases for general UI stuff)
|
||||
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
"InsertImage",
|
||||
"ImageUrl",
|
||||
"ImageDescription",
|
||||
"File"
|
||||
"AttachFile"
|
||||
],
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
<div>
|
||||
<v-tabs grow color="primary">
|
||||
<v-tab>URL</v-tab>
|
||||
<v-tab>{{ $ay.t("File") }}</v-tab>
|
||||
<v-tab>{{ $ay.t("Attachments") }}</v-tab>
|
||||
|
||||
<v-tab-item
|
||||
><div class="ma-6">
|
||||
@@ -230,7 +230,18 @@
|
||||
></v-tab-item>
|
||||
<v-tab-item
|
||||
><div class="ma-6">
|
||||
FILE SELECT HERE FILE UPLOAD HERE
|
||||
<v-select
|
||||
:label="$ay.t('Attachments')"
|
||||
v-model="selectedImageAttachment"
|
||||
:items="availableAttachments()"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
></v-select>
|
||||
<!--
|
||||
<v-file-input
|
||||
:label="$ay.t('AttachFile')"
|
||||
prepend-icon="fa-paperclip"
|
||||
></v-file-input> -->
|
||||
|
||||
<v-text-field
|
||||
v-model="imageText"
|
||||
@@ -352,12 +363,14 @@ export default {
|
||||
linkText: "",
|
||||
imageMenu: false,
|
||||
imageUrl: "",
|
||||
imageText: ""
|
||||
imageText: "",
|
||||
selectedImageAttachment: null
|
||||
};
|
||||
},
|
||||
props: {
|
||||
value: String,
|
||||
readOnly: Boolean
|
||||
readOnly: Boolean,
|
||||
attachments: Array
|
||||
},
|
||||
watch: {
|
||||
value(value) {
|
||||
@@ -740,6 +753,13 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.imageMenu = true;
|
||||
});
|
||||
},
|
||||
availableAttachments() {
|
||||
return [
|
||||
{ id: 0, name: "Stub attachment one" },
|
||||
{ id: 1, name: "Stub attachment two" },
|
||||
{ id: 2, name: "Stub attachment three" }
|
||||
];
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -763,6 +783,7 @@ todo: Undo / redo (ctrl-z / ctrl-y) ability?
|
||||
todo: wiki controls showing before widget form has loaded causing annoying ability to click but then doesn't work right away
|
||||
- wiki controls (and indeed nothing at all) should show on form until the object is finished loading
|
||||
|
||||
todo: widget form, remove wiki menu option
|
||||
|
||||
todo: Add wikiContent field to form defintions at server so can hide or show in form customization
|
||||
- Also for dataLists? (for reporting not grid I mean)
|
||||
|
||||
Reference in New Issue
Block a user