mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-09-30 00:56:59 +13:00
0.1.5 - RC6 - hotfix with document copy from the hierarchy tree
This commit is contained in:
parent
206762d3c6
commit
04a2643f90
2 changed files with 28 additions and 1 deletions
|
@ -7,6 +7,30 @@ export const copyDocument = (currentDoc: I_OpenedDocument, newDocumentID: string
|
||||||
currentDoc.hasEdits = false
|
currentDoc.hasEdits = false
|
||||||
currentDoc.url = `/project/display-content/${currentDoc.type}/${newDocumentID}`
|
currentDoc.url = `/project/display-content/${currentDoc.type}/${newDocumentID}`
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
if (currentDoc.key) {
|
||||||
|
// @ts-ignore
|
||||||
|
delete (currentDoc.key)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
if (currentDoc.handler) {
|
||||||
|
// @ts-ignore
|
||||||
|
delete (currentDoc.handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
if (currentDoc.children) {
|
||||||
|
// @ts-ignore
|
||||||
|
delete (currentDoc.children)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
if (currentDoc.sticker) {
|
||||||
|
// @ts-ignore
|
||||||
|
delete (currentDoc.sticker)
|
||||||
|
}
|
||||||
|
|
||||||
delete (currentDoc._rev)
|
delete (currentDoc._rev)
|
||||||
|
|
||||||
const documentNameIndex = currentDoc.extraFields.findIndex(e => e.id === "name")
|
const documentNameIndex = currentDoc.extraFields.findIndex(e => e.id === "name")
|
||||||
|
|
|
@ -10,12 +10,15 @@
|
||||||
|
|
||||||
## THE GM BATCH END
|
## THE GM BATCH END
|
||||||
|
|
||||||
|
- Add option for project graph to filter out categories or show them separately
|
||||||
- Add HTML webcolor cheatsheet in floating window (look for JSON of them somewhere?)
|
- Add HTML webcolor cheatsheet in floating window (look for JSON of them somewhere?)
|
||||||
- Word count for editor fields
|
- Word count for editor fields
|
||||||
- Add "Open app folder" to help menu
|
- Add "Open app folder" to help menu
|
||||||
- Try to get field titles to show in full-screen edit of text editor fields
|
- Try to get field titles to show in full-screen edit of text editor fields
|
||||||
|
|
||||||
- Consider reworking the save document mechanic (save doesnt close, open/exit edit mode instead)
|
- Consider reworking the save document mechanic (save doesnt close, open/exit edit mode instead)
|
||||||
|
- Add color support (text and background) to view and edit mode of document display
|
||||||
|
- Add a toggle option for it (default off)
|
||||||
|
|
||||||
- Mass tag rename/deletion (done via document saving!)
|
- Mass tag rename/deletion (done via document saving!)
|
||||||
- Context menu for tags
|
- Context menu for tags
|
||||||
|
@ -53,10 +56,10 @@
|
||||||
- Tag management (coloring)
|
- Tag management (coloring)
|
||||||
|
|
||||||
- Simple data imports (maybe?)
|
- Simple data imports (maybe?)
|
||||||
|
|
||||||
- Dynamic table field
|
- Dynamic table field
|
||||||
- Settings search
|
- Settings search
|
||||||
|
|
||||||
|
- Vanity project-wide word count (lol...)
|
||||||
- Add on-the-fly generation of non-existent 2-way relationships
|
- Add on-the-fly generation of non-existent 2-way relationships
|
||||||
|
|
||||||
- Automatic thumbnail generation AND re-checking based on date
|
- Automatic thumbnail generation AND re-checking based on date
|
||||||
|
|
Loading…
Reference in a new issue