-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1594] Support personalized mode #1753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@cloverhearts @1ambda Can you guys help me to implement some frontend side? @Leemoonsoo Review this please. If I've missed something, let me know. |
|
Hello, @jongyoul. |
d436df5 to
f59d26a
Compare
|
@minahlee @Leemoonsoo Please test it. @cloverhearts and I have tested but I want you to check it again. |
|
CI failed. |
|
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?"
|
Except the comment that I left in the above, working well as expected :D |
|
It's related AngularObject, isn't it? I'll check it. |
Fixed NPE while broadcasting userParagraphsMap
|
@Leemoonsoo @minahlee Review it, please. |
* change mode name shared to collaboration and dialog message * change dialog message Collaboration -> collaborate,
|
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. |
|
@jongyoul @cloverhearts Did you have any chance to check my comment? |
|
@jongyoul @cloverhearts Didn't saw the last commit. Please ignore my last comment :) |
|
@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: