knocean / knode

Knowledge Development Environment
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Add query page #40

Closed jamesaoverton closed 7 years ago

jamesaoverton commented 7 years ago

The basics are implemented in #37. We want to add the following features:

inaimathi commented 7 years ago

On the last two points of this ticket. We've got a query page with Ace wired up, and a localstorage-backed query history. It still doesn't have a list of example queries, and it doesn't add paging properties to incoming queries. This work is checked into https://github.com/knocean/knode/pull/37

inaimathi commented 7 years ago

On the last point (add paging with SPARQL's LIMIT and OFFSET settings). Still in the same PR

inaimathi commented 7 years ago

All of the above is done. There's pagination built using LIMIT and OFFSET settings (unless the relevant parts are already manually specified in-query; the test cases cover what I think is the correct behavior).

Also, the front-end interface takes advantage of pagination. There's a "More" button that shows up unless the last requested page was empty. When clicked, this button gets the next page of results.

This task should be closed once we merge the query page branch.