Comments (10)
+1
from docker-registry-web.
The current design does server-side generation of the tables. There is a sortableColumn tag for Grails, but I'm guessing it would be quite inefficient to use that, seeing that the page would have to completely reload all data (and therefor go through all tags again, unless there's some caching going on).
The best way I see for this to work is to move the table generation to the client in javascript. Do you think that'd be a viable plan? If so I can put some time in getting some PoC together.
from docker-registry-web.
I'd added basic client side table ordering to the tags page.
It available on docker hub as latest version.
@madeddie and @liyaka can you check if this implementation satisfy your needs?
from docker-registry-web.
works fine - thanks!
from docker-registry-web.
Looks good, awesome!
The Created
column doesn't sort logically yet though. Maybe you could make it use epoch (seconds since 1970) for that?
from docker-registry-web.
What's the problem?
I'm using string representation of date in td
data-sort
attribute.
<td data-sort="2016-04-17T05:34:55"> ... 1 day ago</td>
from docker-registry-web.
I'm not sure how the sorting is using this string, but it doesn't understand natural sorting of it.
See
from docker-registry-web.
Thanks for screenshot. That looks strange, I can't reproduce it in my environment.
I've changed data-sort
attribute value to unix time.
Can you check if it working for you in latest version?
from docker-registry-web.
Possibly (probably?) this caused the weirdness with the string-based sort as well.
from docker-registry-web.
Thanks for update, closing issue.
from docker-registry-web.
Related Issues (20)
- registry -e REGISTRY_AUTH_HTPASSWD_REALM=Registry_Realm
- Api for adding a user
- Cannot get property 'Cmd' on null object. Stacktrace follows: HOT 2
- Can I save & road the login account information?
- server gave HTTP response to HTTPS client
- Access Web App via HTTPS HOT 1
- Docker Login Issue
- [Feature] Implement LDAP authentication
- how to allow anonymous user to pull images
- [ Error ] Building using Dockerfile - org.grails.wrapper.GrailsWrapper
- Able to delete multiple image tags
- denied: requested access to the resource is denied HOT 2
- v2 scheme imageId HOT 1
- Admin access does not work
- invalid translation for Estonian
- use gitlab registry
- Is this project stop ???
- Error in Web UI with basic authentication HOT 6
- The password change function does not work HOT 1
- curl UNAUTHORIZED HOT 5
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 docker-registry-web.