[ZEPPELIN-2257] notification about incompleteness of data#2134
[ZEPPELIN-2257] notification about incompleteness of data#2134tinkoff-dwh wants to merge 6 commits into
Conversation
|
LGTM |
|
Merge to master and branch-0.7 if no further discussions. |
|
Sorry for late reply.
For example, |
|
LGTM |
|
@tinkoff-dwh Then you can make this CI status green by reopening-closing this PR :) |
|
In addition to @prabhjyotsingh mentions, there are another type of message controlled by All three messages Color, location, Decorations are different. So it make sense to display all three message in similar way, i think. |
|
@Leemoonsoo |
Message locationBecause of existing message Message styleBootstrap decoration is pretty. If we apply bootstrap alert to all 3 messages, then that means existing 2 message ux is changed, too. From taking less height of the screen, receiving less attention, So which is the way we should go do you guys think? @tinkoff-dwh @1ambda Message textAll three message are different.
It'll be better use similar form of message. But how they're limited are all different. And it'll be great if we user give some link how they're limited.
What do you think? |
|
@Leemoonsoo sorry for offtopic. @Leemoonsoo can you watch #2085 |
318083c to
cd0e01e
Compare
22a2c25 to
edeca0e
Compare
|
Top margin looks bit small and bottom margin looks too large. What do you think adjust them little bit and make top and bottom margin the same? @1ambda @AhyoungRyu @prabhjyotsingh @felixcheung @zjffdu @jongyoul Can you guys take a look and give some feedback how this new message style looks like? |
|
@Leemoonsoo |
|
@tinkoff-dwh thanks! It's nit, but bottom margin is bit much compare to other margins in paragraph. i tried mark other margins. Of course there's no rule that all the margin should be the same, but the margin on bottom looks bit inconsistent. Message is already decorated by bootstrap box so it already gives good visual separation. What do you think? |
|
@Leemoonsoo |
|
@tinkoff-dwh Ah, i see. i didn't see where this margin comes from. |
|
Tested and basically agree with @Leemoonsoo. But one thing I just noticed is this new message can be seen in report mode.
|
|
@AhyoungRyu |
@tinkoff-dwh Yeah that's better. Having close button will be better for other cases as well. |
|
@tinkoff-dwh Thanks! Looks good :) |
|
@Leemoonsoo |
1a1366c to
3c52b52
Compare
|
Ready to review |
|
LGTM |
# Conflicts: # livy/src/main/java/org/apache/zeppelin/livy/LivySparkSQLInterpreter.java
|
LGTM and merge to master if no further discussions. Thanks @tinkoff-dwh for the improvement! |
### What is this PR for? Added notification about exceeding the limit in the result. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-2257 ### How should this be tested? 1. Create table *test* with more than 2 records (if not exists) 2. Set parameter `common.max_count ` = 2 3. Execute ``` %jdbc select *from test ``` You should see message about exceeds limit ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Tinkoff DWH <tinkoff.dwh@gmail.com> Closes apache#2134 from tinkoff-dwh/ZEPPELIN-2257 and squashes the following commits: 367ac65 [Tinkoff DWH] [ZEPPELIN-2257] merge 1048214 [Tinkoff DWH] Merge remote-tracking branch 'origin/master' into ZEPPELIN-2257 3c52b52 [Tinkoff DWH] [ZEPPELIN-2257] custom css class for alert 2e6c976 [Tinkoff DWH] [ZEPPELIN-2257] close button to alert d6dbe3e [Tinkoff DWH] Merge remote-tracking branch 'origin/master' into ZEPPELIN-2257 edeca0e [Tinkoff DWH] [ZEPPELIN-2257] notifications about incompleteness of data
### What is this PR for? Added notification about exceeding the limit in the result. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-2257 ### How should this be tested? 1. Create table *test* with more than 2 records (if not exists) 2. Set parameter `common.max_count ` = 2 3. Execute ``` %jdbc select *from test ``` You should see message about exceeds limit ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Tinkoff DWH <tinkoff.dwh@gmail.com> Closes apache#2134 from tinkoff-dwh/ZEPPELIN-2257 and squashes the following commits: 367ac65 [Tinkoff DWH] [ZEPPELIN-2257] merge 1048214 [Tinkoff DWH] Merge remote-tracking branch 'origin/master' into ZEPPELIN-2257 3c52b52 [Tinkoff DWH] [ZEPPELIN-2257] custom css class for alert 2e6c976 [Tinkoff DWH] [ZEPPELIN-2257] close button to alert d6dbe3e [Tinkoff DWH] Merge remote-tracking branch 'origin/master' into ZEPPELIN-2257 edeca0e [Tinkoff DWH] [ZEPPELIN-2257] notifications about incompleteness of data



















What is this PR for?
Added notification about exceeding the limit in the result.
What type of PR is it?
Improvement
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2257
How should this be tested?
common.max_count= 2You should see message about exceeds limit
Screenshots (if appropriate)
Questions: