Commit graph

9 commits

Author SHA1 Message Date
Filip Noetzel
1218efd3aa Add support for full-only rating symbols like 🎥
- Added fullOnly flag to SymbolSet interface
- Added 10 new full-only symbols (🎥, 🏆, , 💎, 🔥, , 🎯, 🚀, 💰, 🎖️)
- Visual: rated symbols full color, unrated grey 50% opacity
- Disk: only rated symbols saved (e.g., 🎥🎥🎥 (3/5))
- No 0 ratings, no half ratings for full-only symbols
- Updated CSS, tests, and documentation

Refactor full-only symbols: auto-detect, show denominator count, require rating text

- Remove fullOnly flag, auto-detect with isFullOnlySymbol()
- Visual: show denominator count (numerator color, rest grey)  
- Require rating text for denominator info
- Disk: save only rated symbols
- Updated docs and tests

Clarify and verify full-only symbol visual behavior

- Added debug test files to verify expected behavior
- Confirmed visual display always shows denominator count symbols
- Rated symbols in full color, unrated in grey 50% opacity
- Implementation already correct: displaySymbolCount uses denominator
- Added debug logging capability for troubleshooting
2025-06-09 22:54:41 +02:00
Filip Noetzel
4b4cef482c Remove all visual indicators, margins, borders while keeping CSS classes and cursor pointer functionality 2025-06-09 09:38:06 +02:00
Filip Noetzel
4a5e7d65f8 Remove support for editing ratings in reading mode - make widgets display-only while keeping edit mode interactive
Remove all reading mode support - edit mode only plugin

- Deleted markdown-postprocessor.ts (reading mode widgets)
- Deleted inline-rating-widget.ts (reading mode custom elements)  
- Updated plugin to only register editor extension
- Cleaned CSS to only include editor widget styles
- Updated README to clarify edit-mode-only functionality
- Bundle size reduced from 24.1kb to 16.1kb
2025-06-08 10:45:54 +02:00
Filip Noetzel
f7aa86a5bb Add half-symbol support to CodeMirror implementation
- Enhanced editor widget with click position detection for half vs full symbols
- Added hover preview with proper half-symbol rendering  
- Expanded symbol patterns with more half-symbol definitions
- Improved CSS styling with visual feedback for half-symbol interactions
- Added comprehensive test file with examples
2025-06-08 10:45:54 +02:00
Filip Noetzel
a8b30bea88 Add CodeMirror editor extension to make ratings interactive in editing mode 2025-06-08 10:45:54 +02:00
Filip Noetzel
bc8ea924b8 refactor: move static CSS to styles.css file
move all the static css (not the one calculated at runtime) to the styles.css file

```git-revs
77478de  (Base revision)
5b3d66e  Remove static CSS from ratings-overlay.ts and only keep dynamic styles
142a142  Remove static CSS from symbol span elements
c72fd23  Update the overlay CSS with static styles that were previously in JS
HEAD     Update symbol styles with static styles that were previously in JS
```

codemcp-id: 52-refactor-move-static-css-to-styles-css-file
2025-04-02 17:26:00 +02:00
Filip Noetzel
7194c97abb fix styles on mobile 2025-03-21 08:15:02 +01:00
Filip Noetzel
ee27475e1c initial mobile support 2025-03-21 08:15:02 +01:00
Filip Noetzel
7b1c6cc29f use styles.css instead 2025-03-18 15:01:31 +01:00