Commit Graph
19 Commits
Author SHA1 Message Date
Keavon Chambers bec7a4c109 Add frontend file structure docs and some related cleanup 2022-05-23 19:24:31 -07:00
Keavon Chambersand0hypercube a8f09da5a2 Move layouts definitions to backend and fix Firefox overlay scrollbars (#647)
* Fix two-axis scrollbars in scrollable regions on Firefox

* Move Document Mode dropdown to the backend; and related code cleanup

* Port the Layer Tree options bar layout to the backend

* Port the tool shelf to the backend

* Clean up initialization and wasm wrapper

* Fix crash

* Fix missing document bar

* Remove unused functions in api.rs

* Code review

* Tool initalisation

* Remove some frontend functions

* Initalise -> Init so en-US/GB doesn't have to matter :)

* Remove blend_mode and opacity from LayerPanelEntry

Co-authored-by: 0hypercube <0hypercube@gmail.com>
2022-05-17 13:12:52 -07:00
Keavon Chambers 95435d8bf1 Update the VS Code rust-analyzer extension to its new official owner 2022-05-13 12:09:37 -07:00
Keavon Chambers 97db01ebac Switch VS Code's Vue extension from Vetur to Volar 2022-01-12 05:17:56 -08:00
eb96eafe60 New overlay system that reimplements how overlays are drawn (#418)
* New overlay system that reimplements how overlays are drawn

* Fix overlay message declaration

* Fix small mistake

* WIP (broken) changes to plumb the overlay document

* Fix confusion over messaging system architecture

* Removed log

* Overlay system working

* (broken) WIP overlay association

* Finish the overlay system (except test failure)

* Change back IDs in test

* Fixed test, but stilled fails due to revealed real problem with layer reordering selection

* Disable broken test that has a bug in issue #444

Co-authored-by: Dennis <dennis@kobert.dev>
Co-authored-by: otdavies <oliver@psyfer.io>
2021-12-30 09:48:39 -08:00
Keavon Chambers 7138580ea3 Improve web infrastructure
Upgrade npm packages that were locked to old versions due to now-resolved problems
Remove unused/unnecessary dependencies and their configurations
Fix VS Code format on save
Fix VS Code removing EOF newline in JSON files in conflict with npm
Remove JSON files from ESLint because it doesn't properly support JSON
Add detailed comments to web-related configuration files
2021-08-27 02:19:30 -07:00
Keavon Chambers 4b9c2eb793 Restructure project directories (#333)
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00
bjorn3 5d91ae21a0 Two improvements to the development workflow (#270)
* Configure rust-analyzer to target wasm32-unknown-unknown

* Watch changes to core rust files
2021-07-16 01:49:52 -07:00
Simon Desloges 0240ba81cc Implement Select All/Deselect All layers (#242)
* Implement select all layers shortcut

* Adjust menu entry for Select All Layers

* Avoid selecting the root of the document when selecting all layers

* Implement deselect all layers

* Fix formatting

* Add extensions.json so VS Code recommends useful extensions

* Add rust-analyzer as the default Rust formatter
2021-07-10 17:01:37 -07:00
Paul Kupper f808ee5a94 Don't use ESLint formatter for Rust files in VS Code (#228)
* Remove default formatter from vscode settings

* Only use eslint formatter on js/ts/json/vue files
2021-07-04 13:29:50 -07:00
Keavon Chambers c94c2b3373 Fix web code linting to be portable across environments 2021-04-14 13:22:43 -07:00
Keavon Chambers fcc4c1874b Set CI environment variable to NODE_ENV=production during linting (#73) 2021-04-14 01:27:01 -07:00
ProTheory8 0083a2f788 Add .gitattributes file (#46)
Add .gitattributes and enforce the use of LF
2021-03-27 11:48:05 +01:00
Keavon Chambers 75dee589fc Simplify rustfmt settings to remove using unstable rules 2021-03-27 02:26:55 -07:00
Keavon Chambers 83afcf8734 Clean up component files by removing 'name' property 2021-03-27 02:26:54 -07:00
Keavon Chambers 7aa0887da4 Change UI font to Source Sans Pro 2021-03-27 02:26:54 -07:00
Keavon Chambers bb9d58b2aa Add web frontend panel skeleton & Vue environment 2021-03-27 02:26:54 -07:00
Keavon Chambers df39091107 Add WASM bindings and web project structure 2021-03-27 02:26:54 -07:00
Keavon Chambers 35ff5f55ea Add rustfmt.toml and enable auto formatting (Fixes #7) 2021-03-27 01:20:51 -07:00