Commit Graph
100 Commits
Author SHA1 Message Date
Keavon Chambers 552cee4d6b Fix tooltips in Document panel 2021-07-19 18:02:08 -07:00
Keavon Chambers ba7531121b Fix dropdown menu widget showing wrong active entry
Fixes #250
2021-07-19 15:03:08 -07:00
Keavon Chambers b650658810 Add (nonfunctional) rulers and scrollbars to the viewport (#279)
* Add nonfunctional rulers and scrollbars to viewport

* Switch from DOM divs to SVG lines

* Switch from SVG lines to a single SVG path

* Change variable names
2021-07-17 16:11:52 -07:00
Keavon Chambers f5bb235ae0 Remove outdated todo comment 2021-07-17 03:36:35 -07:00
Keavon Chambers c2f735504d Clean up widget type naming conventions 2021-07-16 15:57:42 -07:00
Keavon Chambers c453199704 Categorize frontend widgets to match design system 2021-07-16 15:37:35 -07:00
Keavon Chambers 5ab610f959 Edit readme with various updates and simplifications 2021-07-16 04:01:32 -07:00
Keavon Chambers 67131a23fd Remove CLI client stub 2021-07-15 03:44:57 -07:00
Keavon Chambers 7785ed2b1d Adjust OptionalInput widget design to add back its right border 2021-07-15 01:01:05 -07:00
Keavon Chambers 86bd9e7cdf Rename tool icons 2021-07-15 00:46:32 -07:00
Keavon Chambers 7b63e27168 Switch all JS imports to absolute paths 2021-07-15 00:34:56 -07:00
Keavon Chambers 37e6335557 Make frontend request tab list on initialization 2021-07-15 00:07:21 -07:00
Keavon Chambers eab498f795 Cleanup of variable naming 2021-07-14 20:11:51 -07:00
Keavon Chambers 0656f8abc5 Add a fullscreen button and the keyboard lock API (#266)
Closes #249
2021-07-14 18:56:22 -07:00
Keavon Chambers 3a520071cf Enforce downgraded dependency versions in package.json 2021-07-14 16:51:56 -07:00
Keavon Chambers ccea88dfd7 Implement closing the current, and all, documents from the menu bar (#265)
Closes #261
Additional cleanup and refactoring with the way the backend relays the list of open documents to the frontend and prompts for confirmation.
2021-07-14 16:13:58 -07:00
Keavon Chambers e0f049ab00 Frontend refactor to move response handler, key input handling, and more into new utilities folder (#260)
Part of #124
2021-07-14 14:31:09 -07:00
Keavon Chambers 3156b3af05 Clean up and polish some code from the previous commit (#255) 2021-07-13 00:52:45 -07:00
Keavon Chambers 29faf704f6 Add a pull request template so GitHub reminds to reference issue numbers 2021-07-10 13:58:54 -07:00
Keavon Chambers 373c74fbf3 Downgrade wasm-pack and Vue-related dependencies which are causing issues
This reverts commit 744e3729d7.
2021-07-09 20:29:14 -07:00
Keavon Chambers bc8fe2d844 Improve panel tabs to fix pixel mislaignments and support MMB closing 2021-07-09 16:49:54 -07:00
Keavon Chambers 13e73b92bd Improve readability of OptionalInput widget design styling 2021-07-09 16:02:36 -07:00
Keavon Chambers 29a2b46684 Add the checkbox input widget (#204)
* Add the checkbox input widget

* Add OptionalInput widget
2021-07-08 14:10:30 -07:00
Keavon Chambers 8666ff4390 Fix horizontal scrollbar due to status bar negative margin 2021-07-05 00:38:18 -07:00
Keavon Chambers 78b369547a Downgrade @vue/compiler-sfc which breaks linting 2021-07-02 15:02:01 -07:00
Keavon Chambers 739f420224 Update wasm-pack dependency and others, fixes #167 2021-07-02 13:50:19 -07:00
Keavon Chambers cd5e36af28 Add styled scrollbars (#231) 2021-07-01 22:08:23 -07:00
Keavon Chambers 0692bc8727 Fix bug where other panel tabs would switch the document panel tabs 2021-06-26 23:46:39 -07:00
Keavon Chambers 923e63c045 Separate Graphite header logo from menu bar 2021-06-25 00:38:32 -07:00
Keavon Chambers e551ba529f Add "Guide Mode" to viewport mode selector dropdown 2021-06-23 23:10:48 -07:00
Keavon Chambers a3d96f1dae Reduce the greediness of keyboard input redirection
Part of #124
2021-06-20 02:05:31 -07:00
Keavon Chambers d1c392b085 Add info to README to help with a possible Windows compilation issue 2021-06-13 16:05:58 -07:00
Keavon Chambers 3672c6919c Fix Layer Tree panel CSS to allow scrolling (#208) 2021-06-13 12:29:50 -07:00
Keavon Chambers 9c0a23d03f Add additional keyboard shortcut tooltips 2021-06-13 11:20:48 -07:00
Keavon Chambers 70c9e4ada6 Change default document title to "Untitled Document" 2021-06-13 01:45:58 -07:00
Keavon Chambers 3b2e460265 Add a contributing section to the project README 2021-06-12 21:34:09 -07:00
Keavon Chambers ffb83b06c1 Remove early sample "greet" code 2021-06-12 12:05:34 -07:00
Keavon Chambers 13dd51dbf8 Improve UI behavior at smaller screen sizes so status bar overflows (#158)
Also includes various CSS flex-related cleanup throughout the UI.
Progress for #150
2021-06-08 00:54:24 -07:00
Keavon Chambers 569af162ae Add the Dropdown Input widget (#168)
Fixes #135.

* Add the Dropdown Input widget

* Fix font loading race condition
2021-06-06 02:17:36 -07:00
Keavon Chambers 4bcdbbe092 Implement "Export" entry in File menu; add Copy/Paste icons in Edit menu 2021-06-01 19:49:04 -07:00
Keavon Chambers d1bf68320e Implement menu bar floating list menus (#163)
Progress towards #135
2021-05-31 11:51:32 -07:00
Keavon Chambers 3d646d2bc3 Generalize and rename overlays as "floating menus"
Progress towards #135.
2021-05-29 21:55:43 -07:00
Keavon Chambers 805116b031 Fix missing keyboard shortcut <P> for the Pen Tool 2021-05-27 22:10:48 -07:00
Keavon Chambers a11892db70 Minor CSS custom property rename for accuracy 2021-05-27 15:03:49 -07:00
Keavon Chambers a70605b514 Fix layer visibility icons incorrectly referenced in previous cleanup commit. 2021-05-27 09:26:38 -07:00
Keavon Chambers cdcddf176b Move all icon SVG imports to the Icon component
This change also removes the need to specify the icon size.
2021-05-27 02:14:32 -07:00
Keavon Chambers 5016fde231 Standardize icon sizes and folder paths (closes #110) 2021-05-27 00:14:50 -07:00
Keavon Chambers 9930ea2e13 Fix popover positioning regression 2021-05-25 21:49:43 -07:00
Keavon Chambers 0ed6f24664 Update the readme with new progress, details, and mockup screenshot 2021-05-24 00:33:09 -07:00
Keavon Chambers 34efac990b Update UI colors and alignment for consistency with the design mockup (#157)
Closes #111
2021-05-23 19:01:13 -07:00
Keavon Chambers c08b2d4b31 Fix icon cursor hitbox below SVGs by setting images to display: block
Fixes #133
2021-05-21 14:28:11 -07:00
Keavon Chambers 3b0762ef18 Rename and organize widget components to conform to design terminology (#132) 2021-05-21 13:10:32 -07:00
Keavon Chambers b9248b828c Complete implementing popover system main features (#131)
* Make popover buttons open popover menus and add placeholder messages to all of them.
* Implement all directions for drawing, aligning, and edge-clamping popovers.
* Fix popovers so they are drawn outside their parent panel bounds and not clipped.
* Fix popover HTML to avoid nesting it inside a <button> element.
2021-05-21 12:22:30 -07:00
Keavon Chambers 267331728d Popovers now close when clicked out or mouse strays 100px outside bounds (#129) 2021-05-19 01:02:58 -07:00
Keavon Chambers 564560c7dd Move .eslintignore file rules into .eslintrc.js 2021-05-17 18:56:41 -07:00
Keavon Chambers a439b27d2b Implement popover component and beginnings of color picker (#128) 2021-05-17 12:07:54 -07:00
Keavon Chambers b7b329c85a Rename Panel Area -> Workspace and Dockable Panel -> Workspace Panel 2021-05-16 18:15:04 -07:00
Keavon Chambers 11e408523a Rename Footer Bar -> Status Bar 2021-05-16 18:04:26 -07:00
Keavon Chambers 5dc838079b Refactor type handling for response handler to fix dangerous casting (#126) 2021-05-15 01:02:33 -07:00
Keavon Chambers a28cb314aa Upgrade TypeScript from 3.9 to 4.x 2021-05-14 23:53:55 -07:00
Keavon Chambers cba56e1dec Update node packages 2021-05-14 00:58:15 -07:00
Keavon Chambers 2fbdafb157 Update favicon 2021-05-09 23:34:12 -07:00
Keavon Chambers 935daa3a7a Change debug colors for dark theme readability 2021-05-09 01:37:58 -07:00
Keavon Chambers b91c416611 Change default draw color to orange, plus small fixes 2021-05-08 15:16:59 -07:00
Keavon Chambers 34036e42ee Rename human-readable layer types (#117) 2021-05-07 21:13:22 -07:00
Keavon Chambers 4975a4e737 Plumb frontend for layer visibility toggle 2021-05-07 16:57:45 -07:00
Keavon Chambers 2650b2c998 Fix "P" not switching to the Pen Tool 2021-05-07 01:51:15 -07:00
Keavon Chambers 76d3e8cde4 Styling improvements to layers 2021-05-06 01:05:10 -07:00
Keavon Chambers c74575724c Replace placeholder with eye icons for layers 2021-05-05 22:09:50 -07:00
Keavon Chambers 6dc8c91578 Fix CSS extraneous space beneath icons 2021-05-05 22:08:58 -07:00
Keavon Chambers 4ffb836673 Add basic HTML for layers in the layer panel (#97) 2021-05-02 13:55:22 -07:00
Keavon Chambers b27eaf3fae Update architecture diagram around the Dispatcher 2021-05-01 13:36:05 -07:00
Keavon Chambers 3b32184906 Rename tools: "Sample" to "Eyedropper", "Blur/Sharpen" to "Detail" (#87) 2021-04-29 00:50:55 -07:00
Keavon Chambers b6ce559d86 Add design documentation about user input and masking 2021-04-29 00:41:38 -07:00
Keavon Chambers f01e20571a Design tweaks to frontend components 2021-04-29 00:32:25 -07:00
Keavon Chambers 0ca4b9fe7c Fix web code linting to be portable across environments 2021-04-14 11:44:09 -07:00
Keavon Chambers 57540ed5ef Set CI environment variable to NODE_ENV=production during linting (#73) 2021-04-14 01:27:01 -07:00
Keavon Chambers 39286f8d78 Fix web lint errors and enable web linting in CI (#72) 2021-04-14 00:41:20 -07:00
Keavon Chambers b19a9ab6fd Add Cloudflare Pages deployment command as script 2021-04-11 14:38:04 -07:00
Keavon Chambers 43b7a36008 Change button hover colors 2021-04-11 14:13:21 -07:00
Keavon Chambers ae824e3976 Add RadioPicker; add view mode picker to document options bar 2021-04-11 01:57:30 -07:00
Keavon Chambers beb534e20b Add NumberInput component; add scale input and zoom buttons to options bar 2021-04-10 23:27:29 -07:00
Keavon Chambers d5551a0b5c Remove continuous deployment with GitHub Actions 2021-04-10 22:02:36 -07:00
Keavon Chambers 447f0ec2b9 Clean up CI and CD scripts 2021-04-10 21:14:56 -07:00
Keavon Chambers 5ede7a958c Improve ergonomics of npm build system 2021-04-10 19:20:10 -07:00
Keavon Chambers b6030e603f Test CI/CD 2021-04-10 14:00:58 -07:00
Keavon Chambers 64ee09671e Set up deploy bot 2021-04-10 13:27:49 -07:00
Keavon Chambers a56f50c60c Implement active tool visual syncing with tool shelf state 2021-04-10 03:49:27 -07:00
Keavon Chambers 958d351505 Plumb Responses from WASM to JS in the page 2021-04-10 02:48:33 -07:00
Keavon Chambers 934286b1bd Fix deployment script syntax 2021-04-09 22:37:58 -07:00
Keavon Chambers 7a869c76ec Fixes to CI actions 2021-04-09 22:26:48 -07:00
Keavon Chambers 5c20fa3624 Add deployment to Cloudflare Workers 2021-04-09 22:26:16 -07:00
Keavon Chambers 8b6053b1c4 Populate tool shelf and tool options bar (#66) 2021-04-08 06:10:27 -07:00
Keavon Chambers e34672556d Update architecture diagram content and formatting 2021-04-07 22:33:58 -07:00
Keavon Chambers fafea371ab Rename "state" to "fsm_state" to avoid confusion 2021-04-06 22:21:32 -07:00
Keavon Chambers 273aa652df Rename the "Layers" panel to "Layer Graph" 2021-04-01 21:55:15 -07:00
Keavon Chambers 76598c967a Change document, viewport, and canvas terminology 2021-03-29 03:52:08 -07:00
Keavon Chambers 00fa95aa91 Improve formatting for architecture diagram 2021-03-28 01:50:23 -07:00
Keavon Chambers 8f922c7b9a Update architecture diagram with fleshed out editor state flow 2021-03-28 01:42:00 -07:00
Keavon Chambers ecf7d98b7a Rearrange WASM code async import style 2021-03-28 01:32:58 -07:00