This commit is contained in:
2020-04-19 23:18:13 +00:00
parent 683e117187
commit 7a61a76359
4 changed files with 11 additions and 9 deletions

View File

@@ -236,6 +236,10 @@ todo: Test widget form as bizamdinlimited read only mode because I think several
- remove clear button and option if read only
- make sure can't use any of the controls the make changes
todo: bug regression, customize form shows dirty immediately after good save?
- this is similar to other shit I saw, maybe there was a change that somehow broke the isdirty code
- check all saveable forms for this issue
todo: BUG Something fucked with history? When I click on a widget's history button in admin user history view it shows two created record with differing timestamps
- note, it doesn't seem to do it on the most recent widgets, but only on the first few created for some reason?!
todo: Not sure I like not being able to logout from a widget edit form
@@ -255,7 +259,7 @@ todo: ATTACHMENTS
- TODO: PLANNING - should attachments be actually attached in the db to their object? like Wiki was changed to do?
- is this even possible?
- if not, then should it really be treated like a data field like wiki in UI or it's own thing?
- server should send the list of attachments on an object with the object as a read only property
- This way they can be displayed in the UI without another hit to the server and used for attaching wiki images etc etc
- Server needs route to get attached files from direct url without headers being set

View File

@@ -2,6 +2,10 @@
//AyaNova Translation related utilities
export default {
get(key) {
//no translation for Wiki
if (key == "Wiki") {
return "Wiki";
}
if (!window.$gz._.has(window.$gz.store.state.translationText, key)) {
return "??" + key;
}

View File

@@ -813,12 +813,6 @@ export default {
/**
todo: Add wiki field to form defintions at server so can hide or show in form customization
- Also for dataLists? (for reporting not grid I mean)
todo: event log type just for edit wiki?
- this is because a wiki is not a discrete object in v8 so rights follow object itself and maybe it's necessary to know when wiki was edited?
- or is this more important than some other events? Not sure.

View File

@@ -204,8 +204,8 @@
@input="fieldValueChanged('customFields')"
></gz-custom-fields>
</v-col>
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
<v-col v-if="form().showMe(this, 'wiki')" cols="12">
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
ref="wiki"
v-model="obj.wiki"