Commit Graph

107 Commits

Author SHA1 Message Date
James Stuckey Weber
6b1e56e66f Lint 2023-06-21 11:12:48 -04:00
James Stuckey Weber
2778507a4e Catch if base64 decode fails 2023-06-21 10:36:11 -04:00
James Stuckey Weber
f69a4ff271 Add sass version to playground 2023-06-21 10:33:05 -04:00
James Stuckey Weber
d1a1fb9e9f Prepend shareable url with ? so it is shareable 2023-06-21 09:54:25 -04:00
James Stuckey Weber
ea03de7774 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-15 16:32:35 -04:00
James Stuckey Weber
8ae9bfd6b1 Lint 2023-06-15 16:22:00 -04:00
James Stuckey Weber
a433c2588b Update selectors to match style guide 2023-06-15 15:19:37 -04:00
James Stuckey Weber
9969e5655d Move data-active to tab bar button 2023-06-15 14:50:34 -04:00
Ed Rivas
299bdf375a Use gts instead of eslint 2023-06-15 17:47:55 +00:00
Stacy Kvernmo
a35f0ecbd5 more closely matches prism.js colors 2023-06-14 14:18:38 -05:00
Stacy Kvernmo
ddd5e2b36f add Playground tags to better match prism 2023-06-14 12:00:06 -05:00
Stacy Kvernmo
b892867a1a use semibold values for bolder items 2023-06-14 11:02:30 -05:00
James Stuckey Weber
3a34ba177e Move playground styles from js to scss 2023-06-13 12:42:28 -04:00
James Stuckey Weber
3bec8368c0 Disable search 2023-06-12 11:55:14 -04:00
Jonny Gerig Meyer
c3b315b158
review 2023-06-10 12:31:43 -04:00
Jonny Gerig Meyer
0e97c56b46
Merge branch 'main' into browser-code-editor
* main:
  add a few docs
  Auto-generate non-@debug CSS
  upgrade yarn
  revert dockerfile change (for now)
  Update some JS API URLs
  Fix permissions in devcontainer
  Use nested records for redirects
  remove config.rb
  Implement remainder of redirects
  Confirm hash redirects
  Remove non-redirect-related cruft
2023-06-10 11:02:11 -04:00
Ed Rivas
8a70201c13 Update some JS API URLs 2023-06-09 22:16:55 +00:00
Ed Rivas
19e58534d2 Use nested records for redirects 2023-06-09 21:45:15 +00:00
James Stuckey Weber
3a6ed07c84 Fix emoji display, use innerText to sanitize message 2023-06-09 15:35:27 -04:00
James Stuckey Weber
db21395639 Split out pure functions and types into utils 2023-06-09 13:00:13 -04:00
James Stuckey Weber
f24b37d02d Merge branch 'browser-code-editor-debug' into browser-code-editor 2023-06-09 12:36:07 -04:00
James Stuckey Weber
863f6176e2 Add url persistence and sharing 2023-06-09 12:24:33 -04:00
Jonny Gerig Meyer
75283bc8d7
switch to dart sass release 2023-06-09 12:22:57 -04:00
Jonny Gerig Meyer
76fd79e6da
Confirm hash redirects 2023-06-08 22:26:33 -04:00
James Stuckey Weber
6ae29d6da9 Refactor debug output 2023-06-08 15:06:03 -04:00
James Stuckey Weber
c5fc59891d Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-08 14:41:27 -04:00
James Stuckey Weber
ca007f50a9 Switch to lodash debounce 2023-06-08 18:40:42 +00:00
James Stuckey Weber
5ac84217aa Escape console messages to prevent XSS 2023-06-08 18:30:30 +00:00
James Stuckey Weber
278e2fc8ef Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-07 19:47:17 +00:00
James Stuckey Weber
7acf6a2c5f Style feedback tweaks 2023-06-07 15:45:42 -04:00
James Stuckey Weber
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -04:00
James Stuckey Weber
80f3addecf Add code folding, remove unused imports 2023-06-07 09:55:41 -04:00
James Stuckey Weber
b85b9c1f3d Switch to proxy reactivity 2023-06-07 09:46:39 -04:00
James Stuckey Weber
70cc37aba7 Type cleanup, more robust error fallbacks 2023-06-07 09:17:37 -04:00
James Stuckey Weber
a57bbef204 Make error tooltip mono font 2023-06-06 16:32:13 -04:00
James Stuckey Weber
88278e063d Move state from DOM to Pojo 2023-06-06 16:02:26 -04:00
Jonny Gerig Meyer
61731d2209
Add type defs for dart-sass build 2023-06-06 14:23:37 -04:00
James Stuckey Weber
23eeea5164 Apply debounce 2023-06-06 13:47:43 -04:00
James Stuckey Weber
bcc110b82f Handle tab for indent 2023-06-06 11:49:43 -04:00
James Stuckey Weber
eb2fe87bc5 Debounce update CSS 2023-06-06 11:33:41 -04:00
James Stuckey Weber
287bf560fc Add mobile flow 2023-06-05 15:06:49 -04:00
James Stuckey Weber
501adc6d3c Show error message and persist stale css 2023-06-05 18:40:15 +00:00
James Stuckey Weber
9d77a79e26 Add diagnostic errors to playground 2023-06-05 17:55:56 +00:00
James Stuckey Weber
85d5abcd03 Initial pass at getting code styling close to existing 2023-06-05 16:02:44 +00:00
James Stuckey Weber
45ee2c4b03 Ensure DOM is loaded before setting up playground 2023-06-05 13:25:55 +00:00
James Stuckey Weber
34859481cb Add compilation options and tab buttons 2023-06-02 12:52:24 -04:00
James Stuckey Weber
486f7355a9 Start theming and layout of playground 2023-06-02 10:53:32 -04:00
James Stuckey Weber
425cafdc65 Minimal working version with CodeMirror 2023-06-02 09:24:32 -04:00
Jonny Gerig Meyer
2e97aaf8d8
lint 2023-03-08 16:14:25 -05:00
Jonny Gerig Meyer
7fa2ff0e1f
Add more jQuery UI deps 2023-02-17 14:58:17 -05:00