Skip to content

Conversation

@cloverhearts
Copy link
Member

What is this PR for?

Scrollbar position when you scroll through the table has been modified with parts that are expressed differently in the length of the actual data.

What type of PR is it?

Bug Fix

Todos

  • Perfect Scroll-based Zeppelin scroll bug fix
  • Browser Test
    • Safari (9.0.2(11601.3.9)
    • Firefox (43.0)
    • Chrome (47.0.2526.106 (64-bit)

Is there a relevant Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-523

How should this be tested?

Step 1. create table on zeppelin
example query)

%pyspark
TABLE = "%table Header1\tHeader2\n"
for x in range(1,51):
    #TABLE +=  "scroll";
    TABLE +=  str(x);
    if (x%2) == 0:
        TABLE += "\n"
    else:
        TABLE += "\t"
z.put("table_context", TABLE)
println(z.get("table_context"))

Step 2.
Scroll the mouse over the Table.

Screenshots (if appropriate)

Before

before

After

after

Questions:

Why did this problem occur?

@cloverhearts cloverhearts changed the title table scrolling bug fixed. out of area scroll issue ZEPPELIN-523 ] table scrolling bug fixed. out of area scroll issue Dec 19, 2015
@astroshim
Copy link
Contributor

Cool fix!
I tested on chrome/firefox/explore10 and working well.
Thanks.

@corneadoug
Copy link
Contributor

Tested, LGTM

@cloverhearts
Copy link
Member Author

@astroshim @corneadoug Thank you for Feed back! Have a nice day~

@r-kamath
Copy link
Member

@cloverhearts Thanks for the fix. LGTM

