23 Commits (fb7d76ad92ddf8b99d687face7b240c66608e535)

Author SHA1 Message Date
Michael Fix eb5334bc6f
Upgrade next (#1124)
* upgrade to Next 10

* add function names
4 years ago
Mike Fix b2912786a4
tweak 5 years ago
Binyamin Aron Green 50b3c3bfd8
Window title extends over boxy controls (#1038)
* Window title extends over boxy controls
Fixes #1033

* use static max width

Co-authored-by: Mike Fix <mrfix84@gmail.com>
5 years ago
Mike Fix a0b1e57d0c
tweak boxy theme 5 years ago
Michael Fix 7c778ed8a6
Boxy window theme (#1008)
* Add WIndows style window controls

* Add Windows style controls preview (needs work)

* Add Windows control style to settings menu

* tweaks

* add boxy windows theme

* refactor windows theme logic a bit

Co-authored-by: spikespaz <spikespaz@outlook.com>
5 years ago
Mike Fix e4da412d83 move to use meta and shift symbols to define keyboard listening 5 years ago
Mike Fix 48504ba1d0 use theme.light 6 years ago
Muhammad Muzzammil b3c79f74df Remove color property of input 6 years ago
Mike Fix 3187b6777a make titleBar uncontrolled 6 years ago
Mike Fix 1f9f32f49b fix copy button styles 6 years ago
Mike Fix 35ed5ae1e7 replace copy button with tacklebox's 6 years ago
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
Mike Fix 4321c3455f add aria labels 6 years ago
Mike Fix c0ff116de8 embeds
expose CodeMirrorLink, load only necessary theme in embed

implement copy button in Carbon window controls

add copy to queryParam

use next/head and metatags in /embed

make editor have router prop

fix now.json rewrites

allow local stylesheets in embed
6 years ago
Michael Fix a6324586eb Performance improvements (#287)
* Perf improvements. Limit rerender on keystrokes

* Spread settings props, make dropdowns and carbon pure

* Remove last TODO

* Pass state into value of titleBar input

* Clean up
7 years ago
Jake Dexheimer f28d80c250 Minor windowTitle positioning change 7 years ago
Mark Molnar b1ef2d1263 Feature: Window Title (#257)
* Added title bar

* Added state for title bar
7 years ago
Jake Dexheimer 9d69d2392b Add alpha support, sketch color picker 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
Jake Dexheimer 7b00c6e37a Minor window controls changes 7 years ago
Jake Dexheimer d4096d7e16 Add window control themes 8 years ago