Commit graph

63 commits

Author SHA1 Message Date
Filip Noetzel
45883a0d13 Bump version: 1.0.2 → 1.0.3 2025-04-02 17:40:47 +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
14d26a8407 Bump version: 1.0.1 → 1.0.2 2025-03-31 23:28:29 +02:00
Filip Noetzel
3bc6716932 fix: prevent cursor movement and document repositioning on iOS 2025-03-31 22:22:55 +02:00
Filip Noetzel
4934b52f18 refactor: use Pointer Events API 2025-03-31 22:22:55 +02:00
Filip Noetzel
692f6604a0 refactor: split InteractiveRatingsPlugin.ts into smaller files 2025-03-31 22:05:59 +02:00
Filip Noetzel
ab2cf72872 move source to src/*.ts 2025-03-31 22:05:59 +02:00
Filip Noetzel
9288489f38 feat: use esbuild for greating a single output file named main.js 2025-03-31 22:05:59 +02:00
Filip Noetzel
667fddb168 move plugin to new file 2025-03-31 22:05:59 +02:00
Filip Noetzel
9f90330a4d add logging
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
2025-03-31 22:05:37 +02:00
Filip Noetzel
b53e7bc760 First, remove all existing overlays 2025-03-21 08:38:31 +01:00
Filip Noetzel
bf9bd56c78 fix supportsHalf type: boolean 2025-03-21 08:32:52 +01:00
Filip Noetzel
caed29208a add focus to selected overlay 2025-03-21 08:21:56 +01:00
Filip Noetzel
dfffdef3ee touch scrubbing interface should limit at maximum 2025-03-21 08:16:12 +01:00
Filip Noetzel
7194c97abb fix styles on mobile 2025-03-21 08:15:02 +01:00
Filip Noetzel
b156b7cbc0 isDesktopOnly: false 2025-03-21 08:15:02 +01:00
Filip Noetzel
ee27475e1c initial mobile support 2025-03-21 08:15:02 +01:00
Filip Noetzel
09241df5cf Bump version: 1.0.0 → 1.0.1 2025-03-20 07:43:24 +01:00
Filip Noetzel
e6c5a575b9 add bumpversion config 2025-03-20 07:41:30 +01:00
Filip Noetzel
04c365c231 re-enable npm build for github actions 2025-03-20 07:01:23 +01:00
Filip Noetzel
fb397b1da3 remove console.log as per plugin guidelines 2025-03-20 07:00:34 +01:00
Filip Noetzel
182457e7cf fix typescript 2025-03-20 06:59:03 +01:00
Filip Noetzel
804ccd2d10 move to typescript 2025-03-20 06:59:03 +01:00
Filip Noetzel
72b8fa032d add package.json 2025-03-20 06:37:45 +01:00
Filip Noetzel
b9ef87ec2f fix resolution of screencast gif in README 2025-03-20 06:36:31 +01:00
Filip Noetzel
d529d7e99e isDesktopOnly: true (for now) 2025-03-18 16:38:25 +01:00
Filip Noetzel
7b1c6cc29f use styles.css instead 2025-03-18 15:01:31 +01:00
Filip Noetzel
bb6f028b53 don't npm build 2025-03-18 12:58:49 +01:00
Filip Noetzel
a1251b3b5c add github release action 2025-03-17 18:01:39 +01:00
Filip Noetzel
be0827ab97 merge github generated project with local development 2025-03-17 17:50:40 +01:00
Filip Noetzel
a37d80323a
Initial commit 2025-03-17 17:35:08 +01:00
Filip Noetzel
729dcb20b0 add README + screencast 2025-03-17 17:30:05 +01:00
Filip Noetzel
8aff23ec9b more s/star/symbol/ 2025-03-17 17:30:05 +01:00
Filip Noetzel
3ba73759d7 more s/Star/Symbol/ 2025-03-17 17:30:05 +01:00
Filip Noetzel
cb9f9fb81b update manifest to new name 2025-03-17 17:30:05 +01:00
Filip Noetzel
88e5815844 starOverlay → ratingsOverlay 2025-03-17 17:30:05 +01:00
Filip Noetzel
6f38dda1ff Star Rating plugin → Interactive Ratings plugin 2025-03-17 17:30:05 +01:00
Filip Noetzel
bc2eb5e1ff star-rating-style → interactive-ratings-style 2025-03-17 17:30:05 +01:00
Filip Noetzel
8b4a76841a star-rating-container → interactive-ratings-container 2025-03-17 17:30:05 +01:00
Filip Noetzel
70771eb7cc star-rating-star → interactive-ratings-star 2025-03-17 17:30:05 +01:00
Filip Noetzel
519d593e40 star-rating-editor-overlay → interactive-ratings-editor-overlay 2025-03-17 17:30:05 +01:00
Filip Noetzel
7f1492dbc1 StarRatingPlugin → InteractiveRatingsPlugin 2025-03-17 17:30:05 +01:00
Filip Noetzel
9db6ef9eee disable moon support for now 2025-03-17 17:30:05 +01:00
Filip Noetzel
f4e7a126dd support multibyte characters better 2025-03-17 17:30:05 +01:00
Filip Noetzel
2eb30a12cb improve ratingText update 2025-03-17 17:30:05 +01:00
Filip Noetzel
80e32b3ef5 add moon emoji as symbol 2025-03-17 17:30:05 +01:00
Filip Noetzel
9e0ce6e214 support rating text (such as 3/5 or 20%) which will be updated 2025-03-17 17:30:05 +01:00
Filip Noetzel
c5ffcea0ae support 3+ symbols 2025-03-17 17:30:05 +01:00
Filip Noetzel
6e844c746f small improvements with new symbols 2025-03-17 17:30:05 +01:00
Filip Noetzel
3e0c6e76d4 add ascii/ansi progress bars 2025-03-17 17:30:05 +01:00