-
Notifications
You must be signed in to change notification settings - Fork 702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac-Windows branch consolidation #2761
Conversation
…reate backups when filtering sources
* v1 implementation of virtual webcam settings UI, no update yet * handle plugin updates * update osn * update osn
…cs. (#2604) * Release 0.1.0-mac * addFile was using hardcoded Windows separators and doesn't work on Macs. Co-authored-by: Andy Creeth <acreeth@gmail.com>
}, 500); | ||
} | ||
|
||
setupMicPopover() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function setupMicPopover
has 58 lines of code (exceeds 32 allowed). Consider refactoring.
this.bindDynamicMenuItems(); | ||
} | ||
|
||
private buildMenu(): electron.Menu { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function buildMenu
has 152 lines of code (exceeds 32 allowed). Consider refactoring.
text-align: center; | ||
-webkit-app-region: drag; | ||
} | ||
.updater-window__img { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
|
||
// PRIVATE | ||
|
||
bindListeners() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function bindListeners
has 35 lines of code (exceeds 32 allowed). Consider refactoring.
: (this.micMute.icon = this.micUnmutedIcon); | ||
} | ||
|
||
setupPerformance() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function setupPerformance
has 42 lines of code (exceeds 32 allowed). Consider refactoring.
this.bindDynamicMenuItems(); | ||
} | ||
|
||
private buildMenu(): electron.Menu { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function buildMenu
has a Cognitive Complexity of 55 (exceeds 10 allowed). Consider refactoring.
cp.execSync(`codesign -fs "Developer ID Application: Streamlabs LLC (UT675MBB9Q)" "${filePath}"`); | ||
} | ||
|
||
function signBinaries(directory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function signBinaries
has a Cognitive Complexity of 15 (exceeds 10 allowed). Consider refactoring.
height: 100%; | ||
padding: 32px; | ||
background-color: #17242d; | ||
color: #ffffff; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected "#ffffff" to be "#fff" (color-hex-length)
} | ||
} | ||
|
||
setupGoLive() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function setupGoLive
has 35 lines of code (exceeds 32 allowed). Consider refactoring.
.updater-window__img { | ||
width: 48px; | ||
} | ||
.UpdaterWindow-icon { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
.UpdaterWindow-icon { | ||
margin-right: 8px; | ||
} | ||
.UpdaterWindow-progressBarContainer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
border-radius: 4px; | ||
overflow: hidden; | ||
} | ||
.UpdaterWindow-progressBar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
height: 8px; | ||
background-color: #31c3a2; | ||
} | ||
.UpdaterWindow-progressPercent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
font-size: 14px; | ||
margin: 16px 0 24px 0; | ||
} | ||
.UpdaterWindow-issues { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
padding-top: 25px; | ||
-webkit-app-region: no-drag; | ||
} | ||
.UpdaterWindow-link { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
.UpdaterWindow-link { | ||
color: #bbb; | ||
cursor: pointer; | ||
&:hover { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
.titlebar-mac { | ||
height: 22px; | ||
flex: 0 0 22px; | ||
.titlebar-title { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected empty line before rule (rule-empty-line-before)
@@ -33,9 +35,9 @@ | |||
"ci:screentests": "node test/screentest/runner.js", | |||
"ci:performance": "node test/performance/performance-test-runner.js", | |||
"commit": "commit", | |||
"postinstall": "scripts/facemask-plugin-move.bat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to figure out how to handle this one still
* Move SL native deps install in a separate script * Fix electron-builder issues * Fix removing not correct folder * Reccursive rm * Fix downloading issues * Fix rm command * Fix old game-overlay module name * Optimize yarn install
Code Climate has analyzed commit f8c72a5 and detected 22 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
import cx from 'classnames'; | ||
|
||
@Component({}) | ||
export default class AppearanceSettings extends Vue { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be export default class VirtualWebcamSettings extends TsxComponent
this.setTb(); | ||
|
||
this.navigationService.navigated.subscribe(() => this.setTb()); | ||
this.appService.loadingChanged.subscribe(() => this.setTb()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a big deal, but if we need to watch some single value from store sometimes it's easier to use store.watch
rather than creating an exclusive event.
this.store.watch(() => this.appService.state.loading, () => this.setTb());
// youtube needs additional actions after the stream has been started | ||
if ( | ||
(this.windowQuery.platforms && this.windowQuery.platforms.includes('youtube')) || | ||
this.isYoutube | ||
) { | ||
(getPlatformService('youtube') as YoutubeService).showStreamStatusWindow(); | ||
} else { | ||
this.windowsService.closeChildWindow(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.windowsService.actions.closeChildWindow()
?
|
||
let status = this.performanceService.streamQuality; | ||
|
||
setInterval(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we deiced to stop using setInterval
No description provided.