Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babel sandbox version comparison #15

Open
5 tasks
ianjennings opened this issue Jul 22, 2020 · 1 comment
Open
5 tasks

Babel sandbox version comparison #15

ianjennings opened this issue Jul 22, 2020 · 1 comment
Labels
Interface Mockup Wanted A design mockup or sketch would be really helpful here.

Comments

@ianjennings
Copy link
Member

From sandboxes created by wlawt: babel#2

Feature request for Sandbox.

The problem: is it useful to compare the output of babel between two different versions (i.e. 7.10.4 and 7.10.x)?

Outputs that we'd consider for this feature:

  • comparing output for bugs
  • code difference
  • code size (for outputs)
  • determine when a change was made
  • making a history of how things have changed

Design spec:

  1. Have an input box for the user
  2. Have one output box for the babel version the PR was submitted in
  3. Have another output box for another version of babel
  • figure out npm alias
  • be able to import 2 of the same pkgs with diff names
  • figure out how to get 2 different outputs with the pkgs
  • how'd we grab the version that's submitted in a PR (by default: it's latest version)
  • how'd we support all the versions & load them quickly

UI Design:

  • At the moment, it would be similar to what's available right now on sandboxes

Considerations:

  • Version conflicts might come up with having 2 different versions of babel
@ianjennings
Copy link
Member Author

From: https://hackmd.io/js_I3MpUR8GuSvv55DOnGw

Comparing output for bugs, code difference, code size, helping determine when I change was made, making a history of how things have changed.

@ianjennings ianjennings added Interface Mockup Wanted A design mockup or sketch would be really helpful here. labels Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interface Mockup Wanted A design mockup or sketch would be really helpful here.
Projects
None yet
Development

No branches or pull requests

1 participant