[ https://issues.apache.org/jira/browse/BEAM-13515?focusedWorklogId=712024&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-712024 ]
ASF GitHub Bot logged work on BEAM-13515: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Jan/22 12:43 Start Date: 20/Jan/22 12:43 Worklog Time Spent: 10m Work Description: KhaninArtur commented on a change in pull request #16373: URL: https://github.com/apache/beam/pull/16373#discussion_r788726928 ########## File path: playground/frontend/lib/modules/editor/components/editor_textarea.dart ########## @@ -31,6 +31,15 @@ import 'package:playground/modules/examples/models/example_model.dart'; import 'package:playground/modules/sdk/models/sdk.dart'; import 'package:provider/provider.dart'; +const kNumberOfStringsToSkip = 16; +const kJavaRegExp = r'import\s[A-z.0-9]*\;\n\n[(\/\*\*)|(public)|(class)]'; +const kPythonRegExp = r'[^\S\r\n](import|as)[^\S\r\n][A-z]*\n\n'; +const kGoRegExp = r'[^\S\r\n]+\' + r'"' + r'.*' + r'"' + r'\n\)\n\n'; + Review comment: Hi @pabloem! Since you've already merged this one, we created a new ticket BEAM-13703 to come back to your suggestion soon. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 712024) Time Spent: 1.5h (was: 1h 20m) > [Playground] Hiding lines in an example that are not necessary > -------------------------------------------------------------- > > Key: BEAM-13515 > URL: https://issues.apache.org/jira/browse/BEAM-13515 > Project: Beam > Issue Type: New Feature > Components: beam-playground > Reporter: Artur Khanin > Assignee: Alexander Zhuravlev > Priority: P2 > Labels: beam-playground-frontend, beam-playground-sprint-6 > Time Spent: 1.5h > Remaining Estimate: 0h > > As a Beam Playground {*}user{*}, I want to open any example on the first line > skipping license/imports/tag, so I can see the actual start of the example > code. -- This message was sent by Atlassian Jira (v8.20.1#820001)