- Add red hearts (❤️/🤍)
- Add orange, yellow, green, blue, purple, black, and brown hearts
- All heart patterns use white heart (🤍) as empty symbol
- No half-heart support (half: null) for all heart patterns
Add heart rating examples to README
Fix multibyte emoji handling: replace pattern.length with Unicode-aware length calculation and fix regex generation for emojis
Fix emoji rating text parsing by converting UTF-16 positions to Unicode positions
- Modified previewRating() to show updated denominator during hover
- Modified updateRating() to save the symbol count as the new denominator
- When clicking on ●●●●●●●◐ (7.5/23), it now updates to (7.5/8) instead of keeping 23
- Enhanced logging to track old vs new denominators
- Add cursor position tracking to ViewPlugin update method
- Skip widget creation when cursor is within 1 character of rating
- Allows normal text editing when cursor is near ratings
- Automatically restores widgets when cursor moves away
- Enhanced debug logging for cursor proximity detection
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
- 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
- Modified esbuild.config.js to read LOGGING_ENABLED from environment and pass as define option
- Updated src/constants.ts to use process.env.LOGGING_ENABLED instead of hardcoded value
- Added 'npm run build-debug' script to package.json for debug builds
- Logging is now controlled at build time via environment variable, simplifying the debug workflow
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
refactor: replace logging function with console equivalent
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
fda9780 (Base revision)
HEAD Replace info function with direct console.info equivalent
```
codemcp-id: 22-refactor-replace-logging-function-with-console-equ
refactor: inline first non-inlined logging function
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
4d561d9 (Base revision)
HEAD Replacing debug() call with direct console.debug() wrapped in LOGGING_ENABLED check
```
codemcp-id: 23-refactor-inline-first-non-inlined-logging-function
refactor: replace a logging function with console equivalent
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
8569718 (Base revision)
HEAD Replace groupStart() call with console.group() wrapped in LOGGING_ENABLED check
```
codemcp-id: 24-refactor-replace-a-logging-function-with-console-e
refactor: inline logging function with console equivalent
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
9629d22 (Base revision)
HEAD Replace groupStart with direct console.group equivalent
```
codemcp-id: 25-refactor-inline-logging-function-with-console-equi
refactor: inline first logging function in main.ts
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
53e6cf8 (Base revision)
76c08a6 Replace info() call with console.info() wrapped in LOGGING_ENABLED check
HEAD Remove extra semicolon after the if block
```
codemcp-id: 27-refactor-inline-first-logging-function-in-main-ts
more manual logging refactorings
refactor: replace logging function with console equivalent
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
65d7329 (Base revision)
fc545f8 Replace direct debug() call with console.debug() wrapped in LOGGING_ENABLED check
HEAD Fix extra semicolon after the closing curly brace
```
codemcp-id: 29-refactor-replace-logging-function-with-console-equ
refactor: replace logging function with console equivalent
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
d4c3874 (Base revision)
HEAD Replace info() with console.info() wrapped in LOGGING_ENABLED check
```
codemcp-id: 30-refactor-replace-logging-function-with-console-equ
refactor: inline logging functions in main.ts
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
0768506 (Base revision)
HEAD Replace debug() function call with inlined console.debug() equivalent
```
codemcp-id: 31-refactor-inline-logging-functions-in-main-ts
more console.groupEnd()
refactor: inline first non-inlined logging function in main.ts
In main.ts, find the first usage of a logging function (log, warn, error, debug, info, groupStart, groupEnd) that hasn't already been inlined, and replace it with the direct console equivalent.
```git-revs
02a61c7 (Base revision)
HEAD Replace debug() call with direct console.debug with proper logging format and conditional
```
codemcp-id: 32-refactor-inline-first-non-inlined-logging-function
remove centralized logging utility
remove unused code