StartupWichita / startupwichita.com

A community site for bringing connection and awareness to the Tech and Startup Communities in Wichita
MIT License
5 stars 31 forks source link

Images for Events and News #86

Open kentonh opened 7 years ago

kentonh commented 7 years ago

Add ability to upload images to News and Events Add Images to Index and Show views

Make Article URL attribute first on the form

News and Events should pull Social Graph data from URL Pull image, summary, and title information

Populate the rest of the form with Social Graph Information, but allow edits by the user

lafentres commented 7 years ago

@kentonh, I'd like to try this one as well.

kentonh commented 7 years ago

@lafentres have at it and thanks for the help! With as much as you've contributed to this app, you should register for the Wichita Hacktoberfest. Might as well get a free shirt and stickers out of the deal.

kentonh commented 7 years ago

whoops. reopened

lafentres commented 7 years ago

@kentonh, I believe I addressed everything in the pull request I just submitted except for the last part. Can you explain what you mean by "Populate the rest of the form with Social Graph Information, but allow edits by the user" ?

I am pulling everything from information on the event or news item currently. If the event/news item has an image, I use that for the social sharing tags, otherwise I just use the logo. I use the title and content to populate the title and description social sharing tags.

(I'm definitely checking out the Wichita Hacktoberfest as well. Thanks for the tip!)

kentonh commented 7 years ago

What I meant with the Social Graph population was to pre-fill the forms with the information provided by the metadata from Social Graph. Does that make more sense?

lafentres commented 7 years ago

I think so. If I am understanding correctly, you'd like part of the form for creating/editing an event or news item to include fields to edit the social sharing info (which would be the social sharing title and description [unless you'd also like the social sharing image to potentially be different from the image associated with the event/news item?]). And those fields should be pre-filled with the defaults. Is that correct?

kentonh commented 7 years ago

I think I've done a bad job at describing what I'm going for. Soooo. I'll start over! Forget everything I've said up to this point.

What I'm proposing is:

  1. When a link is posted, the app would acquire the metadata associated with the link (if there is any)
  2. The app would pre-fill the submission form with the data. (Image, Title, Description)
  3. At that point a User could simply save the News/Event or make changes/additions to the data collected.

Basically, this would let lazy people post on easy mode by simply submitting a link, and the app takes care of the rest.

lafentres commented 7 years ago

I get what you mean now. That makes total sense. I'll start working on this.