logster 2.11.0 → 2.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/client-app/app/controllers/index.js +12 -8
- data/client-app/app/templates/index.hbs +1 -0
- data/client-app/package-lock.json +15767 -24169
- data/client-app/package.json +2 -1
- data/client-app/tests/unit/controllers/index-test.js +23 -5
- data/lib/logster/redis_store.rb +37 -36
- data/lib/logster/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c3d946dbbe5f1d0f1869aa4e262cf40ec1b0edeca76f8fbc6ce22e827140cc
|
4
|
+
data.tar.gz: 15af1b43a8afe443c83729a680c09ae43a00d626b174dbd9bb2413bcdbd3fe97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71dc344fa89d6731db40a03b56def3fc205d0c522894cc47cc90c7443cb21026cfcdf0b1bf80abb390ada08ed3c6d90b8a6f94c2a8a67dfc00db720a59d04169
|
7
|
+
data.tar.gz: ab4ce89f0ea3d096c0891504a11d7a387c3e6c86bd2ad3b4fdffd4ab29d55d1b4043f8f7542ec197dfeac1a9eaeab8c913c63988a3b8601cbc88ceb214781d87
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
import
|
2
|
-
import {
|
3
|
-
ajax,
|
4
|
-
getLocalStorage,
|
5
|
-
setLocalStorage
|
6
|
-
} from "client-app/lib/utilities";
|
1
|
+
import { debounce } from "@ember/runloop";
|
7
2
|
import { computed } from "@ember/object";
|
3
|
+
import Controller from "@ember/controller";
|
4
|
+
import { ajax, getLocalStorage, setLocalStorage } from "client-app/lib/utilities";
|
8
5
|
import Preload from "client-app/lib/preload";
|
9
|
-
import { debounce } from "@ember/runloop";
|
10
6
|
|
11
7
|
export default Controller.extend({
|
12
8
|
showDebug: getLocalStorage("showDebug", false),
|
@@ -14,7 +10,7 @@ export default Controller.extend({
|
|
14
10
|
showWarn: getLocalStorage("showWarn", true),
|
15
11
|
showErr: getLocalStorage("showErr", true),
|
16
12
|
showFatal: getLocalStorage("showFatal", true),
|
17
|
-
search:
|
13
|
+
search: null,
|
18
14
|
queryParams: ["search"],
|
19
15
|
|
20
16
|
showSettings: computed(function() {
|
@@ -130,6 +126,14 @@ export default Controller.extend({
|
|
130
126
|
}
|
131
127
|
},
|
132
128
|
|
129
|
+
searchTerm: computed("search", function () {
|
130
|
+
if (this.search) {
|
131
|
+
this.doSearch(this.search)
|
132
|
+
return this.search;
|
133
|
+
}
|
134
|
+
return null;
|
135
|
+
}),
|
136
|
+
|
133
137
|
doSearch(term) {
|
134
138
|
this.model.set("search", term);
|
135
139
|
this.model.reload().then(() => this.model.updateSelectedRow());
|