Keavon Chambers
19eb6ce0ab
Remove editor instances concept and clean up JS interop code
2024-04-29 04:17:09 -07:00
Dennis Kobert
b7fe38cf31
Fix how transforms work with footprints and remove a redundant transforms field ( #1484 )
...
* Prune unused thumbnails in node graph executor
* Fix transform downcasting failure for GraphicElementData
* Remove more warnings
* Revert upstream transform calculation change
* Use footprint to calculate layer transforms
* Fix artboards
* Move artwork with artboard
* Remove Keavon's warnings
* Prevent misordered FrontendMessages failing to reach JS handlers
---------
Co-authored-by: 0hypercube <0hypercube@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-12-03 14:17:28 -08:00
Keavon Chambers
a6ca43bb2d
Restore ESLint and Prettier auto-formatting and CI linting ( #1457 )
...
* Restore ESLint and Prettier autoformatting
* Fix formatting and lints in web files
* Hacky fix to eslint crash
* Fix remaining lints
* Add lint-fix script
---------
Co-authored-by: 0hypercube <0hypercube@gmail.com>
2023-11-16 13:12:47 -08:00
Andre Roelofs
639a24d8ad
Replace TS relative @ import path ( #1087 )
...
Migrated the import shortcut used in Svelte from @ to @graphite for better future package compatibility
Co-authored-by: Andre Roelofs <andreroelofsai@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-03-26 01:39:38 +01:00
Keavon Chambers
1e74ccb4f8
Enable some TS consistency lints
2022-08-25 19:00:23 -07:00
Keavon Chambers
881ad667d7
Prefix all type imports with the 'type' keyword where appropriate
2022-08-25 15:38:21 -07:00
Keavon Chambers
fc2d983bd7
Vue initialization and FloatingMenu codebase refactoring and cleanup ( #649 )
...
* Clean up Vue initialization-related code
* Rename folder: dispatcher -> interop
* Rename folder: state -> providers
* Comments and clarification
* Rename JS dispatcher to subscription router
* Assorted cleanup and renaming
* Rename: js-messages.ts -> messages.ts
* Comments
* Remove unused Vue component injects
* Clean up coming soon and add warning about freezing the app
* Further cleanup
* Dangerous changes
* Simplify App.vue code
* Move more disparate init code from components into managers
* Rename folder: providers -> state-providers
* Other
* Move Document panel options bar separator to backend
* Add destructors to managers to fix HMR
* Comments and code style
* Rename variable: font -> font_file_url
* Fix async font loading; refactor janky floating menu openness and min-width measurement; fix Vetur errors
* Fix misaligned canvas in viewport until panning on page (re)load
* Add Vue bidirectional props documentation
* More folder renaming for better terminology; add some documentation
2022-05-21 19:46:15 -07:00