Uh oh!
There was an error while loading. Please reload this page.
[ZEPPELIN-1594] Support personalized mode - #1753
Conversation
jongyoul
commented
Dec 13, 2016
@cloverhearts@1ambda Can you guys help me to implement some frontend side? @Leemoonsoo Review this please. If I've missed something, let me know. |
cloverhearts
commented
Dec 14, 2016
Hello, @jongyoul. |
cloverhearts
commented
Dec 15, 2016
@minahlee@Leemoonsoo Please test it. @cloverhearts and I have tested but I want you to check it again. |
cloverhearts
commented
Dec 15, 2016
CI failed. |
Leemoonsoo
commented
Dec 15, 2016
Great!!! I checked this branch and found dynamic form is not being displayed in personalized mode. |
| ng-if="ticket.principal && ticket.principal !== 'anonymous'" | ||
| ng-hide="viewOnly || note.config.personalizedMode === 'true'" | ||
| ng-click="toggleNotePersonalizedMode()" | ||
| tooltip-placement="bottom" tooltip="Shared mode {{isOwner ? '' : '(owner can change)'}}"> |
There was a problem hiding this comment.
it's nit. but how about "Collaboration mode" instead of "Shared mode" ?
"Shared mode" could confuse user with interpreter "shared" mode.
There was a problem hiding this comment.
@Leemoonsoo
Okay! i will fix it.
Thank you for your good idea.
| BootstrapDialog.confirm({ | ||
| closable: true, | ||
| title: 'Setting the result display', | ||
| message: 'Do you want to personalize your analysis??', |
There was a problem hiding this comment.
Seems this message is shown in both cases "Personalized mode" and "Shared mode". I think when we toggle this button from "Personalized mode" to "Share mode", then it should be "Do you want to share your analysis?"
AhyoungRyu
commented
Dec 16, 2016
Except the comment that I left in the above, working well as expected :D |
jongyoul
commented
Dec 16, 2016
It's related AngularObject, isn't it? I'll check it. |
Fixed NPE while broadcasting userParagraphsMap
jongyoul
commented
Dec 20, 2016
@Leemoonsoo@minahlee Review it, please. |
* change mode name shared to collaboration and dialog message * change dialog message Collaboration -> collaborate,
jongyoul
commented
Dec 22, 2016
I think it has implemented basic function what we intended. Merging if there's no more discussion and will fix some bugs if we find any minor wrong behaviour. |
AhyoungRyu
commented
Dec 22, 2016
@jongyoul@cloverhearts Did you have any chance to check my comment? |
AhyoungRyu
commented
Dec 22, 2016
@jongyoul@cloverhearts Didn't saw the last commit. Please ignore my last comment :) |
jongyoul
commented
Dec 22, 2016
@AhyoungRyu Yes, AFAIK, @cloverhearts has changed it :-) |
### What is this PR for? Job class has only two sub classes. I don't think we need Job abstraction class anymore, then I'll move all function of Job into Paragraph and InterpretJob. Paragraph is used into zeppelin-server and InterpretJob is done by remoteInterpreterServer. I think what we disconnect those two different classes is better to maintain each side of codes. This PR moves two variable - result and results - from Job to Paragraph in order to remove Job class. It also based on ZEPPELIN-1594(#1753), thus all reviewers click the last commit and review it. ### What type of PR is it? [Refactoring] ### Todos * [x] - Moved these variables into Paragraph ### What is the Jira issue? N/A ### How should this be tested? All things are same as before ### Screenshots (if appropriate) N/A ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <jongyoul@gmail.com> Closes#1793 from jongyoul/minor/refactoring-job-paragraph and squashes the following commits: ca0be86 [Jongyoul Lee] Fixed some weird indentation 2fe9b63 [Jongyoul Lee] Reformat code 8de238b [Jongyoul Lee] Changed wrong variable name 6923002 [Jongyoul Lee] Changed to store result from jobRun() in Job 54a2423 [Jongyoul Lee] Moved result(s) from Job into Paragraph


What is this PR for?
Enabling "Personalized Mode" for specific note
What type of PR is it?
[Feature]
Todos
What is the Jira issue?
How should this be tested?
Screenshots (if appropriate)
Questions: