-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Integrating Simple-Data-Grapher with Plots2 #5993
Conversation
I would be needing some help here to resolve the errors which are bound to come in! Thanks a lot! |
Hi @IshaGupta18 Isha, I wanted to ask that Regarding UI, Are you planning redesign or small fixes ? |
@CleverFool77 I don't plan to completely redesign the |
Sure!!!!!! I'll try fetch this locally and try it and then tell you 🐙 |
Hi @IshaGupta18 ! Your code looks great to me, except for some minor things like variable names. Do let me know if you need some help. Thanks! |
Can someone help me here with the travis issues? @jywarren @gauravano ? |
Hi @IshaGupta18 what exactly is the problem with the travis? |
Also, It would be really nice if there is a button for the data files than going to that link through the browser. What do you think about this @IshaGupta18? |
Yes this has to be done, I wanted an opinion on where exactly should I
create that button. On the profile page or somewhere else in the
data-grapher?
…On Tue, Jul 9, 2019, 12:32 PM Sourav Sahoo ***@***.***> wrote:
Also, It would be really nice if there is a button for the data files than
going to that link through the browser. What do you think about this
@IshaGupta18 <https://github.com/IshaGupta18>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5993?email_source=notifications&email_token=AJXHQZ5EWWOO4WANZ4DWUTDP6QZYXA5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPJYZY#issuecomment-509516903>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJXHQZ4MVNBFWM2VS4R2W2LP6QZYXANCNFSM4H64T5EQ>
.
|
I am unable to understand the logs, can you please check them out?
…On Tue, Jul 9, 2019, 12:27 PM Sourav Sahoo ***@***.***> wrote:
Hi @IshaGupta18 <https://github.com/IshaGupta18> what exactly is the
problem with the travis?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5993?email_source=notifications&email_token=AJXHQZ4NDPEBKDCT3CENEVDP6QZFTA5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPJNJA#issuecomment-509515428>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJXHQZ4TIKA27A3TZKPJJALP6QZFTANCNFSM4H64T5EQ>
.
|
I think it would be better on the data-grapher itself for now. Later it can be placed on the profile page also. |
Sure thing!
…On Tue, Jul 9, 2019, 12:42 PM Sourav Sahoo ***@***.***> wrote:
I think it would be better on the data-grapher itself for now. Later it
can be placed on the profile page also.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5993?email_source=notifications&email_token=AJXHQZ5XHWONMATFGAENNTTP6Q26LA5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPKQBQ#issuecomment-509519878>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJXHQZ7EMTDFCROWM2C4YU3P6Q26LANCNFSM4H64T5EQ>
.
|
What about the travis and codeclimate issues? |
Can we please try and fix them up soon so that the integration can be checked out? Thanks a lot everyone! |
Hi @jywarren Does code climate doesn't check for linting ? Though it has been resolved now but earlier when there are were spacing and other stuff, it didn't seem to catch it. And this seems to be happening in other PRs too. Should we add a new linter ? |
The name of the input box changes to the file's name so we know it's here,
and then upload takes us to the table.
…On Sat, Jul 27, 2019, 12:08 AM Lekhika Dugtal ***@***.***> wrote:
Hi @IshaGupta18 <https://github.com/IshaGupta18> As soon as we upload the
csv file, How do we know that its uploaded ? Or just by clicking upload
button, we directly go to table ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5993?email_source=notifications&email_token=AJXHQZ3RPL4ATXUZE5342RDQBNAB5A5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD25MSWQ#issuecomment-515557722>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJXHQZ6P32ICPV26FH65UBTQBNAB5ANCNFSM4H64T5EQ>
.
|
Ohh if the name changes to filename, then its cool then.
Thanks!!
…On Sat, 27 Jul 2019, 00:13 Isha Gupta, ***@***.***> wrote:
The name of the input box changes to the file's name so we know it's here,
and then upload takes us to the table.
On Sat, Jul 27, 2019, 12:08 AM Lekhika Dugtal ***@***.***>
wrote:
> Hi @IshaGupta18 <https://github.com/IshaGupta18> As soon as we upload
the
> csv file, How do we know that its uploaded ? Or just by clicking upload
> button, we directly go to table ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#5993?email_source=notifications&email_token=AJXHQZ3RPL4ATXUZE5342RDQBNAB5A5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD25MSWQ#issuecomment-515557722
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AJXHQZ6P32ICPV26FH65UBTQBNAB5ANCNFSM4H64T5EQ
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5993?email_source=notifications&email_token=AGLS6SQFBIF2AJUBJ4JDQODQBNAWHA5CNFSM4H64T5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD25M7VQ#issuecomment-515559382>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLS6STAC6LXXWMMKQWFNZLQBNAWHANCNFSM4H64T5EQ>
.
|
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.
@IshaGupta18 You missed spacing around +
and some =
operators. Please add them.
Also can you post the screenshot with the error header?
@IshaGupta18 The screenshot with error header on the plots2 not the code. |
Do you mean a permalink? |
A screenshot of how the error will appear to user on the webpage. |
app/views/csvfiles/new.html.erb
Outdated
@@ -18,30 +18,30 @@ | |||
<script> | |||
var headerContainer = document.getElementsByClassName("body-container")[0]; | |||
SimpleDataGrapherObject = new SimpleDataGrapher("first"); | |||
var value='<%= current_user %>'; | |||
var value = '<%= current_user %>'; | |||
<% if current_user %> | |||
SimpleDataGrapherObject.view.createButtons("yes"); | |||
var saveButton = SimpleDataGrapherObject.view.elementId+"_save_CSV"; |
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.
missed space around +
operator here and the line below it.
To test the error block, you need to cause error first on purpose. This can be done by either changing ajax url to an incorrect url, or you can just turn off the server where the request is being sent. You can also provide incomplete data in the request. This will be a good test also to see if the error block is indeed getting executed on real errors. |
app/views/csvfiles/new.html.erb
Outdated
let divAlert = document.createElement('div'); | ||
divAlert.classList.add("alert"); | ||
divAlert.classList.add("alert-success"); | ||
divAlert.innerHTML = "File save successfully!"; |
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.
File saved successfully!
will better.
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.
That is a typo. apologies!
There is an inconsitency in the |
Thank you! Finally yayy! |
Screenshots 📸 (click to expand)5993-test_viewing_question_post.png5993-test_wiki.png5993-test_tag_page.png5993-test_blog_page_with_location_modal.png5993-test_login.png5993-test_wiki_page_with_inline_grids.png5993-test_questions.png5993-test_methods.png5993-test_tag_by_author_page.png5993-test_viewing_the_dropdown_menu.png5993-test_comments.png5993-test_stats.png5993-test_tags.png5993-test_people.png5993-test_front.png5993-test_signup.png5993-test_questions_shadow.png5993-test_blog.png5993-test_question_page.png5993-test_front_page_with_navbar_search_autocomplete.png5993-test_viewing_the_dashboard.pngLearn about automated screenshots Generated by 🚫 Danger |
@Anupam-dagar can you help me out with this error which has just occurred? |
@cesswairimu please help me here with the travis error, I am not sure what problem occured as I made no serious change! |
moved to #6113 |
This is the integration of simple-data-grapher with plots2
The user can save file and use it later
The user can associate information with the file he/she uploads
A per-user data page to display different files uploaded by the user, where the user can download, delete the files and view the information (title and description) they associated with it.
@jywarren @namangupta01 @IgorWilbert @Souravirus @gauravano This is pretty big and important pull, please give your reviews and let me know what else can be done!