release v3.17.0

This commit is contained in:
Le Tan 2023-08-27 23:03:19 +08:00
parent e8fe0726ff
commit 4ab2033a81
13 changed files with 933 additions and 626 deletions

View File

@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0
jobs:
build-linux:

View File

@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0
jobs:
build:

View File

@ -10,7 +10,7 @@ on:
workflow_dispatch:
env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0
jobs:
build:

View File

@ -1,4 +1,10 @@
# Changes
## v3.17.0
* Quick note: create note in given scheme (@feloxx)
* MarkdownEditor: support inserting multiple images (@feloxx)
* Mermaid: upgrade and fix preview issue (@ygcaicn)
* Flowchart.js: upgrade
## v3.16.0
* Support reading PDF format
* Support Ming Map editor in suffix `*.emind`

View File

@ -22,6 +22,7 @@ namespace vnotex
ExpandContentArea,
Settings,
NewNote,
NewQuickNote,
NewFolder,
CloseTab,
CloseAllTabs,

View File

@ -21,9 +21,9 @@
<key>CFBundleExecutable</key>
<string>vnote</string>
<key>CFBundleShortVersionString</key>
<string>3.16.0</string>
<string>3.17.0</string>
<key>CFBundleVersion</key>
<string>3.16.0.1</string>
<string>3.17.0.1</string>
<key>NSHumanReadableCopyright</key>
<string>Created by VNoteX</string>
<key>CFBundleIconFile</key>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"metadata" : {
"//comment": "When releasing new version, please go through the following configs to check if override is needed.",
"//Comment": "markdown_editor#override_viewer_resource",
"version" : "3.16.0"
"version" : "3.17.0"
},
"core" : {
"theme" : "pure",
@ -14,6 +14,7 @@
"ExpandContentArea" : "Ctrl+G, E",
"Settings" : "Ctrl+Alt+P",
"NewNote" : "Ctrl+Alt+N",
"NewQuickNote" : "Ctrl+Alt+Q",
"NewFolder" : "Ctrl+Alt+S",
"CloseTab" : "Ctrl+G, X",
"CloseAllTabs": "",

View File

@ -214,7 +214,7 @@ QGroupBox *QuickAccessPage::setupQuickNoteGroup()
auto infoLayout = WidgetsFactory::createFormLayout(m_quickNoteInfoGroupBox);
{
const QString label(tr("Folder path:"));
const QString label(tr("Folder:"));
m_quickNoteFolderPathInput = new LocationInputWithBrowseButton(m_quickNoteInfoGroupBox);
m_quickNoteFolderPathInput->setPlaceholderText(tr("Empty to use current explored folder dynamically"));
infoLayout->addRow(label, m_quickNoteFolderPathInput);

View File

@ -343,7 +343,10 @@ void NotebookExplorer::newQuickNote()
return;
}
if (notebook == m_currentNotebook.data()) {
m_nodeExplorer->setCurrentNode(newNode.data());
}
// Open it right now.
auto paras = QSharedPointer<FileOpenParameters>::create();
paras->m_mode = ViewWindowMode::Edit;

View File

@ -128,6 +128,16 @@ QToolBar *ToolBarHelper::setupFileToolBar(MainWindow *p_win, QToolBar *p_toolBar
// To hide the shortcut text shown in button.
newBtn->setText(MainWindow::tr("New Note"));
// New quick note.
auto newQuickNoteAct = newMenu->addAction(generateIcon("new_note.svg"),
MainWindow::tr("New Quick Note"),
newMenu,
[]() {
emit VNoteX::getInst().newQuickNoteRequested();
});
WidgetUtils::addActionShortcut(newQuickNoteAct,
coreConfig.getShortcut(CoreConfig::Shortcut::NewQuickNote));
// New folder.
auto newFolderAct = newMenu->addAction(generateIcon("new_folder.svg"),
MainWindow::tr("New Folder"),