[ 
https://issues.apache.org/jira/browse/BEAM-12929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Kosolapov updated BEAM-12929:
----------------------------------
    Description: 
As a Beam Playground user, I want to be able to load an example, view, change, 
type Java code in the web-based code editor.

Acceptance criteria:

1. The code editor supports code entering

_*Scenario*: Typing code in the code editor_

_*Given*: User has opened Beam Playground_

_*When*: User type code from the keyboard_

_*Then*: The code puts in code editor_

2. The Code editor support code highlighting based on the selected SDK

_*Given*: User is typing code in the code editor._

_*When*: User has typed keywords for the language_

_*Then*: Code editor highlights keywords_

3. The code editor loads an initial example

_*Scenario*: Initial example_

_*Given*: User has been navigated to Beam Playground_

_*When*: User open Beam Playground_

_*And*: Beam Playground loaded_

_*Then*: User see initial example in code editor area_

4. The code editor able to load mock examples

_*Scenario*: Load Beam Playground example_

_*Given*: User has opened Beam Playground_

_*When*: User clicks to catalog button_

_*And*: User see the list of mocked examples_

_*And*: User select one of the examples_

_*Then*: Beam Playground load example’s code to code editor area_

 

Reference:
 * _[design doc|_ 
_[https://docs.google.com/document/d/1uf58Auags4DBqSU3nZWxfaDH2BcBvKxhmy0Ug-xoewQ/edit?usp=sharing]]_

  was:
As a Beam Playground user, I want to be able to load an example, view, change, 
type Java code in the web-based code editor.

Acceptance criteria:

1. The code editor supports code entering

_*Scenario*: Typing code in the code editor_

_*Given*: User has opened Beam Playground_

_*When*: User type code from the keyboard_

_*Then*: The code puts in code editor_

2. The Code editor support code highlighting based on the selected SDK

_*Given*: User is typing code in the code editor._

_*When*: User has typed keywords for the language_

_*Then*: Code editor highlights keywords_

3. The code editor loads an initial example

_*Scenario*: Initial example_

_*Given*: User has been navigated to Beam Playground_

_*When*: User open Beam Playground_

_*And*: Beam Playground loaded_

_*Then*: User see initial example in code editor area_

4. The code editor able to load mock examples

_*Scenario*: Load Beam Playground example_

_*Given*: User has opened Beam Playground_

_*When*: User clicks to catalog button_

_*And*: User see the list of mocked examples_

_*And*: User select one of the examples_

_*Then*: Beam Playground load example’s code to code editor area_


> [Playground] Code editor prototype
> ----------------------------------
>
>                 Key: BEAM-12929
>                 URL: https://issues.apache.org/jira/browse/BEAM-12929
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-playground
>            Reporter: Alex Kosolapov
>            Assignee: Alex Kosolapov
>            Priority: P3
>
> As a Beam Playground user, I want to be able to load an example, view, 
> change, type Java code in the web-based code editor.
> Acceptance criteria:
> 1. The code editor supports code entering
> _*Scenario*: Typing code in the code editor_
> _*Given*: User has opened Beam Playground_
> _*When*: User type code from the keyboard_
> _*Then*: The code puts in code editor_
> 2. The Code editor support code highlighting based on the selected SDK
> _*Given*: User is typing code in the code editor._
> _*When*: User has typed keywords for the language_
> _*Then*: Code editor highlights keywords_
> 3. The code editor loads an initial example
> _*Scenario*: Initial example_
> _*Given*: User has been navigated to Beam Playground_
> _*When*: User open Beam Playground_
> _*And*: Beam Playground loaded_
> _*Then*: User see initial example in code editor area_
> 4. The code editor able to load mock examples
> _*Scenario*: Load Beam Playground example_
> _*Given*: User has opened Beam Playground_
> _*When*: User clicks to catalog button_
> _*And*: User see the list of mocked examples_
> _*And*: User select one of the examples_
> _*Then*: Beam Playground load example’s code to code editor area_
>  
> Reference:
>  * _[design doc|_ 
> _[https://docs.google.com/document/d/1uf58Auags4DBqSU3nZWxfaDH2BcBvKxhmy0Ug-xoewQ/edit?usp=sharing]]_



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to