Coder Social home page Coder Social logo

More Comments quirk. about draw HOT 4 CLOSED

draw-dev avatar draw-dev commented on July 1, 2024
More Comments quirk.

from draw.

Comments (4)

StefanLobbenmeier avatar StefanLobbenmeier commented on July 1, 2024

I noticed as well. As far as I know, that is basically the reddit Api telling the Reddit app to display the rest of the comments in a new separate window. You can also notice that the more comments that expands into these „weird“ comments has a count of 0

from draw.

bkonyi avatar bkonyi commented on July 1, 2024

Yeah, I'm pretty sure this is just how the Reddit API does things. Has this been causing any issues for you in the context of DRAW or is this just something you've noticed @donovanrost? I know I've run into it while working on MoreComments but I was pretty sure everything was working as intended last I checked (it has been awhile though...).

from draw.

donovanrost avatar donovanrost commented on July 1, 2024

I was wondering, does it make sense (in the context of DRAW) to handle this case as a separate class since the intent behind MoreComments is to get more replies. But this case should be to continue a thread. And since there is unexpected behavior i.e., this case showing 0 comments, when there are actually comments

from draw.

bkonyi avatar bkonyi commented on July 1, 2024

I was wondering, does it make sense (in the context of DRAW) to handle this case as a separate class since the intent behind MoreComments is to get more replies. But this case should be to continue a thread. And since there is unexpected behavior i.e., this case showing 0 comments, when there are actually comments

I don't think it would make sense to make this a separate class, simply because MoreComments is what Reddit returns for both cases. I've gone ahead and added a couple of properties to MoreComments and updated documentation that should make things less confusing.

from draw.

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.