-
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
Create separate partial for sidebar map and add it in questions #7607
Conversation
@nstjean @publiclab/reviewers can you kindly review? Thanks ✌️ |
Codecov Report
@@ Coverage Diff @@
## master #7607 +/- ##
=======================================
Coverage 81.90% 81.90%
=======================================
Files 97 97
Lines 5615 5615
=======================================
Hits 4599 4599
Misses 1016 1016 |
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.
This looks great!! Fantastic!
On the questions page should we move the map/map button above "Related questions"? I'm thinking it should probably be up above.
@nstjean Have made the changes! Can you kindly review again? Thanks ✌️ Here is the screenshot Also opening a new issue to fix the spacing between related questions and map elements. |
That was quick! Can we get a screenshot after the changes? |
Yeah @nstjean screenshot is updated in the comment above.Thanks for the quick review ✌️ |
@@ -24,13 +24,13 @@ | |||
<% end %> | |||
<% end %> | |||
|
|||
<%= render partial: "sidebar/map" %> | |||
<%= render partial: 'sidebar/notes', locals: { notes: @notes, title: "Related Questions", node: @node } %> |
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.
We are going to need a margin or some other gap between these two partials, sidebar/map and sidebar/notes. They are squished together!
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.
@nstjean Have updated the pr 😄 Can you kindly review again? Thanks ✌️ Here is a ss of the change -
@cesswairimu the same issue with Travis like the one in #7611. |
@nstjean can you kindly review? Thanks ✌️ |
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.
Thanks for the update! I still feel like it looks a bit confusing and needs more whitespace between the "learn about location privacy" and "Related Questions", we we make it bigger?
3a58034
to
420762c
Compare
@nstjean Thanks for the suggestion 😄 Have updated the pr ✌️ Here's a screenshot of the same- |
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.
Looks great, thank you!!
@cesswairimu @jywarren can you kindly review? Thanks ✌️ |
Thanks @nstjean ans @Tlazypanda 🎉 🎉 |
Fixes #7561
Separate partial created for sidebar map and imported in questions and notes sidebar code.
rake test
@publiclab/reviewers
for help, in a comment belowScreenshots
Thanks!