Commit Graph

3 Commits

Author SHA1 Message Date
Alamion 4d0de8419c fixes:
- now stats, attributes, characters stats have a changeable id
- now all additional promts are stacked in 2 lines
2026-02-23 21:51:02 +03:00
Lucas 'Paperboy' Rose-Winters 9a653a9c7a feat: implement draggable mobile FAB with comprehensive event handling
Add full mouse and touch support for mobile toggle button with drag-to-reposition
functionality and persistent position saving.

Changes:
- Add mobile FAB button with draggable positioning (both mouse and touch)
- Implement time-based drag detection (200ms or 10px threshold)
- Add position persistence in extension settings
- Fix click handler to work on both mobile and desktop viewports
- Add comprehensive diagnostic logging for event debugging
- Update mobile panel to slide from right (matching desktop UX)
- Implement dual-button pattern (FAB + internal collapse toggle)
- Add viewport-constrained dragging with 10px padding
- Prevent click events from firing after drag completion

Mobile UX:
- FAB visible when panel closed, hidden when open
- Internal collapse toggle visible only when panel open
- Touch and mouse drag support with real-time positioning
- Click/tap toggles panel, drag repositions button
- Position saved across sessions

Technical:
- Add mousedown/mousemove/mouseup handlers for desktop drag
- Add touchstart/touchmove/touchend handlers for mobile drag
- Remove broken viewport check that prevented mobile clicks
- Add 'just-dragged' flag to prevent click after drag
- Update .gitignore to exclude CLAUDE.md and .env files
2025-10-16 09:43:23 +11:00
Spicy_Marinara 30bb35910c Initial commit: RPG Companion Extension v1.0.0
- Character tracking with emoji, traits, thoughts, relationships
- Location tracking with name, description, weather, temperature
- Quest tracking with objectives and plot progression
- Inventory management with item conditions
- Party composition tracking
- Player stats (health, energy, mood)
- Two generation modes: Separate (Info Box) and Merged (inline)
- Customizable themes and styling
- Editable thought bubbles with fixed positioning
- Support for Discord and Ko-fi links
- AGPLv3 License
2025-10-14 00:07:37 +02:00