Graphite/website
Keavon Chambers 8a1dfb9d8f
Refactor messages.ts by removing class-transformer and JS classes (#3858)
* Fix gamma correction with HTML-based editable Text tool text

* Migrate simple, undecorated classes to types

* Remove TupleToVec2 transformation

* Remove @Transform from tooltips

* Cleanup: replace value.toString() with String(value) everywhere

* Convert documentId from string to bigint

* Migrate the rest of the easy @Transform/@Type decorations

* Migrate FillChoice

* Migrate WidgetDiffUpdate

* Migrate WidgetInstance

* Migrate away from classes that extend WidgetProps

* Remove class-transformer and all classes in messages.ts

* Migrate UI layout passing

* Remove dead code

* Remove unnecessary export and readonly prefixes

* Remove HSVA type

* Break out Color, Gradient, and FillChoice functions into a utility-functions file

* Move widget helper functions from messages.ts into a new utility-functions file; restructure type imports

* Reduce internal type defs

* Rename JsMessage to FrontendMessage

* Code review fixes

* Fix other usages

* Tidying up
2026-03-05 01:43:21 -08:00
..
.build-scripts Add line numbers to file paths in the website editor structure docs (#3130) 2026-02-15 23:59:27 +00:00
content Refactor messages.ts by removing class-transformer and JS classes (#3858) 2026-03-05 01:43:21 -08:00
sass Add the auto-generated node catalog to the website's user manual (#3662) 2026-01-20 22:52:03 -08:00
static/js Refactor messages.ts by removing class-transformer and JS classes (#3858) 2026-03-05 01:43:21 -08:00
templates Move contributor docs editor message structure tree generator from test to tools directory (#3663) 2026-01-20 23:53:15 -08:00
.gitignore Move contributor docs editor message structure tree generator from test to tools directory (#3663) 2026-01-20 23:53:15 -08:00
config.toml Update website to use Zola 0.22 with new code block syntax highlighting 2026-01-18 00:11:12 -08:00
eslint.config.js Refactor messages.ts by removing class-transformer and JS classes (#3858) 2026-03-05 01:43:21 -08:00
package-lock.json Move contributor docs editor message structure tree generator from test to tools directory (#3663) 2026-01-20 23:53:15 -08:00
package.json Move contributor docs editor message structure tree generator from test to tools directory (#3663) 2026-01-20 23:53:15 -08:00
tsconfig.json Modernize and fix website build tooling deps and utilize JS type checking (#3348) 2025-11-06 16:30:35 -08:00