Changes

Jump to: navigation, search

DevTools/Features/ScratchpadReRun

1,669 bytes added, 19:33, 21 July 2011
Created page with "{{FeatureStatus |Feature name=Scratchpad Rerun |Feature stage=Feature Inbox |Feature health=OK }} {{FeatureTeam |Feature product manager=Kevin Dangoor |Feature feature manager=Ke..."
{{FeatureStatus
|Feature name=Scratchpad Rerun
|Feature stage=Feature Inbox
|Feature health=OK
}}
{{FeatureTeam
|Feature product manager=Kevin Dangoor
|Feature feature manager=Kevin Dangoor
}}
{{FeaturePageBody
|Feature overview=The Scratchpad, introduced in Firefox 6, offers a very nice interface for experimenting with JavaScript. Rather than being constrained to a single-line input or having to keep pressing shift-enter, as in the Web Console, the user has a full editor to work with. This allows saving/reloading, easy copying and pasting, and a better view and organization of context.

On the other hand, the Web Console is very good at quickly running a bit of JS, going back in history and re-running that command, possibly with minor modifications. We want to make the Scratchpad just as good at that behavior so that users can comfortably use the Scratchpad rather than the Web Console for those uses.
|Feature users and use cases===== Writing experimental code ====

The user is creating a new function in JS. They write the initial version of the function and run it. The results are not what they want, so they go back and make some changes. They want to quickly redefine the function and run their test.

==== Gathering data via Ajax ====

The user has functions on their page that collect up information from the server, and they are experimenting with some changes to the page. They need to keep re-running commands that gather the data from the server and perform some action once it has arrived.
}}
{{FeatureInfo
|Feature priority=P2
|Feature roadmap=Developer Tools
|Feature list=Desktop
|Feature engineering team=DevTools
}}
{{FeatureTeamStatus}}
Canmove, confirm, emeritus
1,093
edits

Navigation menu