mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 06:57:07 +02:00
5fa2a1c9b81a007a0f24f098875c5cdcc75546c6
Add right-click/long-press context menu to chat messages with event interactions: - Reply to message - Copy message text - Open event detail (opens in new window) - Copy event ID (nevent/naddr with relay hints) - View raw JSON Implements the same EventMenu pattern used in feed renderers, providing consistent UX across the app. No visible UI elements added - menu appears only on right-click or long-press (mobile). Components added: - src/components/ui/context-menu.tsx - Radix UI context menu primitives - src/components/chat/ChatMessageContextMenu.tsx - Chat-specific context menu - Integrated into MessageItem in ChatViewer.tsx Dependencies: - Added @radix-ui/react-context-menu Co-authored-by: Claude <noreply@anthropic.com>
…
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+Kto 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
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%