lantern icon indicating copy to clipboard operation
lantern copied to clipboard

Developer button doesn't allow editing?

Open leahxschmidt opened this issue 13 years ago • 3 comments

When I click the developer button, I can see, but not edit, the model.

Also, the model window has two sets of scrollbars, but I assume that's some CSS weirdness that will get fixed.

leahxschmidt avatar Dec 20 '12 01:12 leahxschmidt

The frontend detects whether it's running against a mock or real backend based on the presence of the mock field in the model. In the case of a real backend, I have editing the model disabled on purpose, since it would require a lot more work to do safely on the real backend, and figured we could add support for this later if it seemed helpful. If it seems helpful to do now though, all we'd have to do is take out this line to make the textarea not read-only: https://github.com/getlantern/lantern-ui/blob/d852556b/app/partials/developer.html#L22

(You may have noticed the Scenarios button under Developer is disabled for a real backend too, as it only makes sense for a mock backend.)

lanterndev avatar Dec 20 '12 21:12 lanterndev

Definitely not a blocker for Astell.

myleshorton avatar Dec 25 '12 14:12 myleshorton

WONTFIX

lanterndev avatar May 03 '13 23:05 lanterndev