From bf4b787a6d23fdfd3f365f80dd827a56cba86363 Mon Sep 17 00:00:00 2001 From: Elvanos Date: Thu, 11 Mar 2021 01:10:22 +0100 Subject: [PATCH] 1.4.0 innitiat dev build --- package.json | 4 ++-- src/components/fields/Field_Tags.vue | 5 +++++ src/documents/changeLog.md | 2 +- src/pages/DocumentDisplay.vue | 1 + suggestionList.md | 32 +++++++++++++++++++++++----- 5 files changed, 36 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 6afcd7e..b735070 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fantasiaarchive", - "version": "0.1.3", + "version": "0.1.4", "description": "A database manager for world building", "productName": "Fantasia archive", "author": "Elvanos ", @@ -77,4 +77,4 @@ "npm": ">= 6.13.4", "yarn": ">= 1.21.1" } -} +} \ No newline at end of file diff --git a/src/components/fields/Field_Tags.vue b/src/components/fields/Field_Tags.vue index f74d526..3e10dc2 100644 --- a/src/components/fields/Field_Tags.vue +++ b/src/components/fields/Field_Tags.vue @@ -139,6 +139,11 @@ export default class Field_Tags extends BaseClass { if (!tagAlreadyExistsAttached) { this.localInput.push(val) + /*eslint-disable */ + // @ts-ignore + this.$refs[`tagField${this.inputDataBluePrint.id}`].updateInputValue ('') + /* eslint-enable */ + this.signalInput() } if (tagAlreadyExistsInList && tagAlreadyExistsAttached) { diff --git a/src/documents/changeLog.md b/src/documents/changeLog.md index 54f340d..0fc6fe9 100644 --- a/src/documents/changeLog.md +++ b/src/documents/changeLog.md @@ -17,7 +17,7 @@ - Added a missing row of connected "Religions/Teachings" (connected, ally and enemy) to the "Religions/Teachings" document type - Added a missing row of connected "Magic/Spell" (connected, ally and enemy) to the "Magic/Spell" document type - Fixed an occasional wrong click register on the document tree (opening document instead of expanding/collapsing) -- Fixed non-functional whitespace triming for multiple document fields upon filling in input +- Fixed non-functional whitespace trimming for multiple document fields upon filling in input - Fixed the "Name" field disappearing upon full deletion of text - Fixed a bug with single/multi-select fields working unintuitively for adding new values (eg: Character personality traits field or Sex field) - Fixed a tiny glitch when the hierarchical tree arrow was sometimes creating new documents instead of opening the category diff --git a/src/pages/DocumentDisplay.vue b/src/pages/DocumentDisplay.vue index b541b66..548b6da 100644 --- a/src/pages/DocumentDisplay.vue +++ b/src/pages/DocumentDisplay.vue @@ -395,6 +395,7 @@ export default class PageDocumentDisplay extends BaseClass { if (field.type === "tags") { this.currentData.hasEdits = true const indexToUpdate = this.currentData.extraFields.findIndex(s => s.id === field.id) + this.currentData.extraFields[indexToUpdate].value = inputData const dataCopy: I_OpenedDocument = extend(true, {}, this.currentData) diff --git a/suggestionList.md b/suggestionList.md index 5c26289..acbad6a 100644 --- a/suggestionList.md +++ b/suggestionList.md @@ -1,10 +1,16 @@ -- Tag upper/lower case issues -- Non working tag filter ---- +### App options & Keybinds +- Add "Document relevance" switch and integrate it into filters +- Add "Find field" to quickly navigate the document +- Add "Show in search results" checkbox for relationship searches - Add "Related notes" - Add "Predecessors", "Successors", "Date of start", "Date of end" and "How long it lasted" fields to locations and all other groups +- Save scroll distance when switching tabs (consider some auto-scroll when opening edit mode) +- Fix lag on opening Quick-search popup +- Fix tag input hanging after adding new ones +- Mass tag rename +- Add click-through from chips in edit mode - Add "Ctrl + F" finding in the document (fields/data) - Fix filtering via the document type in advanced search - Add advanced search capabilities to the hierarchical tree @@ -16,15 +22,29 @@ - Considering multiple "belongs under" category listing - Add intelligent responsive design to the left tree and document body (maybe button to pull the left bar in and out?) - -### Document & Project setting +- Add top level tags +- Context menu: Expand all +- Context menu: Collapse all +- Context menu: Copy color (text and BG) +- Context menu: Duplicate +- Context menu: Copy name +- Context menu: Delete +- Context menu: Edit/Open +- Context menu: Create new doc with parent of THIS +- Context menu: Clone tab +- Context menu: Pin tab +- Context menu: Unpin tab - Pinned tabs (save through program closing) - Dark mode - Add "Open all search matches" button in the Quick-search that opens a new page with a list of items - Custom order document types +- Option: Show tags as a subcategory or as each individually +- Option: Show tags on or bottom of the list +- Option: Hide non-filled fields in document view mode - Option: Retain opened tabs and their edited contents through sessions - Option: Dark Mode +- Option: Quick-search popup determine if "Include categories" is prechecked or not - Option: Show tags in the tree - Option: Periodical backup (how many, how often, include files or not) - Option: Disable tooltips in the document body @@ -39,6 +59,8 @@ - Option: Disable tags showing in the sidebar - Option: Hide top navbar and move the document buttons back in the document body (top) +### Project settings + - Tag management (coloring) - Simple data imports (maybe?)