Claude c402ac16f8 fix: NIP-17 chat fixes and inbox UX improvements
Enable NIP-17 Support:
- Uncomment Nip17Adapter in ChatViewer getAdapter function
- Import Nip17Adapter and register in protocol switch
- Update adapter documentation to list NIP-17 as supported

Fix Auto-Decrypt Behavior:
- Add autoDecrypt parameter to processGiftWrap (default true)
- Only decrypt gift wraps when autoDecrypt=true, otherwise store as pending
- Pass autoDecrypt from state to startSync and loadOlderGiftWraps
- Update useAccountSync to pass autoDecrypt setting
- Update InboxViewer to pass autoDecrypt to loadOlderGiftWraps
- Prevents unwanted decryption attempts when setting is off

Fix Stats Persistence:
- Add initializeStats() method to load stats from DB on first access
- Add statsInitialized flag to prevent duplicate initialization
- Call initializeStats() in getStats() before returning observable
- Stats now persist across page reloads even when sync is disabled

Inbox UX Improvements:
- Increase message preview from 50 to 100 characters
- Remove flex-1 from preview span to eliminate large gap before timestamp
- Add ml-auto to timestamp to push it to the right
- Change gap from gap-1 to gap-2 for better spacing
- Messages now show more content with timestamp properly aligned

All tests passing (980/980). No new lint errors.
2026-01-20 11:19:03 +00:00
2025-12-22 20:40:16 +00:00
2026-01-14 19:24:37 +01:00

Grimoire

A Nostr protocol explorer and developer tool with a tiling window manager interface.

Features

  • Tiling Windows - Each window is a Nostr "app" (profile viewer, event feed, NIP docs, etc.)
  • Command Palette - Unix-style commands via Cmd+K to open apps and navigate
  • Multi-workspace - Virtual desktops with independent layouts
  • Real-time - Reactive event subscriptions with automatic updates

Stack

React 19, TypeScript, Vite, TailwindCSS, Jotai, Dexie, Applesauce

Getting Started

npm install
npm run dev

Scripts

Command Description
npm run dev Start dev server
npm run build Build for production
npm test Run tests in watch mode
npm run lint Lint code
npm run format Format code

License

MIT

Description
No description provided
Readme MIT 14 MiB
Languages
TypeScript 98.9%
CSS 0.8%
JavaScript 0.3%