liuxunorg opened a new pull request #3271: [ZEPPELIN-3919] Paragraph config 
default value can be customized
URL: https://github.com/apache/zeppelin/pull/3271
 
 
   ### What is this PR for?
   
   The title of the paragraph is not displayed by default, and the 
runOnSelectionChange check option is `ON` by default.
   For added flexibility, Add the config configuration section in the 
interpreter-setting.json file of the interpreter. You can modify the default 
values with the following four options.
   
   ```
   "config": {
     "fontSize": 9,
     "colWidth": 12,
     "runOnSelectionChange": false,
     "title": true
   }
   ```
   
   In the `hadoop submarine interpreter`, each paragraph of a notebook 
represents a complete module of a machine learning algorithm. The name of the 
algorithm name needs to be filled in through the title of the paragraph. 
   
   **Notebook paragraph display title (Optional)**
   The notebook paragraph does not display the title by default.
   You can display the title by default with `config.title = true`.
   
   **Notebook run on selection change (Optional)**
   The dynamic form in the notebook triggers execution when the selection is 
change.
   You can make the dynamic form in the notebook not trigger execution after 
selecting the modification by setting `config.runOnSelectionChange=false`.
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [x] Add paragraph config default configuration in interpreter-setting.json
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-3919
   
   ### How should this be tested?
   [CI pass](https://travis-ci.org/liuxunorg/zeppelin/builds/470852962)
   
   ### Screenshots (if appropriate)
   
   ![alt 
text](https://github.com/liuxunorg/images/blob/master/zeppelin/config-setting.gif?raw=true
 "config-setting")
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? Yes

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to