Skip to content
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

Remove "Show More" button from tables #10891

Merged
merged 8 commits into from
Apr 12, 2022
Merged

Conversation

Yavnikaa
Copy link
Contributor

@Yavnikaa Yavnikaa commented Apr 1, 2022

Fixes #10817

@gitpod-io
Copy link

gitpod-io bot commented Apr 1, 2022

@Yavnikaa
Copy link
Contributor Author

Yavnikaa commented Apr 1, 2022

Any idea why are the unit-tests failing? What do i do to prevent it?

@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/5890500484/artifacts/199277576

I wasn't sure about the 5 to 3 part, and has changed the z-index right now, as it was the only plausible change I could figure out.
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/5921524779/artifacts/202350776

@Yavnikaa
Copy link
Contributor Author

Yavnikaa commented Apr 4, 2022

@TildaDares I have updated and now the checks are passing. Please let me know if it is good to merge now! :')
Is there any other issue I can take up now?

@Yavnikaa
Copy link
Contributor Author

Yavnikaa commented Apr 4, 2022

Sorry for the confusion. I hope this is correct now!
Pls let me know if there is any other issue I could work on.

Edit: Ahh, alot of checks are failing now :(. How to resolve and where can I see the error log?

<style>
th {
position: sticky;
top: 0;
z-index: 5;
z-index: 3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yavnikaa We don't need this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated that.
As per your previous comment, I figured out that I need to change the file test/unit/node_shared_test.rb , and replace 5 by 3. But I don't understand how did removing show more bring about these tests failing. Can you help me with this, and am I doing it right as per the error log in the comment?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I don't understand how did removing show more bring about these tests failing.

All those tests that are failing count the number of a specific class name in the code. When you removed the JavaScript code, some of those classes were also removed. That's why we have to update the number from 5 to 3.

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/5926511456/artifacts/202648046

@jywarren
Copy link
Member

jywarren commented Apr 5, 2022

Hi @Yavnikaa it looks like there are just a few more places to make this change in test/unit/node_shared_test.rb -- see the errors starting on this line:

https://github.com/publiclab/plots2/runs/5821145214?check_suite_focus=true#step:5:81

Do you think you can make the additional changes? then this should be all good, thank you so much!

@codeclimate
Copy link

codeclimate bot commented Apr 8, 2022

Code Climate has analyzed commit 09c8fa4 and detected 0 issues on this pull request.

View more on Code Climate.

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here:
https://github.com/publiclab/plots2/suites/5985134542/artifacts/206225375

@Yavnikaa
Copy link
Contributor Author

Yavnikaa commented Apr 8, 2022

I think it works fine now @TildaDares and @jywarren . Can this be merged now?
Also, while I am working on my proposal, can I be assigned some other task to execute if this one is complete from your end too?

Copy link
Member

@TildaDares TildaDares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @Yavnikaa. Thank you!!!

@TildaDares
Copy link
Member

I think it works fine now @TildaDares and @jywarren . Can this be merged now? Also, while I am working on my proposal, can I be assigned some other task to execute if this one is complete from your end too?

@Yavnikaa You can look for issues with the help-wanted or bug tag or create FTOs for another first-timer.

@jywarren jywarren merged commit 68eafcb into publiclab:main Apr 12, 2022
@jywarren
Copy link
Member

Great work, thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Show more" button on tables of notes not useful any more; adapt or remove
3 participants