diff --git a/web/app/pods/components/bridge-finder/component.js b/web/app/pods/components/bridge-finder/component.js index 32940ca..9424574 100644 --- a/web/app/pods/components/bridge-finder/component.js +++ b/web/app/pods/components/bridge-finder/component.js @@ -10,7 +10,8 @@ const { } = Ember; export default Component.extend({ - classNames: ['container', 'bridge-finder'], + elementId: 'bridge-finder', + classNames: ['container'], bridgeIp: null, trial: false, bridgeUsername: null, @@ -28,9 +29,7 @@ export default Component.extend({ multipleBridgeIps: [], error: false, - isAuthenticating: computed('bridgePingIntervalHandle', function(){ - return this.get('bridgePingIntervalHandle') !== null; - }), + isAuthenticating: computed.notEmpty('bridgePingIntervalHandle'), // try to authenticate against the bridge here onBridgeIpChange: on('init', observer('bridgeIp', function(){ @@ -118,6 +117,7 @@ export default Component.extend({ clearBridgePingIntervalHandle(){ clearInterval(this.get('bridgePingIntervalHandle')); + this.set('bridgePingIntervalHandle', null); }, actions: { diff --git a/web/app/pods/components/bridge-finder/template.hbs b/web/app/pods/components/bridge-finder/template.hbs index a6ec041..b8a409a 100644 --- a/web/app/pods/components/bridge-finder/template.hbs +++ b/web/app/pods/components/bridge-finder/template.hbs @@ -4,14 +4,17 @@ {{#if error}}

Huegasm encountered a critical error while trying to connect to your bridge.

This likely happened because you're using an outdated browser and/or because your browser does not support CORS. Feel free to contact me through the link at the bottom of the page if you feel like this is not the case.
- For the best browsing experience on this site ( and every other one known to man ) please switch to Google Chrome or Firefox

. + For the best browsing experience on this site ( and every other one known to man ) please switch to Google Chrome or Firefox.

{{else}} {{paper-progress-linear warn=true value=bridgeUserNamePingIntervalProgress}} {{#if isAuthenticating}} -

Your bridge IP is {{bridgeIp}}
- Press the button on your bridge to authenticate this application.

+

+ Your bridge IP is {{bridgeIp}} +
+ Press the button on your bridge to authenticate this application. +

{{else}}

You failed to press the button. RETRY

{{/if}} diff --git a/web/app/pods/components/hue-controls/component.js b/web/app/pods/components/hue-controls/component.js index cacc833..619e765 100644 --- a/web/app/pods/components/hue-controls/component.js +++ b/web/app/pods/components/hue-controls/component.js @@ -171,7 +171,7 @@ export default Component.extend({ 'You may toggle a light\'s state by clicking on it.' }, { - element: '#settings-icon', + element: '#settings', intro: 'A few miscellaneous settings can be found here.

' + 'WARNING: clearing application settings will restore the application to its original state. This will even delete your playlist and any saved song beat preferences.', position: 'bottom' @@ -249,6 +249,10 @@ export default Component.extend({ if(elem.html() === ''){ $('.introjs-nextbutton').click(); } + + run.later(this, function() { + $('.introjs-tooltip').velocity('scroll'); + }, 500); }).onexit(onExit).oncomplete(onFinish).start(); } } diff --git a/web/app/pods/components/hue-controls/template.hbs b/web/app/pods/components/hue-controls/template.hbs index 85884e6..572cc3a 100644 --- a/web/app/pods/components/hue-controls/template.hbs +++ b/web/app/pods/components/hue-controls/template.hbs @@ -1,33 +1,34 @@ {{#if ready}} -