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

Fix track removal from playlist with entity manager#1815

Merged
isaacsolo merged 1 commit into
mainfrom
is-fix-track-deletion-2
Aug 29, 2022
Merged

Fix track removal from playlist with entity manager#1815
isaacsolo merged 1 commit into
mainfrom
is-fix-track-deletion-2

Conversation

@isaacsolo

@isaacsolo isaacsolo commented Aug 29, 2022

Copy link
Copy Markdown

Description

Entity manager enabled track removals were broken. The metadata_timestamp would not match the playlist indexing timestamp so no track would be removed. This logic will check if the playlist is enabled / has a metadata_timestamp then match based on that. If entity manager is disabled, it will use indexing timestamp instead.

Dragons

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

How Has This Been Tested?

Tested against staging.
Test track addition/removal with without cached state.
Tested legacy flow as well.

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

This change is behind the playlist_entity_manager_enabled flag.
Are all new features properly feature flagged? Describe added feature flags.

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/is-fix-track-deletion-2

@isaacsolo isaacsolo requested a review from dylanjeffers August 29, 2022 21:21

@dylanjeffers dylanjeffers 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.

cool makes sense

@isaacsolo isaacsolo merged commit 1b2638c into main Aug 29, 2022
@isaacsolo isaacsolo deleted the is-fix-track-deletion-2 branch August 29, 2022 21:23
audius-infra pushed a commit that referenced this pull request Sep 3, 2022
[6eeb9d4] [PAY-605][PAY-601][PAY-548] Buy Audio modal design changes (#1846) Marcus Pasell
[436cd27] [C-963] Migrate wallet sagas (#1857) Sebastian Klingler
[238d729] [C-959] Migrate tipping sagas (#1852) Sebastian Klingler
[1561728] Bump SDK to v1.0.1 (#1842) Dheeraj Manjunath
[a331f3d] Add reordering to new tables for playlists (#1845) Kyle Shanks
[3c90d3f] [PAY-598] Prepopulate TransactionDetails after purchasing $AUDIO (#1832) Marcus Pasell
[b11a686] [C-957] Fix autocomplete when signed out (#1844) Sebastian Klingler
[3315c27] Make tooltips use updated colors when theme is applied (#1843) Sebastian Klingler
[76395d5] [PAY-591] Improve supporter count visibility (#1841) Reed
[779d9e9] [PAY-507] Fix feed tip tile tip button resizing (#1837) Reed
[f4160e9] [C-939] Refactor discord modal (#1838) Dylan Jeffers
[b76854f] Update deactivate copy (#1840) Raymond Jacobson
[2085ffc] [Stems] Don't rewrite to /index.html on stems.audius.co (#1836) Marcus Pasell
[14aa5ac] [C-836] Fix enter on search (#1835) Dylan Jeffers
[d644cc1] [C-703] Fix segmented control font color (#1833) Dylan Jeffers
[d2c0dca] [C-934] Migrate user-list sagas to common (#1829) Dylan Jeffers
[1321a57] [C-919] Migrate profile sagas to common (#1826) Sebastian Klingler
[aad5c6a] [PAY-594] Edit 'not enough SOL' error message (#1827) Reed
[af61aab] [C-930] Move social sagas to common (#1822) Raymond Jacobson
[33a1403] [C-928] Migrate saved sagas to common (#1821) Dylan Jeffers
[64d45f3] [PAY-544] Add Transaction Details Modal (#1806) Marcus Pasell
[20cfc9f] Add Transaction Details to Store (#1804) Marcus Pasell
[5b8a4f0] [C-926] Migrate explore sagas to common (#1818) Dylan Jeffers
[6047185] Follow up fix for track removal from playlist with entity manager (#1817) Isaac Solo
[1b2638c] Fix track removal from playlist with entity manager (#1815) Isaac Solo
[c854f66] [C-918] Move trending saga to common (#1814) Dylan Jeffers
[6f24724] Fix lineup types in mobile build (#1812) Dylan Jeffers
[27cf13a] Update @audius/sdk to 1.0.0 (#1813) Reed
[c10ef33] Only enable external sourcemaps for prod builds (#1811) Sebastian Klingler
[67e9c2d] [PAY-479] Check recipient wallet SOL before send (#1779) Reed
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.

3 participants