Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ambianic/ambianic-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.22.1
Choose a base ref
...
head repository: ambianic/ambianic-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -6,17 +6,17 @@ module.exports = {
},

extends: [
'plugin:vue/strongly-recommended',
'@vue/standard'
'plugin:vue/strongly-recommended'
],

rules: {
'no-console': 'off',
'no-debugger': 'off'
'no-debugger': 'off',
'vue/multi-word-component-names': 'off'
},

parserOptions: {
parser: 'babel-eslint'
parser: '@babel/eslint-parser'
},

overrides: [
1 change: 1 addition & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ jobs:
id: get-netlify-url
with:
site_name: "ambianic-pwa-dist"
max_timeout: 180
- name: Run Lighthouse PWA check against Netlify PR Preview
uses: treosh/lighthouse-ci-action@v8
with:
19 changes: 8 additions & 11 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -4,22 +4,23 @@ image:

tasks:
- init: |
touch /tmp/.npm-lock
# bring in secret access tokens from gitpod user dashboard
eval $(gp env -e)
npm install
npm run prepare
npm update
npm audit fix
npm install -g @vue/cli
rm /tmp/.npm-lock
gp sync-done install
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
command: |
echo "Starting Ambianic UI in dev mode:"
npm run serve
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
# echo "Waiting for Ambianic UI to start..."
# gp await-port 8080 && gp preview $(gp url 8080)/index.html
command: |
@@ -30,24 +31,20 @@ tasks:
npm run test
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
# echo "Waiting for Ambianic UI to start.."
# gp await-port 8080 && gp preview $(gp url 8080)/index.html
gp await-port 8080 && gp preview $(gp url 8080)/index.html
command: |
echo "Starting Cypress in Interactive Mode"
npm run cy:open
- init: |
echo "Waiting for npm install to complete"
sleep 1 && while [ -f /tmp/.npm-lock ]; do sleep 1; done
gp sync-await install
command: |
echo "Starting http server for local HTML file preview"
npm install -g browser-sync
npx browser-sync start --watch --directory --server
# vscode:
# extensions:
# - octref.vetur@0.31.3:QHyAEoimIBiRDoL6WtEoRg==

ports:
- port: 8080 # Ambianic UI App
onOpen: open-browser
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Semantic Versioning Changelog

## [2.23.1](https://github.com/ambianic/ambianic-ui/compare/v2.23.0...v2.23.1) (2022-04-20)


### Bug Fixes

* add close button to connection status snackbar ([68d6a64](https://github.com/ambianic/ambianic-ui/commit/68d6a645828ff9a5cdae1160134670604f7e2ee6))
* add close button to connection status snackbar ([5f6c222](https://github.com/ambianic/ambianic-ui/commit/5f6c222b07d50211315ad4862368df5d80a2346a))
* add subspace TURN service ([91e3462](https://github.com/ambianic/ambianic-ui/commit/91e346237b52a675727bc4863e748ee7d4cbfe9f))
* add subspace TURN service ([a5aa9f6](https://github.com/ambianic/ambianic-ui/commit/a5aa9f6eaf0d35a0962653a428570c0efb978be1))
* app bar scroll issue ([5388e86](https://github.com/ambianic/ambianic-ui/commit/5388e8635adf04e14d67486e93ed2873345a7a14))
* event display layout ([bb2d7f0](https://github.com/ambianic/ambianic-ui/commit/bb2d7f0699779620124de50c21fa6be4fd25a2ef))
* improve NAT traversal ([12b09f6](https://github.com/ambianic/ambianic-ui/commit/12b09f6ee69b6c1052953358c797b900f0b2a89c))
* improve NAT traversal; add TURN routing ([2e6baf3](https://github.com/ambianic/ambianic-ui/commit/2e6baf3cf30e58af912d63ef26bdf7794c1d3046))
* polish UI. Cleaner render of idle snapshots / no detection. ([ad02193](https://github.com/ambianic/ambianic-ui/commit/ad02193bd8c78f2e2603b1b824e92ac985383185))
* polish UI. Cleaner render of idle snapshots / no detection. ([b61b971](https://github.com/ambianic/ambianic-ui/commit/b61b9718a0106eccedea4105e95310b644d5dee0))
* polish UI. Cleaner render of idle snapshots / no detection. ([21c32c9](https://github.com/ambianic/ambianic-ui/commit/21c32c956d6ecb39c8173a6cc9de37e22e21fe12))
* spacing between buttons ([9f9cf31](https://github.com/ambianic/ambianic-ui/commit/9f9cf31b49b93da90186d24decfb6d13c6ea1357))
* update package dependencies ([043684e](https://github.com/ambianic/ambianic-ui/commit/043684e594419f3a1e8ba76d0820acea73220a20))

# [2.23.0](https://github.com/ambianic/ambianic-ui/compare/v2.22.5...v2.23.0) (2022-04-18)


### Features

* show timeline button in device settings when connected ([cf3ab61](https://github.com/ambianic/ambianic-ui/commit/cf3ab6105380dccac34f85f2798ae204ea8d3f65))

## [2.22.5](https://github.com/ambianic/ambianic-ui/compare/v2.22.4...v2.22.5) (2021-12-14)


### Bug Fixes

* add subspace TURN service ([#796](https://github.com/ambianic/ambianic-ui/issues/796)) ([e54b7f9](https://github.com/ambianic/ambianic-ui/commit/e54b7f9c26178de672bfc2dae5d04cafe7d526d2))

## [2.22.4](https://github.com/ambianic/ambianic-ui/compare/v2.22.3...v2.22.4) (2021-12-13)


### Bug Fixes

* improve NAT traversal; add TURN routing ([#795](https://github.com/ambianic/ambianic-ui/issues/795)) ([f88a01d](https://github.com/ambianic/ambianic-ui/commit/f88a01d0931df8a65547123b8f0c7727fbf72634))

## [2.22.3](https://github.com/ambianic/ambianic-ui/compare/v2.22.2...v2.22.3) (2021-12-10)


### Bug Fixes

* upgrade vue and other 3rd party dependencies ([#792](https://github.com/ambianic/ambianic-ui/issues/792)) ([3cd7874](https://github.com/ambianic/ambianic-ui/commit/3cd7874480f1fbc58e1fe1a2a0a8227647b3d7c8))

## [2.22.2](https://github.com/ambianic/ambianic-ui/compare/v2.22.1...v2.22.2) (2021-12-10)


### Bug Fixes

* polish UI; cleaner render of idle snapshots - no detection. ([#791](https://github.com/ambianic/ambianic-ui/issues/791)) ([bb29dcc](https://github.com/ambianic/ambianic-ui/commit/bb29dccc7a62d027769b46472143c00947f1a8b3))

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


11 changes: 10 additions & 1 deletion cypress/integration/ambianic-tests/settings.spec.js
Original file line number Diff line number Diff line change
@@ -86,7 +86,16 @@ context('Settings', () => {
cy.get('[data-cy=mydevices-btn]').contains('My Devices')
})

it('Should display edge device peer ID', () => {
it('Should have Timeline button after connecting', () => {
cy.window().then(win => {
cy.get('[data-cy=timeline-btn]').should('not.exist').then( ($el) => {
_fakeConnect(cy, win)
cy.get('[data-cy=timeline-btn]').should('exist').contains('Timeline')
})
})
})

it('Should display edge device peer ID after connecting', () => {
cy.window().then(win => {
cy.get('[data-cy=list-item-edgePeerID]').should('not.exist').then( ($el) => {
_fakeConnect(cy, win)
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ module.exports = {
'^.+\\.js$': 'babel-jest',
'.*\\.vue$': 'vue-jest'
},
transformIgnorePatterns: ["node_modules/(?!(konva)/)"],
collectCoverage: true,
coverageDirectory: './coverage/jest/',
coverageReporters: ['json', 'text'],
Loading