-
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
Add More Imagery to Dashboard #9708
Add More Imagery to Dashboard #9708
Conversation
Codecov Report
@@ Coverage Diff @@
## main #9708 +/- ##
==========================================
- Coverage 82.11% 82.07% -0.05%
==========================================
Files 98 98
Lines 5982 5940 -42
==========================================
- Hits 4912 4875 -37
+ Misses 1070 1065 -5
|
Unstable site https://unstable.publiclab.org/v2/dashboard |
Wow Ruth this is so cool! I'm thinking the CSS margins/padding/font size may need a little refinement, so i gave it a try; what do you think: .card-view .card-body p {
margin-bottom: 10px;
}
.card-view .card-body h5 {
font-size: 1.2em;
}
.card-view .card-body {
font-size: 0.85em;
/* padding-bottom: 4px; */
/* padding-top: 6px; */
} I also see it kind of hitting the right side of the card. We could add padding, but would it work better to use the container grid system in Bootstrap? But you probably know better. |
Is it possible to get the cards to not overlap each other horizontally, as well? |
Thanks for this @RuthNjeri it's so cool!! |
I think this is so close - we can do a few things -- collect input from staff, OR maybe we can just make this toggle-able -- what do you think? Let me ask staff if they think this should be something that can be toggled, vs. just liking this as-is and going for it! |
Hi @jywarren 👋🏾 Thanks! Yeah, we could wait to hear what the staff says and proceed from there, thanks. |
I just have to write in here to say THIS IS AWESOME |
Sorry, Sebastian pushed to unstable so I wasn't able to see. I'll try in gitpod! |
Main thing is I want to ensure it loads one-above-the-other nicely on smaller screens! |
I think this is /almost/ there. I did find a couple break points at which the wrapping gets a little... weird. 😭 1010px wide: 931px wide (notice spacing between the posts is now missing): 655px - we'd like them to become full width to fill available space once it's this narrow: @RuthNjeri i wonder if a) we should revert to the Bootstrap grid to fix this? I'm more familiar with it than grid sizing. and b) if you're interested in getting support from perhaps Manasa or Sushmita who are looking for adjacent projects to get into? Either way is fine, just an idea! |
Hi, @jywarren I would be happy to receive support on this from Manasa or Sushmita. I think it's also best to add more people working on the |
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.
Hey @RuthNjeri this is looking awesome 🎉 💯
Looping in @17sushmita and @Manasa2850 if you folks have any time aside from your projects would really appreciate you to look into this. A good way would be to pull from @RuthNjeri branch and add your changes on top of it. Thank you all!! ❤️ cc @jywarren
@Manasa2850 was this a project you were interested in taking up, do you think? No pressure but it's available and is one of the last remaining changes to the new dashboard we're working on. Thanks! |
Hey @17sushmita @Manasa2850 if you are interested please have a look ✌️ |
OK! I rebased, made some small changes, and tested at different widths, and I think we are OK here, fingers 🤞 |
Code Climate has analyzed commit 41bcba1 and detected 0 issues on this pull request. View more on Code Climate. |
* add more imagery to dashboard * fixed image size height * fix image block * add more card styling * fixed padding * timeframe fix Co-authored-by: jywarren <[email protected]>
Fixes #8967
Change the topic cards view in /v2/dashboard to design suggested by @ebarry
Design
Before
After
Thanks!