Closed sudara closed 3 years ago
@ofsound Another one to check out here. The blank slate seems only happy in a .get_an_account_container
but I'm trying to add one to the users page. I think I inadvertently used the .get_an_account_container
class for the mass invites, which needs to change too. We also will need it blank slates working on the user home page and upload pages....
@ofsound Another one to check out here. The blank slate seems only happy in a
.get_an_account_container
but I'm trying to add one to the users page. I think I inadvertently used the.get_an_account_container
class for the mass invites, which needs to change too. We also will need it blank slates working on the user home page and upload pages....
I split up these responsibilities, so there's no more get_an_account anything.
.page_container_with_blank_slate is the class to modify a page container to include the fancy background.
One issue with this current implementation is that the background was designed to tuck underneath but still show around its following boxed content, on get_an_account and mass_edit. Maybe this page would call for a slight variation where the full cloud is visible and is completely above and clear from what's below it. As is, the blank slate implementation is linked to that background quirk.
Also, the sudara image, being not as tall as the ones previously used, leads to some un-ideal display states. I guess it's tempting to write a Javascript layout script which can use the aspect ratio of the desired image and the total height of the text included to better account for layout across all widths. They way that currently collapses at different widths using just CSS is sorta of hanging by the thread of having the images be like ALEC and the Text Content being about that length too.
I split up these responsibilities, so there's no more get_an_account anything.
Awesome!
One issue with this current implementation is that the background was designed to tuck underneath but still show around its following boxed content, on get_an_account and mass_edit.
Can we see what it looks like with the background tucked under the user grid? Might be fine...
I've added patrons to the db seeds (and more users generally). You can
bundle exec rake db:reset
Also, the sudara image, being not as tall as the ones previously used, leads to some un-ideal display states.
The image heights should be identical for all the contributor images (550px). Is it a problem that the widths are different? We could maybe make those consistent too, if so. Probably more ideal than working around with js.
Speaking of js, when switching between user pages on desktop I get flashes of (i think?) js resizing user images. I'm wondering if we can get rid of that jank somehow, maybe default to largest size?.... I'm going to add to the PR's todos...
@ofsound I added a "ben" blank slate on http://localhost:3000/upload to help test the blank slate stuff. You'll have to be on an account with 0 tracks (or temporarily remove the if statement)
@ofsound Ok, I should be done here with backend/seeds. You can run bundle rails db:reset
again to get the updated seeds after pulling.
There are a couple open frontend todos. Happy to help on anything...
I think the users not having any min height in css might be contributing to the flicker? This is how things load if i block the js...
Specs should be fixed....
A doozy! Nice werrrrrk. Going to merge this for now and we can followup with any details!
Resolves #1074 Resolves #971 Resolves #837
TODO:
Frontend
li.current > a
that looks the same asli.current
? Alternatively, we could disable the link there. I just thought it might be nice/expected as a shortcut to get back to page 1.Questions:
Extra credit:
page_nav_js
QA