Skip to content

Commit b61b971

Browse files
author
ivelin
committed
fix: polish UI. Cleaner render of idle snapshots / no detection.
Signed-off-by: ivelin <[email protected]>
2 parents 21c32c9 + 0f13596 commit b61b971

File tree

7 files changed

+47
-22
lines changed

7 files changed

+47
-22
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Semantic Versioning Changelog
22

3+
## [2.22.1](https://github.com/ambianic/ambianic-ui/compare/v2.22.0...v2.22.1) (2021-12-09)
4+
5+
6+
### Bug Fixes
7+
8+
* polish UI. Event page view. Add status snackbar close button. ([#785](https://github.com/ambianic/ambianic-ui/issues/785)) ([1fa5f87](https://github.com/ambianic/ambianic-ui/commit/1fa5f87f337ebda235f6b85f186f19f94d853c3e))
9+
310
# [2.22.0](https://github.com/ambianic/ambianic-ui/compare/v2.21.0...v2.22.0) (2021-11-19)
411

512

package-lock.json

+35-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ambianic-ui",
3-
"version": "2.22.0",
3+
"version": "2.22.1",
44
"description": "Ambianic UI is the main user interface to Ambianic Edge deployments.",
55
"author": "Ivelin Ivanov",
66
"scripts": {
@@ -66,7 +66,7 @@
6666
"eslint-plugin-cypress": "^2.12.1",
6767
"eslint-plugin-import": "^2.24.2",
6868
"eslint-plugin-node": "^11.1.0",
69-
"eslint-plugin-promise": "^4.2.1",
69+
"eslint-plugin-promise": "^5.2.0",
7070
"eslint-plugin-standard": "^5.0.0",
7171
"eslint-plugin-vue": "^7.19.1",
7272
"fake-indexeddb": "^3.1.7",

src/assets/home-screen-logo-dark.png

-7.76 KB
Loading

src/assets/home-screen-logo-light.png

-8.28 KB
Loading

src/views/Event.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
align="center"
3434
justify="center"
3535
cols="12"
36-
class="pa-0 ma-0 fill-height fill-width"
36+
class="pa-0 ma-0 fill-height"
3737
>
3838
<v-card class="text-center">
3939
<event-card

tests/unit/views/event.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('Single Event View Page', () => {
103103
expect(deviceError.exists()).toBeTrue()
104104
expect(deviceError.text()).toEqual('Event query parameters missing.')
105105
const loadingCard = wrapper.findComponent({ ref: 'loading-card' })
106-
expect(loadingCard.exists()).toBeTrue()
106+
expect(loadingCard.exists()).toBeFalse()
107107
})
108108

109109
test('Event page loads detections when PEER is connected', async () => {
@@ -212,6 +212,6 @@ describe('Single Event View Page', () => {
212212
expect(deviceError.exists()).toBeTrue()
213213
expect(deviceError.text()).toEqual('Event hash does not match any of your saved devices.')
214214
const loadingCard = wrapper.findComponent({ ref: 'loading-card' })
215-
expect(loadingCard.exists()).toBeTrue()
215+
expect(loadingCard.exists()).toBeFalse()
216216
})
217217
})

0 commit comments

Comments
 (0)