This commit is contained in:
@@ -70,16 +70,16 @@ CURRENT TODOs
|
||||
|
||||
todo: Fix the above, then retest on all devices locally to ensure it's working properly
|
||||
|
||||
todo: Picture input in attachments
|
||||
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/2080
|
||||
https://w3c.github.io/html-media-capture/#examples
|
||||
todo: attachment reveal button looks weird below wiki reveal button when read-write
|
||||
- open read only see if it looks better if they're teh same and make it so with wiki or
|
||||
- make the attach like the wiki
|
||||
- Buttons would be more compact and share the title area so maybe that's teh way to go
|
||||
|
||||
todo: have a look at ordering the file list in attachments
|
||||
- people might want to see them in order or not.
|
||||
- when doing an image the ipad just calls it image.jpg, could be more than one how to find in the list
|
||||
(or they should just make a note maybe)
|
||||
|
||||
todo: rotate photos? how to handle? (user figure out kind of thing, like always have the camera tilted x way or something?)
|
||||
|
||||
todo: User options input photo?
|
||||
- and show the photo on the list menu and in internal message etc?
|
||||
@@ -91,10 +91,7 @@ todo: have a look at this: devices and sensors specs
|
||||
https://www.w3.org/wiki/DAS/Implementations
|
||||
https://wpt.fyi/results/?label=experimental&label=master&aligned
|
||||
|
||||
todo: attachment reveal button looks weird below wiki reveal button when read-write
|
||||
- open read only see if it looks better if they're teh same and make it so with wiki or
|
||||
- make the attach like the wiki
|
||||
- Buttons would be more compact and share the title area so maybe that's teh way to go
|
||||
|
||||
|
||||
todo: Look at attachment saving code on server, should it zip?
|
||||
|
||||
|
||||
@@ -1,24 +1,13 @@
|
||||
<template>
|
||||
<div class="mt-6">
|
||||
<template v-if="readonly">
|
||||
<div>
|
||||
<v-btn depressed tile @click="switchView()">
|
||||
Wiki<v-icon right>{{ switchViewIcon() }}</v-icon></v-btn
|
||||
>
|
||||
<v-btn depressed tile @click="toggleReveal">
|
||||
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
|
||||
></v-btn>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<span class="v-label v-label--active theme--light">
|
||||
Wiki
|
||||
</span>
|
||||
<template v-if="reveal">
|
||||
<template v-if="!readonly">
|
||||
<div class="mt-2">
|
||||
<v-btn
|
||||
text
|
||||
:outlined="currentView == view.HIDDEN_VIEW"
|
||||
@click="currentView = view.HIDDEN_VIEW"
|
||||
>
|
||||
<v-icon>fa-eye-slash</v-icon>
|
||||
</v-btn>
|
||||
<v-btn
|
||||
text
|
||||
:outlined="currentView == view.WIKI_VIEW"
|
||||
@@ -322,6 +311,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-sheet>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -356,6 +346,7 @@ export default {
|
||||
return {
|
||||
localVal: this.value,
|
||||
currentView: 0,
|
||||
reveal: false,
|
||||
selection: {
|
||||
start: 0,
|
||||
end: 0,
|
||||
@@ -415,6 +406,9 @@ export default {
|
||||
// this.editAreaHeight = window.innerHeight / 2;
|
||||
this.editAreaHeight = window.innerHeight * 0.8;
|
||||
},
|
||||
toggleReveal() {
|
||||
this.reveal = !this.reveal;
|
||||
},
|
||||
editStyle() {
|
||||
if (this.currentView == this.view.SPLIT_VIEW) {
|
||||
return "height: " + this.editAreaHeight + "px;";
|
||||
|
||||
Reference in New Issue
Block a user