Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
- **Focused PRs**: Don't refactor and add features in the same PR.
- **Performance Reporting**: Performance changes require a before/after bundle size comparison in the PR description (just paste the Vite build output).
- **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.
- **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.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,19 @@ jobs:
- run: npm run lint
- run: npm run format:check
- run: npm run test
- name: Check version bump and new features note
if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'
run: |
git fetch origin main
MAIN_VERSION=$(git show origin/main:package.json | grep '"version"' | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
CURR_VERSION=$(grep '"version"' package.json | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
MAIN_TAURI_VERSION=$(git show origin/main:src-tauri/tauri.conf.json | grep '"version"' | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
CURR_TAURI_VERSION=$(grep '"version"' src-tauri/tauri.conf.json | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')

if [ "$MAIN_VERSION" != "$CURR_VERSION" ] || [ "$MAIN_TAURI_VERSION" != "$CURR_TAURI_VERSION" ]; then
echo "Version bumped. Checking for New Features note..."
if [ ! -f "notes/New Features in v${CURR_VERSION}.md" ]; then
echo "Error: Missing notes/New Features in v${CURR_VERSION}.md"
exit 1
fi
fi
8 changes: 8 additions & 0 deletions AUDIT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## 2026-06-24 - (Uncommitted)
**Change:** feat: add slash command autosuggest, auto-open new features note, and tag action menu for v0.5.2

**Details/Why:**
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.

---

## 2026-06-23 - (Uncommitted)
**Change:** fix: shift all keybinds to Alt and disable window auto-hide

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

## [v0.5.2] - 2026-06-24

### Added
- **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.
- **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.
- **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.

### Fixed
- Fixed an issue where the unified search view layout could overlap with the context menu or hide important tag management options.
- The `/task-done` command has been streamlined down to `/check` for clarity and better UX alignment.

---

## [v0.5.0-beta] - 2026-06-23

### Highlights
Expand Down
11 changes: 11 additions & 0 deletions notes/New Features in v0.5.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# New Features in v0.5.2

Welcome to PaperCache v0.5.2!

Here are the new features implemented in this version:
- **Autosuggest for Slash Commands**: Type `/` to see inline suggestions like `/ai`, `/ctx`, `/check`, etc. Press Tab to complete!
- **Tag Context Menu**: Right-click on a tag pill in the search view to delete or export all notes containing that tag.
- **Search by Title**: Note search now seamlessly includes note titles in addition to file names and content.
- **Hide Completed Tasks**: Checked-off tasks are now hidden from the main unified view!

*(If you have read this note, feel free to delete it)*
Loading
Loading