shinglyu / moztrap-new-ui

A new frontend UI for MozTrap that levarages on its REST API
10 stars 13 forks source link

Disable load more when nothing to load #89 #100

Closed hitripod closed 9 years ago

shinglyu commented 9 years ago

Great!

You might have to add hasNoLinkToShow: false to getInitialState() too, they are on line 120 and 125. (We should clean up the getInitialState()someday, the if is quite ugly`)

shinglyu commented 9 years ago

Opened a follow up bug #101

hitripod commented 9 years ago

Added. Thanks for reminding

shinglyu commented 9 years ago

Thanks for contributing

hitripod commented 9 years ago

Any API to get the total number of the query result? Pagination is indeed more user-friendly.

//FIXME: Change this to pagination
shinglyu commented 9 years ago

Let's move the pagination discussion to https://github.com/shinglyu/moztrap-new-ui/issues/30