-
Notifications
You must be signed in to change notification settings - Fork 703
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
Improve Facebook workflow #3120
Conversation
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.
overall seems to mostly make sense, had a few non-blocking questions
delete inputMetadata.description; | ||
if (options.type === 'bool') { | ||
// FormGroup handle the render of the FormInput title | ||
// so remove the title from FormInput metadata |
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.
is this only true of bool inputs? i thought most inputs behaved that way
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.
Only bool inputs show their title and tooltip independently from FormGroup
@@ -127,7 +127,8 @@ export default class ShareStream extends TsxComponent<{ sharePageUrl: string }> | |||
} | |||
|
|||
get sharePageUrl() { | |||
return `facebook.com/${this.facebookService.state.activePage.name}-${this.facebookService.state.activePage.id}`; | |||
return ''; | |||
// return `facebook.com/${this.facebookService.state.activePage.name}-${this.facebookService.state.activePage.id}`; |
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.
i thought that we got rid of this page entirely?
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.
Yeah I'm also curious where this component is being used. Can we delete?
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 can get rid of this component
@@ -58,7 +58,7 @@ export default class PlatformSettings extends TsxComponent<Props> { | |||
return ( | |||
<ValidatedForm class="flex" ref="settingsForm"> | |||
<div style={{ width: '100%' }}> | |||
{!hasPlatforms && $t('Enable at least one destination to start streaming')} | |||
{!hasPlatforms && $t('Enable at least one destinationType to start streaming')} |
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.
i feel like we should not use camelCase in any user-facing copy
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.
Looks like another find-replace error
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.
My IDE did a bad job with replacing =(
@@ -190,7 +190,7 @@ export default class ScheduleStreamWindow extends TsxComponent<{}> { | |||
<HFormGroup metadata={this.formMetadata.time} vModel={this.startTimeModel.time} /> | |||
</div> | |||
)} | |||
{shouldShowWarn && <div>{$t('Select at least one destination')}</div>} | |||
{shouldShowWarn && <div>{$t('Select at least one destinationType')}</div>} |
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.
same as above comment
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.
Another one :)
@@ -186,7 +186,7 @@ export class MixerService extends BasePlatformService<IMixerServiceState> | |||
).then(json => json.viewersCurrent); | |||
} | |||
|
|||
async putChannelInfo({ title, game }: IMixerStartStreamOptions): Promise<boolean> { | |||
async putChannelInfo({ title, game }: IMixerStartStreamOptions): Promise<void> { |
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.
I think technically speaking we could just get rid of this whole service right?
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.
Yes, we can. I prefer to not do it as a part of this PR
.replace('{width}', imageSize.width.toString()) | ||
.replace('{height}', imageSize.height.toString()); | ||
return { id: g.id, name: g.name, image }; | ||
})[0]; |
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.
love to see us switching over to the new twitch api whenever possible
app/components/LiveDock.vue.ts
Outdated
@@ -65,7 +66,7 @@ export default class LiveDock extends Vue { | |||
this.underlyingSelectedChat = val; | |||
} | |||
|
|||
viewStreamTooltip = $t('Go to YouTube to view your live stream'); | |||
viewStreamTooltip = $t('Open browser to view your live stream'); |
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.
Let's change this to "View your live stream in a web browser"
@@ -75,7 +75,7 @@ export default class ShareStream extends TsxComponent<{ sharePageUrl: string }> | |||
}; | |||
|
|||
mounted() { | |||
this.facebookService.sendPushNotif(); | |||
// this.facebookService.sendPushNotif(); |
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.
Delete?
@@ -127,7 +127,8 @@ export default class ShareStream extends TsxComponent<{ sharePageUrl: string }> | |||
} | |||
|
|||
get sharePageUrl() { | |||
return `facebook.com/${this.facebookService.state.activePage.name}-${this.facebookService.state.activePage.id}`; | |||
return ''; | |||
// return `facebook.com/${this.facebookService.state.activePage.name}-${this.facebookService.state.activePage.id}`; |
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.
Yeah I'm also curious where this component is being used. Can we delete?
@@ -88,7 +88,7 @@ export class DestinationSwitchers extends TsxComponent<Props> { | |||
{isPrimary ? ( | |||
<span | |||
vTooltip={$t( | |||
'You cannot disable the platform you used to sign in to Streamlabs OBS. Please sign in with a different platform to disable streaming to this destination.', | |||
'You cannot disable the platform you used to sign in to Streamlabs OBS. Please sign in with a different platform to disable streaming to this destinationType.', |
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.
Lol - this looks like a find-replace error. I assume you didn't mean to change this string.
@@ -114,7 +114,7 @@ export class DestinationSwitchers extends TsxComponent<Props> { | |||
} | |||
|
|||
/** | |||
* Renders a switcher for a custom destination | |||
* Renders a switcher for a custom destinationType |
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.
Also looks like a find-replace error
@@ -58,7 +58,7 @@ export default class PlatformSettings extends TsxComponent<Props> { | |||
return ( | |||
<ValidatedForm class="flex" ref="settingsForm"> | |||
<div style={{ width: '100%' }}> | |||
{!hasPlatforms && $t('Enable at least one destination to start streaming')} | |||
{!hasPlatforms && $t('Enable at least one destinationType to start streaming')} |
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.
Looks like another find-replace error
@@ -190,7 +190,7 @@ export default class ScheduleStreamWindow extends TsxComponent<{}> { | |||
<HFormGroup metadata={this.formMetadata.time} vModel={this.startTimeModel.time} /> | |||
</div> | |||
)} | |||
{shouldShowWarn && <div>{$t('Select at least one destination')}</div>} | |||
{shouldShowWarn && <div>{$t('Select at least one destinationType')}</div>} |
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.
Another one :)
imageSize={{ width: 44, height: 44 }} | ||
/> | ||
<p> | ||
{$t('Make sure Streamlabs app is added to your Group.')} |
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.
"Make sure the Streamlabs app is added to your Group."
privacy
parameter for FB streams