#4525 Wiki discussion needs pagination controls

v1.0.0
closed
nobody
42cc (432)
Wiki
Cory Johns
2015-08-20
2012-07-11
No

Wiki (and perhaps other tools; need to check) that have threaded discussions that don't show all their posts, when the default limit is reached. It is then impossible to see all the posts.

See https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/Allura/allura/templates/widgets/thread_widget.html#l6 and https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/ForgeWiki/forgewiki/wiki_main.py#l38 If paging happens on Wiki discussions using the default 25 limit, the subsequent pages won't be shown. Paging happens whether you want it to or not: https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/Allura/allura/model/discuss.py#l265

The ticket tracker does pagination for its comments. Re-use as much as possible.

Related

Tickets: #4525

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-07-11
    • labels: --> 42cc

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
     Wiki (and perhaps other tools; need to check) that have threaded discussions that don't show all their posts, when the default limit is reached.  It is then impossible to see all the posts.
    
     See https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/Allura/allura/templates/widgets/thread_widget.html#l6 and https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/ForgeWiki/forgewiki/wiki_main.py#l38   If paging happens on Wiki discussions using the default 25 limit, the subsequent pages won't be shown.  Paging happens whether you want it to or not: https://sourceforge.net/p/allura/git/ci/7ffa92ac2b71a3c7247d44ef2c09bcd16f0b0375/tree/Allura/allura/model/discuss.py#l265
    +
    +The ticket tracker does pagination for its comments.  Re-use as much as possible.
    
     
  • Yaroslav Luzin - 2012-07-12

    created #113: [#4525] Wiki discussion needs pagination controls (2cp)

    • status: open --> in-progress
     

    Related

    Tickets: #4525

  • Yaroslav Luzin - 2012-07-12

    closed #113, changes are in 42cc_4525 branch

    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-13
    • qa: Cory Johns
     
  • Cory Johns - 2012-07-16
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-18
    • milestone: forge-backlog --> forge-jul-27
     

Log in to post a comment.