Comparing version 0.0.3 to 0.0.4
@@ -13,3 +13,3 @@ var RSVP = require('rsvp'); | ||
, meta: this.meta() | ||
, definitions: this.definitions() | ||
, definitions: this.definitions(query) | ||
}); | ||
@@ -62,4 +62,5 @@ }; | ||
Store.prototype.definitions = function () { | ||
var hash = { all: this.count() }; | ||
Store.prototype.definitions = function (query) { | ||
query || (query = {}); | ||
var hash = { all: this.count({filter: query.filter}) }; | ||
var indexMap = {}; | ||
@@ -70,3 +71,3 @@ var objects = this.definitionObjects(); | ||
indexMap[definition._id] = objects.indexOf(definition); | ||
hash[definition._id] = this.count({name: definition.name}); | ||
hash[definition._id] = this.count({name: definition.name, filter: query.filter}); | ||
}, this); | ||
@@ -73,0 +74,0 @@ |
{ | ||
"name": "agenda-ui", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "UI for Agenda", | ||
"repository": "https://github.com/moudy/agenda-ui", | ||
"main": "index.js", | ||
@@ -6,0 +7,0 @@ "scripts": { |
@@ -5,5 +5,5 @@ # Agenda UI | ||
### This is still very much a work in progress | ||
It's better than nothing but still pretty rough. I'm open to suggestions and pull requests. | ||
![Agenda UI Screenshot](https://raw.githubusercontent.com/moudy/agenda-ui/screenshot/agenda-ui-screenshot.png) | ||
### Install | ||
@@ -32,11 +32,7 @@ ``` | ||
### Screenshot | ||
![Agenda UI Screenshot](https://raw.githubusercontent.com/moudy/agenda-ui/screenshot/agenda-ui-screenshot.png) | ||
### Todo and Ideas | ||
- browse by name, type, etc. | ||
- pagination | ||
- more human friendly countdown time format | ||
- a way to view a specific job | ||
- general UI polish | ||
- better dev workflow | ||
- run/cancel job (i.e. /jobs/:jobId) | ||
- tests | ||
@@ -43,0 +39,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1982
1
540728
41