-
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
html cards for people section #5169
Conversation
56fb2f6
to
4e5f061
Compare
Generated by 🚫 Danger |
@gauravano i tried the following to pass the tests How can I proceed to pass the tests. |
Hi, going to try to help with the errors too, but also wanted to say - this is very exciting! Thanks! I wonder if we can continue refining the card display even more; for example: Could we:
This is very cool! Its going to be awesome! |
Ok, do you think you could push up the tests you've written so far? Here are a few examples of some CSS stuff you can https://github.com/publiclab/plots2/blob/master/test/functional/notes_controller_test.rb#L56-L57 https://github.com/publiclab/plots2/blob/master/test/functional/notes_controller_test.rb#L157-L158 I hope this helps! |
Hi @jywarren. Thanks for the help. I'll follow the methods in links. Regarding the cards,I was thinking of making basic layout first and then refining them but now that you've mentioned I'll make them look more like the ui in the design given. |
Hi @jywarren and @gauravano For now, I went for the ui of card in the above comments. |
Lol! both of them are awesome! I can't choose one 🙈. Let's ask @publiclab/community-reps |
Although, have you implemented 2nd one on the website, yet? |
Hi @gauravano |
Hi again @jywarren @gauravano , |
e326116
to
a40a00e
Compare
This is looking amazing! However, I maybe want to caution that it could be better to work in smaller pieces -- you've done some great work here, but while we could have merged the card UI now, we should take a few other steps on the other parts, before merging. So, since it's all in one PR, we will need to hold a little bit. Doing it in smaller parts is also great for sharing the work among people! But that's OK this time, just a note for next time! 🙌 👍 🎉 Note a few things here. The UI you've done is super. Now take a look at this screenshot of the existing: What we should think about is:
What do you think? Thank you @CleverFool77 !!! This is very cool! |
Hi @jywarren I started off with basic card-layout in this PR but as I proceeded to make the card look like the provided ui by team. It itself turned into this. Thanks !!!!! |
hi @jywarren @gauravano |
Hi @jywarren @gauravano , |
This looks really good!!! I am wondering, if it's possible to wait until after we merge the giant #3937 Bootstrap 4 upgrade, and then be sure this works on Bootstrap 4 styles too? What do you think? We're trying to all collaborate on identifying the final issues with the upgrade in this issue: #5182 |
I think we should merge #3937 first. |
OK! #3937 was merged!!!!! @CleverFool77 would you want to try updating over that change and ensuring Bootstrap 4 compatibility? Thank you!!! |
Hi @jywarren |
No rush!!! Best of luck for your exams |
There are some conflicts in your pr. It will be great if you can rebase your pr whenever you are free. |
Hi, |
This is looking great. Can you share a screenshot? Thanks!! |
Hi @jywarren
AdminUser |
a17f7ec
to
6f4d53a
Compare
Oh cool! Let's leave the map as is for now, as we may want to reconfigure a
little bit later with more guidance from the style guide. I think the card
layout could also try to get closer to the style guide designs although the
style guide is not actually yet written in bootstrap... so that'll be an
ongoing process.
Finally, the margins look ok to me. Thanks!!
…On Thu, May 9, 2019, 11:31 AM Lekhika Dugtal ***@***.***> wrote:
Hi @jywarren <https://github.com/jywarren>
I need some suggestions regarding following points -
- The side margins. It should be decreased ?
- The cards look elongated vertically.
- Make map sticky ?
[image: people]
<https://user-images.githubusercontent.com/26685258/57465791-fad15c00-729c-11e9-9786-cb883cf7d67e.gif>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J7F3MP562UQH4QRITTPUQ7SXANCNFSM4G7NIRIA>
.
|
Hi @jywarren |
Sure, we can work towards the style guide incrementally, and also see as it
gets finalized. In general, i'm thinking that just a bit less padding
inside the cards would be helpful. And we can work on the column spacing
later as well. Thanks!
…On Thu, May 9, 2019 at 1:16 PM Lekhika Dugtal ***@***.***> wrote:
Hi @jywarren <https://github.com/jywarren>
I went through style guide link.
The Design seems bit different. It's not two equal column anymore. And few
other changes.
And regarding the card too. There were two card design. On the basis of
conversation happened above in this PR. I started working on vertical one.
So Should I go for horizontal one ?
Should I do it like as it's mentioned in style guide ? or should I just
wait for sometime as there would be many more suggestions and changes in
style guide, I guess.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J7QDKBGIYY3CP3MM2DPURL3HANCNFSM4G7NIRIA>
.
|
This looks great! I'll merge this once it passes. Thanks a lot, @CleverFool77 !!! |
Fixes #4922 (<=== Add issue number here)
Earlier Description
People page will be redesigned soon. And one the requirements was that all the users should be listed down in grid card format instead rows in table. I started off with the basic structure of cards for users. And soon the further improvements will be done.Update
This is the new redesign of people's page.
I made it two column and map on right. The map remain stick on scrolling.
I showed the users on left
On md and lg scrrens -
On small screens -
rake test
@publiclab/reviewers
for help, in a comment belowThanks!