cloverhearts and others added 2 commits December 21, 2015 08:53
![pyspark_completion](https://cloud.githubusercontent.com/assets/10525473/11742146/e8388f14-a040-11e5-815b-089a4c8d5ea1.gif)

Added auto-complete for pyspark.
autocomplete function will operate through the spark python tag '% pyspark'.
short-cut = Ctrl + Shift + Space.

jira issue : https://issues.apache.org/jira/browse/ZEPPELIN-497

Author: CloverHearts <estail7s@gmail.com>

Closes #530 from cloverhearts/ZEPPELIN-497 and squashes the following commits:

6832409 [CloverHearts] Changed PySpark Completion Filter regex
d7efe88 [CloverHearts] change filter regex character
1f82825 [CloverHearts] remove variable resultComplaetion
f4dc487 [CloverHearts] Pyspark completion __ filtering
ab05f86 [CloverHearts] implement pyspark completion
…cluded in CLASSPATH

### What is this PR for?
Find and add jar under ${HADOOP_HOME}/share, recursively.

### What type of PR is it?
Bug Fix

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-515

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <moon@apache.org>

Closes #551 from Leemoonsoo/ZEPPELIN-515 and squashes the following commits:

350aaa0 [Lee moon soo] find jar under share in recursive way
@cloverhearts
Copy link
Member Author

@r-kamath Thank you for Feed back!

astroshim and others added 6 commits December 21, 2015 09:33
### What is this PR for?
Add restarting interpreter REST API information to the document.
There is no information in the document even though REST API exist.

### What type of PR is it?
Documentation

### Todos
* [x] - add restart REST API document.

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-521

### How should this be tested?
You can get the test information from https://github.com/apache/incubator-zeppelin/tree/master/docs.

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: astroshim <hsshim@nflabs.com>

Closes #555 from astroshim/ZEPPELIN-521 and squashes the following commits:

a7ebcf3 [astroshim] to fix build fail.
b9cb440 [astroshim] add interpreter restart REST API doc
### What is this PR for?
Currently, when there is no change compared with before the interpreter binding setting status, the  cancel button in binding page doesn't work. So I fixed this bug.

### What type of PR is it?
Bug Fix

### Todos
* [x] - Fix the cancel button in interpreter binding page.

### Is there a relevant Jira issue?
[https://issues.apache.org/jira/browse/ZEPPELIN-508](https://issues.apache.org/jira/browse/ZEPPELIN-508)

### How should this be tested?
Open the Zeppelin any notebook page -> Click the interpreter binding button
1. Don't change any binding setting and Just click the **cancel** button.
2. Or just click twice the interpreter binding button.

### Screenshots (if appropriate)
After this PR applied,
![zeppelin508_after 1](https://cloud.githubusercontent.com/assets/10060731/11865265/cadc8dce-a457-11e5-9448-4014e1a9431f.gif)

### Questions:
* Does the licenses files need update? No.
* Is there breaking changes for older versions? No.
* Does this needs documentation? No.

Author: Ryu Ah young <fbdkdud93@hanmail.net>

Closes #548 from AhyoungRyu/ZEPPELIN-508 and squashes the following commits:

3873545 [Ryu Ah young] Remove useless space between parenthesis
2d1d915 [Ryu Ah young] Fix else statement position
63eb0ae [Ryu Ah young] Remove space between colon
e946e8d [Ryu Ah young] Remove useless dialog
62b1349 [Ryu Ah young] Fix typo : Notihing -> Nothing
f39d4f5 [Ryu Ah young] ZEPPELIN-508 Interpreter binding cancel button doesn't work
### What is this PR for?
hide and show of the editor is not functioning properly

### What type of PR is it?
Bug fix

### Is there a relevant Jira issue?
no

### How should this be tested?
Click on on the note name, change the text and enter or focus out to save the new name. Hit Esc for cancel

Author: Renjith Kamath <renjith.kamath@gmail.com>

Closes #539 from r-kamath/noteNameEditBugFix and squashes the following commits:

8d1ad4b [Renjith Kamath] fix edit note name enter/blur fix
### What is this PR for?
When the result in paragraph contains "carriage return" or "line feed", they are getting displayed in single line. The output should be in multiline.

### What type of PR is it?
Bug Fix

### Screenshots
Before
<img width="1439" alt="screen shot 2015-12-16 at 11 26 08 am" src="https://cloud.githubusercontent.com/assets/674497/11833440/a48f1980-a3e8-11e5-908b-8d45f2e2290e.png">

After
<img width="1440" alt="screen shot 2015-12-16 at 11 27 22 am" src="https://cloud.githubusercontent.com/assets/674497/11833441/a4929074-a3e8-11e5-974b-45405cb619be.png">

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes #538 from prabhjyotsingh/multilineOutputFix and squashes the following commits:

c8f63cb [Prabhjyot Singh] multi line output fix, when paragraph result contains "carriage return" or "line feed".
### What is this PR for?
Fix default focus issue on bootstrap alert/confirm box

### What type of PR is it?
Improvement

### Is there a relevant Jira issue?
no

### How should this be tested?
Click on any action which prompts the user with a confirm box. Press enter/return for OK. Esc or click outside for cancel

Author: Renjith Kamath <renjith.kamath@gmail.com>

Closes #532 from r-kamath/bootstrapDialogFix and squashes the following commits:

16b968e [Renjith Kamath] Merge remote-tracking branch 'upstream/master' into bootstrapDialogFix
fe63851 [Renjith Kamath] Merge remote-tracking branch 'upstream/master' into bootstrapDialogFix
c81bbbe [Renjith Kamath] enable Esc key close for all bootstrap alert and confirm dialogs
7d933f0 [Renjith Kamath] fix bootstrap dialog default button
### What is this PR for?
if you express a lot of table Row of Zeppelin, when the Column Title have to scroll down, it is invisible and inconvenient.

So, I have to change the Zeppelin Table Column Title was modified to always display.

### What type of PR is it?
Improvement

### Todos
- [x] implement Fixed Column Title for table
- [x] Browser Test
  - [x] Safari (9.0.2(11601.3.9)
  - [x] Firefox (43.0)
  - [x] Chrome (47.0.2526.106 (64-bit)

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-518
### How should this be tested?
step 1. many rows table print.
           example query)
``` python
%pyspark
TABLE = "%table Header1\tHeader2\tHeader3\tHeader4\n"
for x in range(1,101):
    TABLE +=  str(x) + ""
    if (x%4) == 0:
        TABLE += "\n"
    else:
        TABLE += "\t"
z.put("table_context", TABLE)
```
``` scala
%spark
println(z.get("table_context"))
```
step 2. Scroll the mouse over the Table.

### Screenshots (if appropriate)
Animated Gif.
![fixedtable](https://cloud.githubusercontent.com/assets/10525473/11905783/120635f8-a57d-11e5-83b3-ae0ab53a5e5c.gif)

### Questions:
How tables are expressed in browsers that do not support this feature?
 - As before Header mouse scrolling moves along.

Author: CloverHearts <estail7s@gmail.com>

Closes #554 from cloverhearts/enhanced/floating_table_header and squashes the following commits:

53a0b09 [CloverHearts] unused table header to margin 31px
4864da7 [CloverHearts] change for - variable name
38d70b4 [CloverHearts] Support Firefox
ba7ca8e [CloverHearts] Fixed Table Header
@corneadoug
Copy link
Contributor

@cloverhearts I just merged #554, since those two PRs are making changes on the same component, could you rebase this PR so that we can check that everything still work?

@cloverhearts
Copy link
Member Author

@corneadoug okay.

@cloverhearts
Copy link
Member Author

@corneadoug
Sorry. I tried to test with the #554 and #556.
#556 is a single action results, it was confirmed that #554 is not running.
I want to create a separate PR or to fix a problem in this area, or seems to need to upload the modified code to the current PR.

I'm sorry to bother you.

@corneadoug
Copy link
Contributor

@cloverhearts don't really understand, but to rebase you need to do:

git fetch incubator-zeppelin
git rebase incubator-zeppelin/master
git pull -f (after fixing potential conflicts)

HeartSaVioR and others added 3 commits December 21, 2015 11:31
Just modifying doc so I don't file a new issue to JIRA.

Author: Jungtaek Lim <kabhwan@gmail.com>

Closes #545 from HeartSaVioR/fix-typo-from-rest-notebook and squashes the following commits:

bf27a98 [Jungtaek Lim] re-fix wrongly fixed grammar
caf65e5 [Jungtaek Lim] fix typo / grammar from rest-notebook.md
@cloverhearts
Copy link
Member Author

rebase complete

@prabhjyotsingh
Copy link
Contributor

Wired bug, scroll dosent show after running the paragraph. Happens in all the browsers.

scroll not shown after running paragraph

Apart for this, works good, tested on IE10, FF, Chrome and Safari.

@cloverhearts
Copy link
Member Author

@prabhjyotsingh
Thank you good feedback.
I know that this is a bug.
This bug is that I created a PR and is unrelated to a bug, the bug that already exist in the past.
But I have an idea to fix this bug.
I hope to create a new PR after fix this bug.

@cloverhearts
Copy link
Member Author

I close this PR.
And I will make a new PR fix the known bugs table.

asfgit pushed a commit that referenced this pull request Jan 3, 2016
### What is this PR for?
For Table, reimplemented, scrolling, deleting a bug in the Table Header, Scrolling area expressed bugs have been fixed.

### What type of PR is it?
Bug Fix

### Todos
- [x] \(Re-modification\) always top fixed column title for table
- [x] table scrolling bug fixed. out of area scroll
       #556
- [x] After the re-run, remove the scroll bar
- [x] License Infomation
  - [x] record the license information of jquery.floatThead.
- [x] Browser Test
  - [x] Safari (9.0.2(11601.3.9)
  - [x] Firefox (43.0)
  - [x] Chrome (47.0.2526.106 (64-bit)

### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-523
### How should this be tested?
Step 1. create table on zeppelin
           example query)
``` python
%pyspark
TABLE = "%table Header1\tHeader2\n"
for x in range(1,51):
    #TABLE +=  "scroll";
    TABLE +=  str(x);
    if (x%2) == 0:
        TABLE += "\n"
    else:
        TABLE += "\t"
z.put("table_context", TABLE)

```
``` scala
println(z.get("table_context"))
```

Step 2.
Scroll the mouse over the Table.

Step 3.
re Run Paragraph.

Step 4.
Scroll the mouse over the Table.

### Screenshots (if appropriate)

#### Before
![before](https://cloud.githubusercontent.com/assets/10525473/11911933/4cf27744-a5dc-11e5-8f45-e1e15e532de9.gif)

#### After
![bug_fix_table_sc](https://cloud.githubusercontent.com/assets/10525473/11952384/a05a8238-a84c-11e5-9706-3412f96a81ea.gif)

### Questions:
You are using an external source?
\- I used jquery.floatThead (MIT) Libraries.
  It helps to secure the Table Header.
Why did this problem occur?
\- ref. https://github.com/noraesae/perfect-scrollbar#how-to-use perfect scrollbar library.
  height calculation miss.
Why it has created a new PR?
\- A problem with a private Git Repository to my mistakes.
  Please previous PR, see the following URL.
  #556
In the ScreenShot, it seems to have changed color table. What changed things?
\- no. It's Animated Gif color problems.
  Changes that do not exist.

Author: CloverHearts <estail7s@gmail.com>

Closes #565 from cloverhearts/bug_fix/table_scrolling_and_hiding and squashes the following commits:

19621bf [CloverHearts] bug fix - Floating Thead corrected the problem does not go away.
350683e [CloverHearts] remove white space
4eb9546 [CloverHearts] Space remove. (Ci- build)
93ce86d [CloverHearts] changed Paragraph Gear Option z-index
a52e35e [CloverHearts] CI - BUILD Commit
ba165bf [CloverHearts] variable name change
f8123c5 [CloverHearts] Fixed scrollbar when the first Mouseover does not appear in the Table.
bf16e1a [CloverHearts] bug fixed visualize table component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants