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

FIX: Social icons alignment on PL posts #7611

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

Tlazypanda
Copy link
Collaborator

Fixes #7608

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

Screenshots

Screenshot from 2020-03-08 21-43-54

Thanks!

@Tlazypanda
Copy link
Collaborator Author

@VladimirMikulic @publiclab/reviewers can you kindly review? Thanks ✌️

@codecov
Copy link

codecov bot commented Mar 8, 2020

Codecov Report

Merging #7611 into master will increase coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7611      +/-   ##
==========================================
+ Coverage   81.90%   82.03%   +0.12%     
==========================================
  Files          97       97              
  Lines        5615     5615              
==========================================
+ Hits         4599     4606       +7     
+ Misses       1016     1009       -7     
Impacted Files Coverage Δ
app/api/srch/search.rb 69.28% <0.00%> (+3.92%) ⬆️
app/services/execute_search.rb 94.44% <0.00%> (+5.55%) ⬆️

@Uzay-G
Copy link
Member

Uzay-G commented Mar 8, 2020

I am not sure we should put it also in the sidebar. In the picture, you can see that now there are two areas with social links. What do you think?

Copy link
Contributor

@VladimirMikulic VladimirMikulic left a comment

Choose a reason for hiding this comment

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

@Tlazypanda I've immediately noticed that Twitter icon is not vertically aligned with other icons. Could you fix this and add the mobile screenshot of this change as well? Thank you for your awesome work 🚀

@VladimirMikulic
Copy link
Contributor

VladimirMikulic commented Mar 8, 2020

@Uzay-G I agree. Having social icons on 2 places is redundant. Anyways, the Twitter icons should be vertically centred like others.

@Tlazypanda
Copy link
Collaborator Author

@VladimirMikulic yeah noticed the same was about to open an issue for it ...should I open a separate pr for this since this requires change in home/social partial which is rendered in multiple places? And should I close this pr if it is redundant 😅 Thanks ✌️

@VladimirMikulic VladimirMikulic changed the title add social links to questions sidebar FIX: Social icons alignment on PL posts Mar 8, 2020
@VladimirMikulic
Copy link
Contributor

@Tlazypanda I renamed this PR accordingly, you don't need to open another PR, just continue on this one :)

@Tlazypanda
Copy link
Collaborator Author

@VladimirMikulic is this alright? 😅
image

Copy link
Contributor

@VladimirMikulic VladimirMikulic left a comment

Choose a reason for hiding this comment

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

@Tlazypanda perfect!

@Tlazypanda Tlazypanda force-pushed the social_link_question_sidebar branch from c9fc620 to 1d095bf Compare March 9, 2020 13:17
@VladimirMikulic
Copy link
Contributor

@cesswairimu cesswairimu added the hold Holding this until issue that depends on it is fixed/ waiting for confirmation if feature is needed label Mar 9, 2020
@Tlazypanda
Copy link
Collaborator Author

@cesswairimu @VladimirMikulic should I remove adding the social links to sidebar and just fix the alignment of twitter icon in this pr? 😅

@VladimirMikulic
Copy link
Contributor

@Tlazypanda it's totally fine. You don't need to remove anything. We don't want a PR flood :)

@Tlazypanda
Copy link
Collaborator Author

@cesswairimu can we just do the twitter alignment only for this pr? 😅

@cesswairimu
Copy link
Collaborator

Yeah we can do that @Tlazypanda, change the issue desc or create a new issue and remove the other code in this PR. Thanks

Copy link
Member

@jywarren jywarren left a comment

Choose a reason for hiding this comment

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

Nice!!! 🎉

@jywarren
Copy link
Member

I think the system test issue in #7562 may be affecting the system tests here too...

Log excerpt here:

[0309/132027.199397:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 11
[0309/132027.205587:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 5
[0309/132029.647725:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 7
[0309/132029.649385:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 15
[0309/132046.538641:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 19
[0309/132048.041836:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 43
[0309/132058.126726:WARNING:spdy_session.cc(3180)] Received HEADERS for invalid stream 59
2020-03-09 13:21:02 +0000: Rack app error handling request { DELETE /tag/delete/11/40 }
Mysql2::Error

I'm restarting it though to try to get it to pass...

@Tlazypanda
Copy link
Collaborator Author

@cesswairimu @jywarren issue description changed and pr unrelated changes removed ..ready for a review ✌️

@jywarren
Copy link
Member

Awesome!!! Thanks!

@jywarren jywarren merged commit 4bf071e into publiclab:master Mar 26, 2020
icarito pushed a commit that referenced this pull request Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold Holding this until issue that depends on it is fixed/ waiting for confirmation if feature is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Social icons alignment is not proper in sidebar
6 participants