dukechronicle / chronline

The official repository for the Duke Chronicle website
http://www.dukechronicle.com
202 stars 21 forks source link

Photoshelter Galleries #156

Closed tylernisonoff closed 10 years ago

jimpo commented 10 years ago

Before pushing to production, I want to consolidate all migrations into one. It's just a matter of recreating your local database.

jimpo commented 10 years ago

Change the Photos link on the nav.

tylernisonoff commented 10 years ago

That protip was too good not to use

jimpo commented 10 years ago

You should parse out the dates from the titles and let them edit both. The titles are pretty ugly right now.

jimpo commented 10 years ago

Since the thumbnail sizes/ratios are all different, instead of a row layout, you might want to try using masonry. I think it will look better.

tylernisonoff commented 10 years ago

RE: You should parse out the dates from the titles and let them edit both. The titles are pretty ugly right now.

What do you mean by edit both?

jimpo commented 10 years ago

From the admin interface they should be able to edit both the gallery title and the gallery date. Though now that I look at is, is the date in the title the same as the uploaded_at date?

tylernisonoff commented 10 years ago

Right now we aren't grabbing the uploaded_at, I've just been using created_at - should we add another date field to galleries?

On Thu, Jan 2, 2014 at 6:04 PM, Jim Posen notifications@github.com wrote:

From the admin interface they should be able to edit both the gallery title and the gallery date. Though now that I look at is, is the date in the title the same as the uploaded_at date?

— Reply to this email directly or view it on GitHubhttps://github.com/dukechronicle/chronline/pull/156#issuecomment-31492865 .

jimpo commented 10 years ago

Yes, probably. Ask Thanh-ha.

jimpo commented 10 years ago

I realized you probably want to use slugs for galleries for SEO reasons.

tylernisonoff commented 10 years ago

Okay I'll add that to the list

Edit - resolved On Sun, Jan 12, 2014 at 9:12 PM, Jim Posen notifications@github.com wrote:

I realized you probably want to use slugs for galleries for SEO reasons.

— Reply to this email directly or view it on GitHubhttps://github.com/dukechronicle/chronline/pull/156#issuecomment-32141687 .

jimpo commented 10 years ago

80 characters per line max! (except in HAML)

jimpo commented 10 years ago

Why are there so many updated gems in the Gemfile.lock? Are they all tested/safe?

jimpo commented 10 years ago

Are you able to determine the widths/heights of images statically and add them as an attribute on tags? It helps when rendering the page.

tylernisonoff commented 10 years ago

About the gemfile.lock - I don't know why this changed so much

jimpo commented 10 years ago

I'm nervous about the Gemfile. Run

$ git checkout HEAD Gemfile.lock
$ bundle install
tylernisonoff commented 10 years ago

I checked out Gemfile.lock from Rodgers discussion board merge and then ran bundle install

jimpo commented 10 years ago

LGTM