Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

website(docs): More playground IDE features #3711

Merged
merged 4 commits into from
Nov 14, 2022
Merged

Conversation

sebmck
Copy link
Contributor

@sebmck sebmck commented Nov 14, 2022

This PR polishes and adds a few interesting features to the playground.

Screenshot 2022-11-13 at 8 34 13 PM

Multiple file support

You can now enable "multi file mode" in the sidebar which will show a file list and allow you to add additional files and move between them (deleting and renaming is currently unsupported).

This will be interesting for in the future if we ever have cross file analysis. Under the hood single file mode uses the same primitives, just hides the file list, and makes the query string a little bit nicer.

Diagnostics view

We now have a diagnostics pane that shows a list of diagnostics in the file, we now also add them to the codemirror view so you can hover over them in your editor.

@sebmck sebmck requested a review from a team November 14, 2022 02:38
@netlify
Copy link

netlify bot commented Nov 14, 2022

Deploy Preview for docs-rometools ready!

Name Link
🔨 Latest commit e5e392b
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/6371afc4a6a8af000922ba83
😎 Deploy Preview https://deploy-preview-3711--docs-rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sebmck sebmck merged commit 240a70e into main Nov 14, 2022
@sebmck sebmck deleted the sebmck/playground-files branch November 14, 2022 03:11
jeysal added a commit to jeysal/rometools that referenced this pull request Nov 14, 2022
* upstream/main: (45 commits)
  website(docs): set `color-scheme` on the root element (rome#3721)
  feat(rome_analyze): add a warning for unused suppression comments (rome#3718)
  feat(rome_js_analyze): Implement prefer-numeric-literals lint (rome#3558)
  feat(rome_js_formatter): jestEach template literals rome#3308 (rome#3582)
  doc(website): Add context about Romes philosophy (rome#3714)
  fix(rome_js_formatter): Single-line comment below a JSX prop triggers… (rome#3641)
  test(rome_js_formatter): update prettier tests (rome#3684)
  fix(rome_js_parser): improve await handling in non-async context (rome#3573)
  fix(rome_js_parser): improve yield parsing in non generator function (rome#3622)
  More playground polish
  Fix backgrounds
  Fix height
  Align docs.rome.tools with rome.tools
  Reenable compression
  Add missing width
  website(docs): More playground IDE features (rome#3711)
  fix(rome_js_formatter): new expression attribute (rome#3686)
  docs(website): added checkbox to toggle linter in playground (rome#3699)
  website(docs): More website tweaks (rome#3707)
  website(docs): Add default layout property (rome#3705)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant