Skip to content

Commit 89d278a

Browse files
authored
Merge pull request #53 from VariableThe/feat/release-0.5.2
feat: slash command autosuggest, auto-open new features, tag action m…
2 parents 522bfb9 + 4365c5c commit 89d278a

17 files changed

Lines changed: 719 additions & 213 deletions

File tree

.agents/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@
2020
- **Focused PRs**: Don't refactor and add features in the same PR.
2121
- **Performance Reporting**: Performance changes require a before/after bundle size comparison in the PR description (just paste the Vite build output).
2222
- **Audit Logging**: Every change or significant update made must also be documented in `AUDIT_LOG.md`. Log what was done, when it was done, and why. Additionally, any user-facing changes (Added, Changed, Fixed, Performance, Security) must be documented in `CHANGELOG.md` under the appropriate release section.
23+
- **Version Bumps**: Any Pull Request which bumps the application version must include a corresponding pre-written markdown note named `New Features in v{new_version}.md` in the `notes/` directory.

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,19 @@ jobs:
2222
- run: npm run lint
2323
- run: npm run format:check
2424
- run: npm run test
25+
- name: Check version bump and new features note
26+
if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'
27+
run: |
28+
git fetch origin main
29+
MAIN_VERSION=$(git show origin/main:package.json | grep '"version"' | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
30+
CURR_VERSION=$(grep '"version"' package.json | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
31+
MAIN_TAURI_VERSION=$(git show origin/main:src-tauri/tauri.conf.json | grep '"version"' | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
32+
CURR_TAURI_VERSION=$(grep '"version"' src-tauri/tauri.conf.json | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
33+
34+
if [ "$MAIN_VERSION" != "$CURR_VERSION" ] || [ "$MAIN_TAURI_VERSION" != "$CURR_TAURI_VERSION" ]; then
35+
echo "Version bumped. Checking for New Features note..."
36+
if [ ! -f "notes/New Features in v${CURR_VERSION}.md" ]; then
37+
echo "Error: Missing notes/New Features in v${CURR_VERSION}.md"
38+
exit 1
39+
fi
40+
fi

AUDIT_LOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This log tracks all significant changes, updates, and versions in the PaperCache project.
44

5+
## 2026-06-24 - (Uncommitted)
6+
**Change:** feat: add slash command autosuggest, auto-open new features note, and tag action menu for v0.5.2
7+
8+
**Details/Why:**
9+
Implemented a ghost-text inline autosuggest widget for slash commands to reduce friction. Added logic to auto-open `New Features in v[version].md` once per update, and automatically cleanup older version notes in the base directory via `fs.rs`. Replaced `/task-done` with `/check` to streamline UX. Added a right-click inline Tag Action Menu to allow bulk deletion and native Tauri-based export of notes containing specific tags. Fixed UI collision issues where the tag menu was inheriting `.note-action-menu` CSS class and spawning off-screen.
10+
11+
---
12+
513
## 2026-06-23 - (Uncommitted)
614
**Change:** fix: shift all keybinds to Alt and disable window auto-hide
715

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable, user-facing changes to PaperCache will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v0.5.2] - 2026-06-24
9+
10+
### Added
11+
- **Slash Command Autosuggest**: Added an inline ghost text autosuggest widget for slash commands (e.g., `/check`, `/ai`). Pressing `Tab` instantly completes the command without interrupting typing flow.
12+
- **Auto-Open Version Notes**: Upon updating, PaperCache now automatically opens a summary note detailing the new features in the latest release and silently cleans up previous version notes from the workspace.
13+
- **Tag Context Menu**: Right-clicking a tag pill now reveals a beautifully styled inline action menu allowing users to easily delete all notes under that tag, or export them concatenated together into a single Markdown file directly via native system dialogs.
14+
15+
### Fixed
16+
- Fixed an issue where the unified search view layout could overlap with the context menu or hide important tag management options.
17+
- The `/task-done` command has been streamlined down to `/check` for clarity and better UX alignment.
18+
19+
---
20+
821
## [v0.5.0-beta] - 2026-06-23
922

1023
### Highlights

notes/New Features in v0.5.2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# New Features in v0.5.2
2+
3+
Welcome to PaperCache v0.5.2!
4+
5+
Here are the new features implemented in this version:
6+
- **Autosuggest for Slash Commands**: Type `/` to see inline suggestions like `/ai`, `/ctx`, `/check`, etc. Press Tab to complete!
7+
- **Tag Context Menu**: Right-click on a tag pill in the search view to delete or export all notes containing that tag.
8+
- **Search by Title**: Note search now seamlessly includes note titles in addition to file names and content.
9+
- **Hide Completed Tasks**: Checked-off tasks are now hidden from the main unified view!
10+
11+
*(If you have read this note, feel free to delete it)*

0 commit comments

Comments
 (0)