[ZEPPELIN-1629] Enable renaming folder from the main page#1630
[ZEPPELIN-1629] Enable renaming folder from the main page#1630tae-jun wants to merge 20 commits intoapache:masterfrom
Conversation
|
Fixed error and CI is green! Ready for review! 😄 |
|
Awesome. Let me test this. Will ping you again :) |
|
@tae-jun Sorry for my late response. |
|
@AhyoungRyu Thanks for review 😄 Don't need to hurry! I will check and ping you :) |
|
@AhyoungRyu ping ping~ I tested! But it just works fine with me. I tested both running ZeppelinServer from IntelliJ and binary built from I use macOS 10.12.1 and Chrome. Could you please share your test environment? 😄 |
|
@tae-jun Build it again and tested, but It works well as you intended. It was my bad. when I try to rename the folder name at home screen, the above msg is shown up. Could you change |
|
@AhyoungRyu Thanks for your kind review. I appreciate it. Actually, I didn't test with Shiro ^^; and didn't know what I changed I also included note name which needs permission 😄 What do you think? |
|
@tae-jun It works well when I tried to rename folder name. And I think It's good idea to let user know which notes that he don't have permission exactly. Thanks :) |
|
@tae-jun And one more thing, it would be better to keep consistency between It will be shown when user rename the folder(I removed And then user rename the note: And also when user create a note, I changed |
|
@AhyoungRyu Thanks! I also think This change will affect other insufficient privileges error messages as well:
I prefer removing And about CI, I suffered from that error when I tried to compile only one project (e.g. However, I'm not sure that CI only recompiles changed files. I will look into it, and tell you if I get some more information. |
| NotebookAuthorization notebookAuthorization = notebook.getNotebookAuthorization(); | ||
| if (!notebookAuthorization.isOwner(noteId, userAndRoles)) { | ||
| permissionError(conn, "rename", fromMessage.principal, | ||
| permissionError(conn, "rename the note", fromMessage.principal, |
There was a problem hiding this comment.
@tae-jun I didn't care about the other operations as you said. It was my bad. I just thought about the renaming.. How about just let this "rename the note" -> "rename" as before, and put note in here?
|
@AhyoungRyu I fixed what you mentioned 😄 Please review. |
|
I guess CI fails because it only recompiles changed files. (since build time is too short) It should be about 30min. Is there any way to compile the whole project again? I ran CI on my own repository. It failed on some profiles because of Ignite interpreter. (what is relevance between Ignite interpreter and my PR? 😭) But it passed on other profiles whereas every profile failed on this repository. |
This reverts commit 3ad2a2d.
06269e2 to
757bb10
Compare
|
CI failure is because of me. I will fix it :) |
|
@tae-jun Great work! Take your time and feel free to ping me again when you're ready. |
|
@AhyoungRyu Yeah! CI is green 😄 Please review! Thanks |
|
@tae-jun This is Cool! and It works well! What do you think? |
|
@soralee Thanks for the review! 😄 That's a great idea! I will give some effect on the front-end and ping you again. Thanks :) |
|
@soralee Hi! I added the feature you suggested. What do you think? Is title or content of warning message appropriate? Thanks for the cool suggestion! |
|
@AhyoungRyu Always thanks for the review 😄 |
|
@tae-jun It is very AWESOME 👍 and thank you for the accept my suggestion. |
|
@AhyoungRyu @soralee Yeah! CI is green! |
|
Tested and working really nicely. Looks awesome to me! |
|
Thanks @Leemoonsoo! I appreciate your review 😄 |
…hild of the parent
|
I've tested more and it was fine most times. But occasionally it doesn't work well. I think it should be tested more! I don't know why for now but I will figure it out and ping when it's ready :) |
|
I found out bugs by adding loggers and fixed them! CI is green and it seems to work perfectly. I think it's good to go now 😄 Please when you have some time. Thanks! |
|
Great work @tae-jun. LGTM! |
|
Merge to master if there're no more comments |
|
Tested and it's working nicely! LGTM 👍 |










What is this PR for?
This PR will enable renaming folder from the main page.
I wrote some codes. Hope this PR is the start of folder-based features. (e.g folder authorization, folder focused view)
Please check when you have some time!
Thanks 😄
What type of PR is it?
[Feature]
Todos
What is the Jira issue?
ZEPPELIN-1629
How should this be tested?
Change folder names!
Screenshots (if appropriate)
Questions: