Giter Site home page Giter Site logo

bb-ng's People

Contributors

jaehue avatar meoooh avatar nacyot avatar rorlab avatar spearsky avatar subicura avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bb-ng's Issues

[bug] 코멘트 삭제 관련

https://github.com/subicura/bb-ng/blob/master/app/scripts/controllers/app/group/timeline/comment.js#L51 에서 idx는 view(https://github.com/subicura/bb-ng/blob/master/app/views/app/group/timeline/comment.html#L15) 의 ngRepeat에서 제공하는 $index(iterator offset of the repeated element)이 정확히 넘어오는데,

$scope.bookkeeping_comments.comments 배열이 view에서 보이는것과 똑같이 정렬된 상태가 아니라서 다른 객체가 삭제되는 버그가 있습니다.

n-1의 페이지를 모두 삭제했을때 n페이지를 불러오지 않는 현상

n-1의 페이지를 모두 삭제했을때 n페이지를 불러오지 않는 현상

댓글이

1, 2, 3, 4, 5, 6이 있을때

최초에 페이지에 접속하면

1, 2, 3만 보이게 됩니다.(더보기 누르기 전)

그리고 더보기가 가리키는 next는 2를 가리키게 되죠.

이 상태에서 1, 2, 3을 모두 지우고

더보기를 누르면 4, 5, 6은 출력되지 않습니다.

그 이유는 더보기 할때마다 요청을 하는데,

1, 2, 3, 4, 5, 6이 있을때는 두개의 페이지였기때문에

최초에 페이지 로드시 더보기버튼의 next는 2로 세팅이 되었습니다.

하지만 1, 2, 3을 모두 지웠을땐 지움과 동시에 서버에도 반영되므로

서버엔 1페이지만 존재합니다.

하지만 더보기를 클릭했을때 2페이지를 요청하므로 아무런 데이터도 오지 않는 버그가 있네요...

오늘 내로 수정하겠습니다...

풀리퀘 날린지 몇초 됐다고 ㅡㅡ;;

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.