Comments (4)
I have assigned @guenthermi now since this was marked as belonging to Browse. Or is this a change that should be done in the PaginationController instead? Feel free to re-assign the task as suitable.
from sqid.
Actually I think I will make a wrapper directive for this as an even cleaner solution, since many of the arguments would be the same throughout the application.
@guenthermi : Please wait with adaption / implementation until the directive is ready and merged .
from sqid.
I merged an update to the pagination code that brings 3 new directives that can be used within the scope of a PaginationController
:
<table-size-selector></table-size-selector>
is a widget for selecting the number of rows that should be displayed on a page. Proposed values can be selected from a dropdown or entered manually. Allowed range [3-2000]. It has a float: right; styling applied.<pagination-index-range></pagination-index-range>
displays current range of result indices and number of total results. It's not very useful yet for lack of customizability.<nav pagination="$scope.pagination"></nav>
is a wrapper for the uib-pagination widget, that hooks it up with thePaginationController
.
Please adapt the pagination nav in browse.html
to the new directive (3), so the obsolete pagination logic can be dropped. The other two are not really necessary but we might consider to include the table-size-selector uniformly in all paginations.
from sqid.
merged pull request
from sqid.
Related Issues (20)
- Add ISO 8601 datetime format HOT 1
- Outside any named section - top area - empty "subclass of:" but Wikidata has a claim HOT 3
- Section "Identifiers": list those specified by ISO first
- Section "Classification" - merge related unnamed part of top area and sections "Classification", "Instances"
- Give usage stats for typical properties and sort them HOT 2
- support for lexicographical data
- Is it possible to connect SQID to your own SPARQL endpoint? HOT 4
- Support alternative claim providers (PrimarySources, Rules, β¦) in Entity View
- Import SchemaUsageAnalyzer from wdtk-toolkit
- Automate deployment
- Add βbrowseβ views for properties & classes
- Fix styling
- Add a (global?) gadget
- Add support for editing labels
- Add support for inference rules
- Add support for ShEx schemata
- Advanced Search interface
- Add an OpenSearch description HOT 2
- Add paging for subclass hierarchy retrieval in helper HOT 1
- SQID as API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqid.