-
Notifications
You must be signed in to change notification settings - Fork 111
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
[PAY-2585] Premium album edit feature #8071
Conversation
|
@@ -169,7 +171,7 @@ export const AccessAndSaleFormSchema = ( | |||
// Check for albumTrackPrice price >= min price (if applicable) | |||
.refine( | |||
(values) => | |||
isAlbum | |||
isAlbum && isUpload |
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 don't have full context here but don't we want to still validate the price even when it's not an upload?
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 this is specifically the "track price" for all the tracks in the album. We don't have that field on edits now
…jd/album-edit-premium # Conflicts: # packages/common/src/hooks/useAccessAndRemixSettings.ts
EditPlaylistValues | CollectionValues | TrackEditFormValues | ||
>() | ||
const parentFormInitialStreamConditions = | ||
'stream_conditions' in parentFormInitialValues |
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.
nit: could make a typeguard, eg. isContentUSDCPurchaseGated
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
8818104 | Triggered | Generic High Entropy Secret | 34b2b5f | packages/embed/.env.prod | View secret |
8818104 | Triggered | Generic High Entropy Secret | 34b2b5f | packages/embed/.env.dev | View secret |
8818104 | Triggered | Generic High Entropy Secret | 34b2b5f | packages/embed/.env.stage | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Preview this change https://demo.audius.co/jd/album-edit-premium |
* origin/main: (24 commits) Fix missing isTrack dependency (lint change) (#8096) ddex: limit publisher to 3 retries (#8062) Bump version to 0.6.80 remove unused import (#8098) [C-4268] Fix player sagas prev functionality for premium track previews (#8094) Disable play e2e test (#8095) [PAY-2652] Album purchase/sale notifications (#8085) [DVRL-25] - Using Wallet Connect on the Protocol Dashboard (#8089) [C-4252] Update search screen navigation to clear search on mobile (#8092) Unrevert fetch-nft (#8080) PROTO-1711: acdc tip notification reactions (#8026) Bump version to 0.6.79 [C-4226] Remove lossless toggle in upload flow and download section on track (#8083) [PAY-2677] Retries for Discovery Solana Relay (#8087) [PAY-2684] Fix wrap on audio wallet actions (#8073) [PAY-2685] Render TrackAddedToPurchasedAlbumNotification on mobile (#8084) [PAY-2585] Premium album edit feature (#8071) Standardize ddex envs to work with audius-docker-compose better (#8078) [PROTO-1754] Fix DDEX albums being editable, fields not persisting (#8077) [C-4260] Improve icon a11y (#8075) ...
[52b1a94] [PAY-2689] Send tips via SDK (behind feature flag) (#8090) Marcus Pasell [7876f25] require handle_lc in users query (#8102) alecsavvy [0109139] [PAY-2687] E2E tests for premium album edits (#8082) JD Francis [6f87d60] Fix missing isTrack dependency (lint change) (#8096) Reed [f880ab6] ddex: limit publisher to 3 retries (#8062) Steve Perkins [c50de43] Bump version to 0.6.80 audius-infra [c632892] remove unused import (#8098) alecsavvy [93c3292] [C-4268] Fix player sagas prev functionality for premium track previews (#8094) Kyle Shanks [345d3df] Disable play e2e test (#8095) Sebastian Klingler [4e85691] [PAY-2652] Album purchase/sale notifications (#8085) Reed [ef4f367] [DVRL-25] - Using Wallet Connect on the Protocol Dashboard (#8089) Sam Gutentag [49b7e5d] [C-4252] Update search screen navigation to clear search on mobile (#8092) Kyle Shanks [caa5e1c] Unrevert fetch-nft (#8080) Sebastian Klingler [e7c5053] PROTO-1711: acdc tip notification reactions (#8026) alecsavvy [8be7e4a] Bump version to 0.6.79 audius-infra [80751a8] [C-4226] Remove lossless toggle in upload flow and download section on track (#8083) Kyle Shanks [b92bfa5] [PAY-2677] Retries for Discovery Solana Relay (#8087) Marcus Pasell [61b37bc] [PAY-2684] Fix wrap on audio wallet actions (#8073) Raymond Jacobson [a08118c] [PAY-2685] Render TrackAddedToPurchasedAlbumNotification on mobile (#8084) Andrew Mendelsohn [626946d] [PAY-2585] Premium album edit feature (#8071) JD Francis [d3768ff] Standardize ddex envs to work with audius-docker-compose better (#8078) Theo Ilie [d2a8359] [PROTO-1754] Fix DDEX albums being editable, fields not persisting (#8077) Theo Ilie [36f4460] [C-4260] Improve icon a11y (#8075) Dylan Jeffers [6f1c583] Remove ComputeBudget from Withdrawals (#8081) Marcus Pasell [24419fc] Reduce border on playlist tile track list (#8079) Andrew Mendelsohn [e468bf9] [PAY-2668] Purchase/sale details modals album support (#8048) Reed [b16bad3] First pass of claim all modal (#8072) Isaac Solo [6d957ad] Use coinflow relay (#8076) Raymond Jacobson [dd7c896] [PAY-2683] Render TrackAddedToPurchasedAlbum notification (web) (#8074) Andrew Mendelsohn [c0f7df8] Bump version to 0.6.78 audius-infra [1de3a7d] Productionize DDEX webserver (#8067) Theo Ilie [d4b3437] [PAY-2682] Write new TrackAddedToPurchasedAlbum notification to table (#8065) Andrew Mendelsohn [d02a510] increase solana RPC reselect freq (#8070) Michelle Brier [339456a] [C-4257] Fix web-dist-win jobs (#8069) Sebastian Klingler [5b1f635] [C-4258] Fix text input end adornment position (#8068) Kyle Shanks [25fea8f] [PAY-2630] Album download toggle (#8020) JD Francis [e964575] chore: Refactor useAccessAndRemixSettings & add unit test (#8049) JD Francis [643cbba] [C-4256] Fix misaligned artist badge in premium content unlock section (#8066) Kyle Shanks [d99be37] [C-4001] Add interacive paper variant (#8059) Dylan Jeffers [6573b6e] [C-4251] Fix mobile collection tile details border (#8064) Kyle Shanks [26511e4] [PAY-2667] Add nft improvements (#8025) Saliou Diallo [1024e6e] [C-4253] Fix stats test line-height (#8063) Kyle Shanks [573c3e1] [Protocol Dashboard] Implement Wallet Connect on Protocol Dashboard [C-3951] (#8010) nicoback2 [08c5def] [PAY-2343] Only dispatch audio matching challenges for valid purchases (#8061) Reed [878fc5d] Bump version to 0.6.77 audius-infra [6c9cb8f] [PAY-2579] Change tx handler logs back to warn (#8060) Reed [75fc24a] [PROTO-1760] Ensure UPC and ISWC are persisted top-level (#8052) Theo Ilie [c31d52f] Revert fetch-nft changes to unblock CI (#8057) Sebastian Klingler [8b53199] Skip Mac staging desktop build (#8056) Marcus Pasell [280850d] [DVRL-23] - DDEX documentation (#8018) Sam Gutentag [6845e15] Fix failing E2E upload tests (#8055) Marcus Pasell [f50f032] Notify author on CI success and failure of main branch (#8040) Marcus Pasell [05d6096] [C-4243] Fix theming on first render (#8046) Dylan Jeffers [1e0b795] Add `preview:stage` (#8054) Sebastian Klingler [a508d2a] [PROTO-1752] Delete backfill_cid_data celery task (#8050) Danny [853aebd] Use vite preview for playwright tests (#8045) Sebastian Klingler [6e1cf8b] Bump version to 0.6.76 audius-infra [61721ed] [PROTO-1753] Make ddex publisher+web work with refactored parser (#8038) Theo Ilie
Description
AccessAndSaleField
toPlaylistForm
for albums onlyHow Has This Been Tested?
https://www.loom.com/share/8b71963b755b4d18a7c64bb3904cc5dc?sid=8b32487a-fe03-4779-8ada-fccb41e18ad9