diff --git a/web/app/assets/javascripts/react-components/ConfigureLiveTracksDialog.js.jsx.coffee b/web/app/assets/javascripts/react-components/ConfigureLiveTracksDialog.js.jsx.coffee index 633d69030..3329591dd 100644 --- a/web/app/assets/javascripts/react-components/ConfigureLiveTracksDialog.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/ConfigureLiveTracksDialog.js.jsx.coffee @@ -257,12 +257,13 @@ ConfigureTracksStore = @ConfigureTracksStore $root = $(@getDOMNode()) $select = $root.find('select.vsts') vstSelected = $select.val() - if vstSelected != 'NONE' - vstSelected = {file: vstSelected} + #if vstSelected != 'NONE' + vstSelected = {file: vstSelected} if @state.configureTracks?.trackType == 'midi' @updateMidiAssociations() else + logger.debug("associating vst", vstSelected) ConfigureTracksActions.associateVSTWithTrack(vstSelected) diff --git a/web/app/assets/javascripts/react-components/SessionMyTrack.js.jsx.coffee b/web/app/assets/javascripts/react-components/SessionMyTrack.js.jsx.coffee index 4f46ca51d..1e7c94092 100644 --- a/web/app/assets/javascripts/react-components/SessionMyTrack.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/SessionMyTrack.js.jsx.coffee @@ -118,7 +118,7 @@ ConfigureTracksActions = @ConfigureTracksActions () => {participant: {client_id: this.props.clientId, user: name: 'You', possessive: 'Your'}, } , - {width:380, positions:['right', 'left'], offsetParent:$root.closest('.screen'), extraClasses: 'self'}) + {width:385, positions:['right', 'left'], offsetParent:$root.closest('.screen'), extraClasses: 'self'}) unless this.props.hasMixer $mute.on("mouseenter", false) diff --git a/web/app/assets/javascripts/react-components/SessionOtherTrack.js.jsx.coffee b/web/app/assets/javascripts/react-components/SessionOtherTrack.js.jsx.coffee index 0460c9819..14781ff71 100644 --- a/web/app/assets/javascripts/react-components/SessionOtherTrack.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/SessionOtherTrack.js.jsx.coffee @@ -125,7 +125,7 @@ MixerActions = @MixerActions () => {participant: this.props.participant} , - {width:380, positions:['right', 'left'], offsetParent:$root.closest('.screen')}) + {width:385, positions:['right', 'left'], offsetParent:$root.closest('.screen')}) unless this.props.hasMixer $mute.on("mouseenter", false) diff --git a/web/app/assets/javascripts/react-components/SessionOtherTracks.js.jsx.coffee b/web/app/assets/javascripts/react-components/SessionOtherTracks.js.jsx.coffee index c78245c1a..bd3ceb07b 100644 --- a/web/app/assets/javascripts/react-components/SessionOtherTracks.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/SessionOtherTracks.js.jsx.coffee @@ -17,8 +17,9 @@ ReactCSSTransitionGroup = React.addons.CSSTransitionGroup for participant in session.otherParticipants() - if participant.user.id == context.JK.currentUserId + if participant.client_id == @app.clientId participant.user.possessive = "Your" + participant.self = true else participant.user.possessive = participant.user.name + "'s" diff --git a/web/app/assets/javascripts/react-components/SessionStatsHover.js.jsx.coffee b/web/app/assets/javascripts/react-components/SessionStatsHover.js.jsx.coffee index d0120d481..ff6df015d 100644 --- a/web/app/assets/javascripts/react-components/SessionStatsHover.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/SessionStatsHover.js.jsx.coffee @@ -4,6 +4,13 @@ MixerActions = @MixerActions ptrCount = 0 StatsInfo = { + aggregate: { + latency: { + good: (user, stats) -> "#{user.possessive} total latency from them to you is very low.", + warn: (user, stats) -> "#{user.possessive} total latency from them to you is typical.", + poor: (user, stats) -> "#{user.possessive} total latency from them to you is poor." + } + }, system: { cpu: { good: (user, stats) -> "#{user.possessive} computer processor is not overworked by JamKazam or the your system.", @@ -106,21 +113,39 @@ StatsInfo = { if info? extraInfo = info - # "Windows WDM-KS" - computerStats = [] networkStats = [] audioStats = [] + aggregateStats = [] + aggregate = @state.stats?.aggregate network = @state.stats?.network system = @state.stats?.system audio = @state.stats?.audio + aggregateTag = null + if aggregate? + if aggregate.latency + aggregateStats.push(@stat(aggregate, 'aggregate', 'Latency', 'latency', Math.round(aggregate.latency))) + + aggregateTag = + `