vercel / vercel/hyper

Live editing .hyperjs and producing errors resets .hyperjs

Open
#1,249 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 Type: Bug 🖼 Platform: Windows
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [X ] I am on the latest Hyper.app version

  • [ X] I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Windows 10

  • Hyper.app version: 1.0.0

  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/con-ssc/26cd65a2888cf26953a801e0799a9ae4

  • Relevent information from devtools (CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere): no errors

  • The issue is reproducible in vanilla Hyper.app: Yes

When you live edit the config file and produce in error that is not expected, all your work is gone because hyper resets to default config. For example, if you use undefined shell arguments when you forget "" or '' around the arguments.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to .hyper.js and a vanilla Hyper.app reproduction on Windows 10; begin by reproducing the invalid shell-argument edit using the linked Gist and inspect the resulting behavior in DevTools. Done means an invalid live edit no longer discards the user's prior configuration, with the behavior covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.