mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-09-30 17:20:44 +13:00
0.1.1 hotfix for the buggy hierarchy tree
This commit is contained in:
parent
7dea02cb49
commit
bae4b18028
3 changed files with 13 additions and 10 deletions
14
changelog.md
14
changelog.md
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
||||||
- Added keyboard shorcut support
|
- Added keyboard shortcut support
|
||||||
- Added quick-add new document pop-up
|
- Added quick-add new document pop-up
|
||||||
- Added quick-search existing document pop-up
|
- Added quick-search existing document pop-up
|
||||||
- Added keybind cheetcheet pop-up
|
- Added keybinds cheatsheet pop-up
|
||||||
- Added control buttons for keybind cheetsheet, quick search and quick add
|
- Added control buttons for keybinds cheatsheet, quick search, and quick add
|
||||||
- Added document coloring support for the document hierarchical tree and tabs on the top
|
- Added document coloring support for the document hierarchical tree and tabs on the top
|
||||||
- Added category/document switch for handling custom subcategories
|
- Added category/document switch for handling custom subcategories
|
||||||
- Added tooltip support for all input fields
|
- Added tooltip support for all input fields
|
||||||
|
@ -23,17 +23,17 @@
|
||||||
|
|
||||||
### QoL adjustments
|
### QoL adjustments
|
||||||
|
|
||||||
- Alphabetically sorted most predefined lists (eg: types of political groups) with "Other/Unique" fields at the bottom. The fields that are ordered logically (eg: severity of racial weakness/strength) remain ordered via the logical sorting and not by alphabet
|
- Alphabetically sorted most predefined lists (eg: types of political groups) with "Other/Unique" fields at the bottom. The fields that are ordered logically (eg: severity of racial weakness/strength) remain ordered via logical sorting and not by alphabet
|
||||||
- Added explanation via tooltip to "Belongs under", "Order" and "Color" fields
|
- Added explanation via tooltip to "Belongs under", "Order" and "Color" fields
|
||||||
- Adjusted tooltip font-size to be actually readable
|
- Adjusted tooltip font-size to be actually readable
|
||||||
- Added program FAVICON support
|
- Added program FAVICON support
|
||||||
- Moved the document edit/save/delet buttons to the top
|
- Moved the document edit/save/delete buttons to the top
|
||||||
- Adjusted text selection to look better with the aesthetics of the app
|
- Adjusted text selection to look better with the aesthetics of the app
|
||||||
- Adjusted scrollbars to look better with the aesthetics of the app
|
- Adjusted scrollbars to look better with the aesthetics of the app
|
||||||
- Added auto-focus on name field when opening edit mode of a document
|
- Added auto-focus on name field when opening edit mode of a document
|
||||||
- Added auto-focus AND auto-select of all text of the name field when creating new document
|
- Added auto-focus AND auto-select of all text of the name field when creating a new document
|
||||||
- Renamed "Lore notes" to "Other/Notes" for more intuitive usage
|
- Renamed "Lore notes" to "Other/Notes" for more intuitive usage
|
||||||
- Remamed "Other names" to "Other names & Epithets" across all document types
|
- Renamed "Other names" to "Other names & Epithets" across all document types
|
||||||
- Renamed "Power level" to "Combat rating" in "Characters" document type
|
- Renamed "Power level" to "Combat rating" in "Characters" document type
|
||||||
- Renamed "Level of sentience" to "Level of sapience" in "Species/Races" document type
|
- Renamed "Level of sentience" to "Level of sapience" in "Species/Races" document type
|
||||||
- Added "Oldest known" and "Average adulthood" fields to "Species/Races" document type
|
- Added "Oldest known" and "Average adulthood" fields to "Species/Races" document type
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<q-tree
|
<q-tree
|
||||||
class="objectTree q-pa-sm"
|
class="objectTree q-pa-sm"
|
||||||
:nodes="treeList"
|
:nodes="treeList"
|
||||||
node-key="label"
|
node-key="key"
|
||||||
no-connectors
|
no-connectors
|
||||||
ref="tree"
|
ref="tree"
|
||||||
dark
|
dark
|
||||||
|
@ -238,7 +238,8 @@ export default class ObjectTree extends BaseClass {
|
||||||
isNew: false,
|
isNew: false,
|
||||||
url: doc.url,
|
url: doc.url,
|
||||||
extraFields: (doc?.extraFields) || [],
|
extraFields: (doc?.extraFields) || [],
|
||||||
_id: singleDocument.id
|
_id: singleDocument.id,
|
||||||
|
key: singleDocument.id
|
||||||
} as I_ShortenedDocument
|
} as I_ShortenedDocument
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -251,6 +252,7 @@ export default class ObjectTree extends BaseClass {
|
||||||
icon: blueprint.icon,
|
icon: blueprint.icon,
|
||||||
order: blueprint.order,
|
order: blueprint.order,
|
||||||
_id: blueprint._id,
|
_id: blueprint._id,
|
||||||
|
key: blueprint._id,
|
||||||
handler: this.addNewObjectType,
|
handler: this.addNewObjectType,
|
||||||
specialLabel: blueprint.nameSingular.toLowerCase(),
|
specialLabel: blueprint.nameSingular.toLowerCase(),
|
||||||
isRoot: true,
|
isRoot: true,
|
||||||
|
@ -287,6 +289,7 @@ export default class ObjectTree extends BaseClass {
|
||||||
// await this.$nextTick()
|
// await this.$nextTick()
|
||||||
// this.$refs.tree.expandAll()
|
// this.$refs.tree.expandAll()
|
||||||
}
|
}
|
||||||
|
console.log(treeObject)
|
||||||
}
|
}
|
||||||
|
|
||||||
async created () {
|
async created () {
|
||||||
|
|
|
@ -234,7 +234,7 @@
|
||||||
@click="keyBindsDialog = true"
|
@click="keyBindsDialog = true"
|
||||||
>
|
>
|
||||||
<q-tooltip>
|
<q-tooltip>
|
||||||
Show keybind cheetsheet.
|
Show keybind cheatsheet.
|
||||||
</q-tooltip>
|
</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</q-page-sticky>
|
</q-page-sticky>
|
||||||
|
|
Loading…
Reference in a new issue