diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd615fa..f260ad6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Install golang uses: actions/setup-go@v5 with: - go-version: '1.20.5' + go-version: '1.24.2' - name: Run unit tests run: go test -v ./... diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c164ca7..bacb59f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: - name: Install golang uses: actions/setup-go@v5 with: - go-version: '1.20.5' + go-version: '1.24.2' - name: Run unit tests run: go test -v ./... diff --git a/CHANGELOG.md b/CHANGELOG.md index d225c44..45a6e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +## 0.6.5 + +This release includes improvements to the **Vim/Neovim plugin**, +introducing support for **note deletion** with verification and +confirmation, along with enhanced finder and terminal behavior. + +The embedded web/app's **tab management** has been rewritten to provide +a smoother and more intuitive user experience, while also laying the +groundwork for upcoming features such as **asset support** and +side-by-side **tab-groups**. + +Fixed: + +- Vim: Fix weekly notesium invocation to use `g:notesium_bin`. +- Vim: Use startinsert for reliable finder terminal mode entry. +- Vim: Set finder `filetype=fzf` to avoid vim-tmux-navigator interception. + +- Web/App: Tabs - support moving a tab to the first position. +- Web/App: Layout fixes and improvements. + +Added: + +- Vim: Note deletion with verification checks and user confirmation. +- Vim/Finder: Support `notesium_finder_theme` (light/dark). + +Changed: + +- Vim: Increase columns minimum for Finder preview. +- Vim: Refactor finder terminal open to avoid using a lambda. + +- Web/App: Tabs - improve and simplify tab tracking via tabHistory stack. +- Web/App: Tabs - decouple open tabs and ordering from notes array. +- Web/App: Tabs - generalize tab structure to support non-note types. +- Web/App: Tabs - apply and visually reflect tab reordering during drag. +- Web/App: Tabs - animate tab reordering for visual clarity. + +- Tests: Use realpath when performing absolute path verification. +- Tests: Replace pidof with pgrep for macOS compatibility. +- Tests: Determine expected platform instead of hardcoding. +- Tests: Use `notesium web` instead of netcat for mock release server. + +- CI/CD: GitHub Actions workflows - bump go version to match dev environment. + ## 0.6.4 This release introduces the **finder** command, a built-in interactive diff --git a/web/app/graph-panel.js b/web/app/graph-panel.js index 2068162..d07b8b1 100644 --- a/web/app/graph-panel.js +++ b/web/app/graph-panel.js @@ -40,7 +40,7 @@ var t = `
-
+
display @@ -53,7 +53,7 @@ var t = `
-
+
forces @@ -61,7 +61,7 @@ var t = `
  • -
    +
    diff --git a/web/app/graph.js b/web/app/graph.js index 5419940..2d113e4 100644 --- a/web/app/graph.js +++ b/web/app/graph.js @@ -52,7 +52,7 @@ var t = `
    • -
      +
      diff --git a/web/app/note-sidebar.js b/web/app/note-sidebar.js index cefa966..7831463 100644 --- a/web/app/note-sidebar.js +++ b/web/app/note-sidebar.js @@ -5,7 +5,7 @@ var t = `
      + class="w-28 rounded px-2 py-1.5 text-xs shadow-sm">Save
      @@ -69,7 +69,7 @@ var t = `
      -
      +

      Links incoming

      @@ -77,7 +77,7 @@ var t = ` :title="link.Title" :filename="link.Filename" :linenum="link.LineNumber" :key="link.Filename + link.LineNumber" @note-open="(...args) => $emit('note-open', ...args)" /> -
      +

      Links outgoing

      diff --git a/web/app/note.js b/web/app/note.js index 2ceb95e..fa0d9c1 100644 --- a/web/app/note.js +++ b/web/app/note.js @@ -13,7 +13,7 @@ var t = `
      + class="rounded px-10 py-1.5 text-xs">Save diff --git a/web/app/settings-about.js b/web/app/settings-about.js index f715632..4d68239 100644 --- a/web/app/settings-about.js +++ b/web/app/settings-about.js @@ -68,7 +68,7 @@ var t = `
      -
      +
      state
      diff --git a/web/app/sidepanel.js b/web/app/sidepanel.js index 869b082..6b9426c 100644 --- a/web/app/sidepanel.js +++ b/web/app/sidepanel.js @@ -206,7 +206,7 @@ var t = `