mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-09-28 23:31:36 +12: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.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)
|
||||
|
||||
const documentNameIndex = currentDoc.extraFields.findIndex(e => e.id === "name")
|
||||
|
|
|
@ -10,12 +10,15 @@
|
|||
|
||||
## 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?)
|
||||
- Word count for editor fields
|
||||
- Add "Open app folder" to help menu
|
||||
- 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)
|
||||
- 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!)
|
||||
- Context menu for tags
|
||||
|
@ -53,10 +56,10 @@
|
|||
- Tag management (coloring)
|
||||
|
||||
- Simple data imports (maybe?)
|
||||
|
||||
- Dynamic table field
|
||||
- Settings search
|
||||
|
||||
- Vanity project-wide word count (lol...)
|
||||
- Add on-the-fly generation of non-existent 2-way relationships
|
||||
|
||||
- Automatic thumbnail generation AND re-checking based on date
|
||||
|
|
Loading…
Reference in a new issue