Skip to content

Conversation

@rui-typelets
Copy link
Collaborator

Summary

  • Add public notes feature allowing users to publish notes as shareable web pages
  • Fix touch interaction issues with GlassView components across multiple screens
  • Add SQLite database migration for public notes persistence
  • Remove sensitive console.log statements for improved security

Features

Public Notes Publishing

  • Add PublishNoteSheet component with publish/unpublish functionality
  • Display warning that publishing bypasses E2E encryption
  • Optional author name attribution
  • Copy link and native share sheet integration
  • Globe icon indicator on notes list and view screen (blue when published)
  • Add "Public" filter option in FilterSortSheet
  • Auto-sync public notes when saving edited content
  • Prevent hiding published notes (must unpublish first)
  • Preserve public note state when toggling star/hidden

Bug Fixes

  • Fix GlassView touch interception across all screens:
    • ViewHeader
    • FolderNotes
    • Home
    • NoteActionsSheet
    • FilterSortSheet
    • CreateFolderSheet
  • Fix bottom sheet requiring double-tap to open

Database

  • Add SQLite migration (v5) for public notes columns:
    • is_published
    • public_slug
    • published_at
    • public_updated_at
  • Update database cache to store/retrieve public note fields
  • Safety check to ensure columns exist on every app launch

Security

  • Remove sensitive console.log statements for encryption operations
  • Add .env files to .gitignore

Files Changed

  • 26 files changed with 1,099 additions and 385 deletions

Test Plan

  • Publish a note and verify public URL is generated
  • Copy and share public link via native share sheet
  • Verify Globe icon appears on published notes in list view
  • Verify Globe icon appears in note view header
  • Edit published note and verify auto-sync works
  • Filter notes by "Public" and verify only published notes show
  • Unpublish note and verify it returns to private state
  • Attempt to hide a published note (should show warning)
  • Toggle star on published note (should preserve publish state)
  • Test all bottom sheets open on first tap (no double-tap needed)
  • Verify header buttons respond to touch correctly
  • Fresh install: verify SQLite migration creates public notes columns
  • Upgrade install: verify migration adds columns to existing database

  - Add PublishNoteSheet component for publishing notes as public web pages
  - Add Globe icon indicator on notes list and view screen (blue when published)
  - Add "Public" filter option in FilterSortSheet
  - Auto-sync public notes when saving edited content
  - Prevent hiding published notes (must unpublish first)
  - Preserve public note state when toggling star/hidden

  - Fix GlassView touch interception across all screens (ViewHeader,
    FolderNotes, Home, NoteActionsSheet, FilterSortSheet, CreateFolderSheet)
  - Fix bottom sheet requiring double-tap to open

  - Add SQLite migration for public notes columns (is_published, public_slug,
    published_at, public_updated_at)
  - Update database cache to store/retrieve public note fields

  - Remove sensitive console.log statements for encryption operations
  - Add .env files to .gitignore for security
@rui-typelets rui-typelets self-assigned this Nov 23, 2025
@rui-typelets rui-typelets merged commit e693419 into main Nov 23, 2025
3 checks passed
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.42.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants