You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add setting for customizable emoji support in ratings
Added InteractiveRatingsSettings interface, settings tab, and dynamic symbol pattern updates. Users can now customize supported emojis through plugin settings.
Default: π₯πβππ₯β‘π―ππ°ποΈ
Fix regex detection bug for low ratings (1-2 stars)
Modified regex to detect 1+ symbols instead of 3+, and updated editor logic to intelligently handle short patterns with rating text or full-only symbols. Fixes issue where reducing ratings to 1-2 stars made them uneditable.
Simplify pattern detection logic - remove complex special cases
Replaced complex logic with simple rule: if no rating text, require 3+ symbols to avoid false positives. If rating text exists, any symbol count is valid. This generic approach handles all cases without special full-only symbol logic.
Remove hardcoded configurable emojis from constants.ts since they're now managed through settings
console.debug(`[InteractiveRatings] Built ${filteredMatches.length-skippedCount}/${filteredMatches.length} rating decorations (${skippedCount} skipped due to cursor proximity)`,{
0 commit comments