mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-02 02:14:47 +12:00
0.1.6-DEV-3
This commit is contained in:
parent
5e3cecf484
commit
5687f047f0
|
@ -18,6 +18,8 @@ if (process.env.PROD) {
|
|||
let mainWindow
|
||||
|
||||
function createWindow () {
|
||||
|
||||
|
||||
/**
|
||||
* Initial window options
|
||||
*/
|
||||
|
@ -74,15 +76,29 @@ function createWindow () {
|
|||
})
|
||||
)
|
||||
}
|
||||
console.log(params.dictionarySuggestions)
|
||||
console.log(params.misspelledWord)
|
||||
if((params.dictionarySuggestions && params.dictionarySuggestions.length) || params.misspelledWord){
|
||||
menu.popup()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
app.on('ready', createWindow)
|
||||
const gotTheLock = app.requestSingleInstanceLock()
|
||||
|
||||
if (!gotTheLock) {
|
||||
app.quit()
|
||||
} else {
|
||||
app.on('second-instance', (event, commandLine, workingDirectory) => {
|
||||
// Someone tried to run a second instance, we should focus our window.
|
||||
if (mainWindow) {
|
||||
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||
mainWindow.focus()
|
||||
}
|
||||
})
|
||||
|
||||
// Create myWindow, load the rest of the app, etc...
|
||||
app.on('ready', createWindow)
|
||||
}
|
||||
|
||||
|
||||
app.on('window-all-closed', () => {
|
||||
if (process.platform !== 'darwin') {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
use-input
|
||||
multiple
|
||||
filled
|
||||
input-debounce="200"
|
||||
input-debounce="500"
|
||||
v-model="existingDocumentModel"
|
||||
@filter="filterExistingSelect"
|
||||
@input="openExistingInput"
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
use-chips
|
||||
multiple
|
||||
option-value="_id"
|
||||
input-debounce="200"
|
||||
input-debounce="500"
|
||||
v-model="localInput"
|
||||
@filter="filterSelect"
|
||||
@input="signalInput"
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
use-input
|
||||
:outlined="!isDarkMode"
|
||||
:filled="isDarkMode"
|
||||
input-debounce="200"
|
||||
input-debounce="500"
|
||||
option-value="_id"
|
||||
v-model="localInput"
|
||||
@filter="filterSelect"
|
||||
|
|
|
@ -13,16 +13,18 @@
|
|||
|
||||
### Bugfixes & Optimizations
|
||||
|
||||
- Massive overhaul of how data is being handles across the app!
|
||||
- Fixed buttons for moving list items up and down also showing outside of edit mode
|
||||
- Fixed `Resume project` button working in instances where it shouldnt
|
||||
- Fixed a visual bug in the top document control bar
|
||||
- Added a check against invalid characters in new project name to prevent issues while exporting on different OSs
|
||||
- Hopefully finally fixed the new project creation bugs that have been plaguing the app for last 3 releases
|
||||
- Fixed app starting in mutliple windows when ran multiple times.
|
||||
|
||||
### New features
|
||||
|
||||
- Added support for filtering via `Is a category` switch field
|
||||
- Added "Hamlet" as a predefined location type
|
||||
- Added multiple predefined values list multiple list field across the different document types
|
||||
|
||||
### QoL adjustments
|
||||
|
||||
|
|
Loading…
Reference in a new issue