Coder Social home page Coder Social logo

Comments (17)

JakeBrand avatar JakeBrand commented on August 16, 2024

Seems like this is a good place for me to start (in 45 min when my guest is gone for the weekend).
It looks like I'll be working off the dashboard branch as that's quite recent. Any advice in the next 45 min will be appreciated.

from cmput410-project.

zturchan avatar zturchan commented on August 16, 2024

Yup, dashboard branch is what you'll want to work in. I'm gonan try poking at getting the posted post to be viewable on the stream now, which would probably be needed for comment stuff to be working.

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Probably not a good idea. I cleaned it up a little but you'll need to merge it in #36.

I ran a ton of use cases by it to make it more stable.

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Comments are dependent on that posts are displayed.

There is still #17, #18, #9 (You need to map to a images startapp that will return the image data based on the settings of the post and the user logged in),

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Oh, and there are a ton of tests we need written as well

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Just give me 30 minutes to include the templates for you guys to use and work with

from cmput410-project.

zturchan avatar zturchan commented on August 16, 2024

ok sounds good

Zak Turchansky

On Sun, Mar 8, 2015 at 3:45 PM, Kyle Richelhoff [email protected]
wrote:

Just give me 30 minutes to include the templates for you guys to use and
work with


Reply to this email directly or view it on GitHub
#13 (comment)
.

from cmput410-project.

JakeBrand avatar JakeBrand commented on August 16, 2024

OK. Then I'll start looking at tests for now. That should be independent of the work you guys are doing.
Should I still be working off a branch from dashboard?

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Nope. Everything is merged except for my stream branch which is almost setup.

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Okay, done. I built a basic posts template in templates/posts/all.html

Check out the branch "stream"

The idea is you always want to set posts to something and iterate over it. I put in the image url as well because that can be confusing.

from cmput410-project.

zturchan avatar zturchan commented on August 16, 2024

Thanks for the template Kyle. I can implement that to make the posts show up if you'd like, or had you planned on doing that?

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Nope. That was for you guys. I'm probably done for tonight.

from cmput410-project.

zturchan avatar zturchan commented on August 16, 2024

Alright sounds good ^_^

Zak Turchansky

On Sun, Mar 8, 2015 at 5:44 PM, Kyle Richelhoff [email protected]
wrote:

Nope. That was for you guys. I'm probably done for tonight.


Reply to this email directly or view it on GitHub
#13 (comment)
.

from cmput410-project.

JakeBrand avatar JakeBrand commented on August 16, 2024

I feel close, but I couldn't do it.

  1. Comments are not showing up under posts on the dashboard
  2. When they do they will be linked manually to the title of a post, so find the guid of the post and use it instead of the title to create and reference comments
  3. The single "Add" button is currently hooked up to the new_comment function, that too is not acceptable. The post-specific "Add Comment" buttons should allow the form to appear in a new div and collect the comment text, then another submit button (on that form) should call the new_comment function

once these three things are working I think it's presentable.
Good night and good luck.

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

I cleaned up the comments branch, working on getting it to work now.
Image of work

from cmput410-project.

grepme avatar grepme commented on August 16, 2024

Works now. The comment model, since it was a foreign key means that it exists on the post model with a "comment_set" attribute, which you can then call get, all, etc.
Works!

from cmput410-project.

JakeBrand avatar JakeBrand commented on August 16, 2024

As was the branch was merged and still seems to be working I'm closing this issue.

from cmput410-project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.