Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Allow track owner to share premium content to socials C-2424#3177

Open
nicoback2 wants to merge 2 commits into
mainfrom
nkang--owner-premium-content-share
Open

Allow track owner to share premium content to socials C-2424#3177
nicoback2 wants to merge 2 commits into
mainfrom
nkang--owner-premium-content-share

Conversation

@nicoback2

Copy link
Copy Markdown
Contributor

Description

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

@nicoback2 nicoback2 requested review from a team, amendelsohn and sddioulde and removed request for a team April 5, 2023 20:59
@nicoback2 nicoback2 requested review from a team and removed request for amendelsohn April 5, 2023 21:00
dispatch(setCancel(() => cancelStory(platform)))
toggleProgressDrawer(true, platform)

const encodedTrackId = encodeHashId(content.track.track_id)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically copied the logic from the Audio component for getting the right query params for the stream track URL.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Would it make sense to break this out into a helper function that both places use?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm yeah i think i can break out some of it

dispatch(setCancel(() => cancelStory(platform)))
toggleProgressDrawer(true, platform)

const encodedTrackId = encodeHashId(content.track.track_id)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Would it make sense to break this out into a helper function that both places use?

@sddioulde sddioulde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants