Skip to content

Commit

Permalink
release v3.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Aug 27, 2023
1 parent e8fe072 commit 4ab2033
Show file tree
Hide file tree
Showing 13 changed files with 933 additions and 626 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0

jobs:
build-linux:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
VNOTE_VER: 3.16.0
VNOTE_VER: 3.17.0

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/core/coreconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace vnotex
ExpandContentArea,
Settings,
NewNote,
NewQuickNote,
NewFolder,
CloseTab,
CloseAllTabs,
Expand Down
4 changes: 2 additions & 2 deletions src/data/core/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
761 changes: 449 additions & 312 deletions src/data/core/translations/vnote_ja.ts

Large diffs are not rendered by default.

Binary file modified src/data/core/translations/vnote_zh_CN.qm
Binary file not shown.
761 changes: 455 additions & 306 deletions src/data/core/translations/vnote_zh_CN.ts

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/data/core/vnotex.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": "",
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/dialogs/settings/quickaccesspage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 4 additions & 1 deletion src/widgets/notebookexplorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ void NotebookExplorer::newQuickNote()
return;
}

m_nodeExplorer->setCurrentNode(newNode.data());
if (notebook == m_currentNotebook.data()) {
m_nodeExplorer->setCurrentNode(newNode.data());
}

// Open it right now.
auto paras = QSharedPointer<FileOpenParameters>::create();
paras->m_mode = ViewWindowMode::Edit;
Expand Down
10 changes: 10 additions & 0 deletions src/widgets/toolbarhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 4ab2033

Please sign in to comment.