Skip to content

Commit

Permalink
docs: changelog & release notification prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
stdword committed Jul 22, 2024
1 parent e9544c4 commit 5517684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## NEXT
## v4.1 :id=v41

### Logseq-like query table to view query results
<img width="650px" src="https://github.com/user-attachments/assets/98e6aac1-4191-44e1-8f29-9bfa383a58ba" />
Expand Down
12 changes: 7 additions & 5 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function notifyUser() {
logseq.updateSettings({notifications: {newTemplateSyntax: undefined}})
logseq.updateSettings({notifications: {introducedUI: undefined}})
logseq.updateSettings({notifications: {introducedNLPSyntax: undefined}})
logseq.updateSettings({notifications: {introducedSetCursorPosition: undefined}})

const notifications: {[key: string]: any} = logseq.settings!.notifications as object

Expand All @@ -151,17 +152,18 @@ function notifyUser() {

// Notify only old users
if (previousPluginVersion && currentPluginVersion !== previousPluginVersion) {
if (!notifications.introducedSetCursorPosition) {
if (!notifications.introducedQueryTableView) {
logseq.UI.showMsg(
`[:div
[:p [:code "🏛 Full House Templates"]]
[:p [:b "Set cursor position & Core engine changes!"] [:br]
"The new plugin version has introduced lots of stuff. See details "
[:a {:href "https://stdword.github.io/logseq13-full-house-plugin/#/changelog?id=v40"}
[:p [:b "Query table view, Set cursor position and more!"] [:br]
"The new plugin versions have introduced lots of stuff. See details "
[:a {:href "https://stdword.github.io/logseq13-full-house-plugin/#/changelog?id=v41"}
"here"] " and " [:a {:href "https://stdword.github.io/logseq13-full-house-plugin/#/changelog?id=v40"}
"here"] "."]
]`,
'info', {timeout: 60000})
logseq.updateSettings({notifications: {introducedSetCursorPosition: true}})
logseq.updateSettings({notifications: {introducedQueryTableView: true}})
}
}

Expand Down

0 comments on commit 5517684

Please sign in to comment.