Skip to content

Commit

Permalink
fix: polish UI. Cleaner render of idle snapshots / no detection.
Browse files Browse the repository at this point in the history
Signed-off-by: ivelin <ivelin@ambianic.ai>
  • Loading branch information
ivelin committed Dec 10, 2021
2 parents 21c32c9 + 0f13596 commit b61b971
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 22 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Semantic Versioning Changelog

## [2.22.1](https://github.com/ambianic/ambianic-ui/compare/v2.22.0...v2.22.1) (2021-12-09)


### Bug Fixes

* 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))

# [2.22.0](https://github.com/ambianic/ambianic-ui/compare/v2.21.0...v2.22.0) (2021-11-19)


Expand Down
52 changes: 35 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ambianic-ui",
"version": "2.22.0",
"version": "2.22.1",
"description": "Ambianic UI is the main user interface to Ambianic Edge deployments.",
"author": "Ivelin Ivanov",
"scripts": {
Expand Down Expand Up @@ -66,7 +66,7 @@
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.19.1",
"fake-indexeddb": "^3.1.7",
Expand Down
Binary file modified src/assets/home-screen-logo-dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/home-screen-logo-light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/views/Event.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
align="center"
justify="center"
cols="12"
class="pa-0 ma-0 fill-height fill-width"
class="pa-0 ma-0 fill-height"
>
<v-card class="text-center">
<event-card
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/views/event.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe('Single Event View Page', () => {
expect(deviceError.exists()).toBeTrue()
expect(deviceError.text()).toEqual('Event query parameters missing.')
const loadingCard = wrapper.findComponent({ ref: 'loading-card' })
expect(loadingCard.exists()).toBeTrue()
expect(loadingCard.exists()).toBeFalse()
})

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

0 comments on commit b61b971

Please sign in to comment.